Other Parts Discussed in Thread: UNIFLASH, TMS320F28377S
Hello,
I was given a git repo of source code and a custom piece of hardware with a TMS320F28377S that uses this source code. Some time ago (maybe 2 years) this device was programmed and then deployed out in the field. Since then, a new feature has been added to the source code, which now needs to be implemented in these devices. I am able to successfully build the output target. I am able to load the new image into the flash of the device with the debugger, and I can see the code run properly while plugged into the debugger. When I power cycle the device, I am told it should just boot on it's own without CCS; this does not happen. I cannot get the device to run standalone. I have verified that the image is in the device after a power cycle (using uniflash).
There is a DIP switch on the device for toggling the boot mode pins that I have tried working with (I do not think this is the issue). Presumably, this has worked in the past with the project that I have. That said, I have been going down every path I can find. I know there is a difference between RAM and FLASH. The cmd file for this project is a custom version of one of the default flash files available for this chip (2837xS_FLASH_lnk_cpu1.cmd).
For sanity sake, I took the blinky_cpu01 example in CCS, and was able to load that into my device and have it run in standalone (so I know it is possible; I had it blink a GPIO I had access to, and measured it as proof). I tried stripping out almost everything from my own project and inserted the blinky gpio bit to see if I could get that to stick. It ran with the debugger, but not standalone.
The developer is no longer available, and I am working with what he left me. It seems like something is set wrong within the settings/properties of the project. I have the .project and .cproject files from the original project, but at this point I am not sure if something else is a miss. This should have all just worked out of the box, in an ideal world.