i just purchased the TMS570 USB stick which comes with CCSv4.2.4 I'm able to run the demo projects from the Hercules Demo Suite launcher, like the "Safety Features" and "Ambient Light" demos, which appear to burn the demo program in flash and run it out of flash. When i try to create a simple hello world project in CCS v4 however, i can't successfully run/debug the project. What is the right settings when creating a target configuration for the tms570 USB stick?
i tried starting CCS from the Hercules Safety MCU Demos launcher, which is supposed to import the demo projects into CCS but it does not appear to do that, as there are no projects visiable in the C/C++ project perspective.
If i create a new project after starting CCS via start->All Programs->TI->CCS, then add a simple hello world main() , build the project just fine and create a new target configuration,,, selecting TI XDS100v2 USB Emulator and TMS570LS137 as the "board or device". Then i launch the TI debugger which uses the tms570_tgt.ccxml target config i just created. In the debug perspective i can connect to the target and see the following message in the console window
"CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0"
next i try to do a target download by selecting the .out file from my project (Target->Load Program) and the Loading dialog window pops up and says operation in progress... which if i expand the Details... shows that it is erasing flash and loading, but it never seems to complete successfully. Well i should say it appears to finish and automatically starts running but i never see teh "hello world" message displayed int he Console i/o window and if i halt the processor, it seems to be stuck at address 0x00000004 which has no program data there (all FFFFF's) perhaps the reset vector is missing?
Is there a way to download the image and run it out of RAM on the dev board? how does the necessary startup code also getting downloaded and burned into flash? i've done this with other TI dev boards and i presumed that the necessary startup code was generated as a result of using the project creation wizard and specifying the target processor suring that process.
thanks for any guidance you can provide