Error - Bad absolute address in OSA

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
jkjoy
Posts: 29
Joined: 23 May 2012 05:19

Error - Bad absolute address in OSA

#1 Post by jkjoy » 23 May 2012 13:15

Hi,

while compiling a simple OSA RTOS code for two tasks, I get error message "Bad absolute address '_OS_Tasks' .
I have included osa.c and configured OSAcfg.h.
Please help.

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: Error - Bad absolute address in OSA

#2 Post by dejan.odabasic » 24 May 2012 13:36

Hello,

could you please attach the minimal project that demonstrates this error ?

Best regards.

jkjoy
Posts: 29
Joined: 23 May 2012 05:19

Re: Error - Bad absolute address in OSA

#3 Post by jkjoy » 01 Jun 2012 13:06

dejan.odabasic wrote:Hello,

could you please attach the minimal project that demonstrates this error ?

Best regards.

Sorry for the delay for reply.
I just deleted the "#define OS_ADDRESS_TASKS 0x000 // Address of Task Descriptors array" line and solved the error.

I dont know whether it will make other problems but my program is working properly for two tasks with a binary semaphore.

Post Reply

Return to “mikroC PRO for PIC General”