Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
johnny-w5
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hello everyone,

    We tried to add another partition for A/B application usage,    

The base bootloader used the command   __asm("ja (0xA0080000)");   jump to application partition.

when I tried to added the command like  __asm("ja (0xA0800000)");  jump to another one application,

the compiler build fail and show below up information.

Building file: Core/Appl/Appl.src
TASKING VX-toolset for AURIX Development Studio (non-commercial): assembler v1.1r7 Build 21033142
Invoking: TASKING Assembler
astc E287: ["Core/Appl/Appl.src" 703] incompatible expression for instruction
astc -o "Core/Appl/Appl.o" "Core/Appl/Appl.src" --list-format=L1 --optimize=gs

 

Do I need to modify other file like .lsl?

Thank you very much in advance.

0 Likes
2 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Is it possible for you to verify if the base bootloader is functioning correctly by ensuring that the command "__asm("ja (0xA0080000)");" is successfully executing the jump to the application partition?

0 Likes
johnny-w5
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Yes, I could use the base bootloader to execute application at partition address (0xA008000).

And if the address is over 0xA008000, the compiler show the same error.

incompatible expression for instruction

0 Likes