FreeRTOS on winidea isystem

pinnor wrote on Thursday, June 07, 2007:

Hi to all, i’m using an LPC arm7 (lpc2138) to design a new project and I would like to port FreeRTOS inside my software. This is the first time for me to use an arm7 platform. I’m using the winidea IDE to develop and debug the software (it seems to be similar to Rowley) and I just port and compile the FreeRTOS software, but I have a problem during the debug  when the FreeRTOS call the #define portRESTORE_CONTEXT.
Is the someone that have just make the porting of FreeRTOS on the i system toolsouite?
Can you help me?
Thank you…

rtel wrote on Thursday, June 07, 2007:

Do you set the processor into Supervisor mode before calling main()?

Regards.

pinnor wrote on Thursday, June 07, 2007:

Not yet. What are the registers that i have to set to get the cpu in the supervisor mode?
Regards.

davedoors wrote on Thursday, June 07, 2007:

Just look at one of the numerous startup files that are included in the download as examples.

Dave.