Starting the scheduler on a STR75x IAR

valirossi wrote on Tuesday, August 26, 2008:

Hi, I have been searching around for help on the demo program STR75x IAR. I modified the existing demo to the board I have.
I placed the test version of the main function that toggles the LEDs and that worked. I put the main function back in and commented out everything but the vStartLEDFlashTasks() and vTaskStartScheduler(). The hardware init is there also. Everything compiles fine but no flashing LEDS. I have placed a piece of test code that turns on an LED in many places to see what was being scanned. It seems that the portTASK_FUNCTION( vLEDFlashTask, pvParameters) in Flash.c never gets called. Any ideas?

Thanks,

davedoors wrote on Thursday, August 28, 2008:

Are you calling main() from Supervisor mode? Can you use the debugger to see where the execution stops?

valirossi wrote on Thursday, August 28, 2008:

I used the debugger to step through but gets lost or something. not a very good description i know. I purchased a Luminary Cortex-M3 and it seems to work fine so far. Hopefully this will fix my problem.

I’m really just interested in learning to work with freertos so it doesn’t matter to me which board i am using right now. I did have a lot of problems with that STR750 board/Jtag.

Thanks for the reply anyway. hopefully I can start to play and have some fun now.  :slight_smile: