I’ve been beating my head against a wall for hours over something which should be simple (or so I read). I’m trying to get FreeRTOS 5.0.2 running on my Olimex SAM7-P256 board using CrossWorks and an Olimex USB JTAG interface. I’m working with the lwIP_Demo_Rowley_ARM7 demo project because this appears to be the closest match for my system. I’ve ripped out the IwIP stuff and Ethernet stuff from the project because my AT91SAM7S lacks the Ethernet port that the AT91SAM7X has. The code compiles and links without error. My understanding is that these two chips are essentially identical (from FreeRTOS’s point of view) except for the Ethernet port, so I should be able to use this project for my board. Yes, I may have to change some pin assignments if I want the buttons and LEDs to work, but for starters I’m just trying to get the code to run at all.
The failure occurs after the compiled code is downloaded to the board. I am told that the verification of the downloaded code fails.
Now, the obvious conclusion is that there’s something wrong with my JTAG or my board, but I have no trouble building and running other code with the same system. For instance I can build and run the CrossWorks examples without any fuss. I have also successfully built, dowloaded and executed the ARM7_LPC2138_Rowley demo using the same installation of CrossWorks, the same JTAG interface, and an Olimex LPC-P2106 board, after changing the target processor type appropriately.
So, my questions are:
1) is anyone else using FreeRTOS on this board with the CrossWorks dev tools?
2) might anyone have any ideas why I can’t get this particular project to run?
Thanks in advance for any help anyone can offer. It’s probably worth mentioning that I’m quite experienced with software development in general, fairly experienced with writing code for the ATmega128, and quite new to the ARM world.