Other Parts Discussed in Thread: MMWAVE-SDK
The first step in trying to bring up our brand new boards from the factory was to build our code for the MSS and attempt to load and single step. CCS gave an error -1065 because it could not load the image starting at 0x00000000.
I am pretty sure I figured out why our code that is linked at 0x00000000 works on a Launchpad but not on our fresh from the factory boards. The Launchpads are loaded with code in serial flash at the factory, so they run through the bootloader and have a RAM image right after power is applied. The bootloader switches the part into ROM Eclipse mode once the factory code is loaded. From my recollection of other ARM work, the Eclipse/Shadow feature is sticky across software and hardware resets, but not across power cycles. This means that the Launchpad has actual RAM at 0x00000000 almost immediately. Since our boards have never been loaded with a proper image, the bootloader sits in boot load mode and the ROM is still active at 0x00000000. The workaround is to copy the linker command file from the SDK into the project and set the ORIGIN for the vector table and .text sections to 0x00200000 until the Flash program store has a proper image loaded.
The Eclipse mode is only documented in the Technical Reference Manual.
I would recommend an application note covering “bringing up your first mmWave Sensor Board” that covers things like the stackups and other hardware issues as well as this “surprise” for connecting to the MSS with JTAG debug software. I think y’all may have a start on such an app note.
Many thanks to Rafael for getting me to this point!!