Other Parts Discussed in Thread: CONTROLSUITE
Here's my required info:
Host OS: Windows 7 Home Premium, Service Pack 1
CCS Version: 5.2.1.00018
DRV8312EVM 6517813 Rev D
CC2803x ISO DIMM REV 1.3
Texas Instruments XDS100V1 USB Emulator
InstaSPIN (not GUI) from controlSUITE
I'm having some issues with getting my controller to run from flash. I've modified the project as follows and have verified correct operation in debug mode:
-running in Build Level 8
-stop/start hardware buttons function correctly (GPIO 7 and 9, respectively)
In debug mode, I simply run the program and start/stop using the push buttons. Now I want to run this from flash as a stand-alone. I read the application report SPRA958K (Running an Application from Internal Flash Memory on theTMS320F28xxx DSP), which provided information regarding the modification of the linker command file and existing code. However, I'm still having trouble with a few things. Here's what I've done
1) I copied the linker (F28035_FLASH_BLDC_Int_GUI_DRV83xx.CMD) from the GUI project (GUI_project_InstaSPIN_BLDC) because it has all of the flash and RAM already done. I commented out the two GUI variables since they will not be used and removed the existing linker (F28035_RAM_BLDC_Int.CMD) from the project.
2) I've added FLASH to the predefined symbol list, as it is defined by the compiler. This opens up the flash-related code in the project, which is identical to that in the GUI project as far as I can tell.
My project compiles without errors and appears to erase/program the flash, according to the pop up during the build. It still works when running from the debugger, but it does not work as a stand-alone after cycling the power with the USB cable disconnected. I've noticed a few things related to the build configuration that I'd like clarified.
It appears that the build options for the InstaSPIN GUI project differ from those of the normal InstaSPIN project. Some of the options, such as those on the Diagnostics window on the C2000 Linker section of the project properties (images below), seem to be different for some reason. I tried to make a whole new build configuration, but I haven't had luck with reproducing the options that appear for the GUI project. I have included snapshots of a couple of the screens I'm referencing.

