This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Boot and RTX problem

Hi everyone,

I've built a simple boot that load the main application located at 0x10010.
Everything works fine if the application do not use RTX, but when I use RTX in the main application the code jumps poperly at 0x10010 but can't execute the first instruction of RTX (starting a task for example).
I used RAM_INTVEC REMAP RAM_MODE keyword in the .s file, changed the ram address from 0x40000000 to 0x40000040 (and also in 0x40000100) and disable interrupt before calling the main application, but the code can't run properly.
I've also read the other post regarding this issue but nothing solved my problem.

It is correct that any RTX function can be called only in Supervisor Mode? How can I call my main application from boot in Supervisor Mode?
Is there any other aspect that I have to analyze to solve this problem?

Thanks in advance.

Marcello

0