Other Parts Discussed in Thread: IWR6843
Tool/software: Code Composer Studio
For our company's application, I've been attempting to modify the existing automated doors lab included in the industrial toolbox. However, I've been running into several issues during debugging as well as attempting to remove unnecessary components of the lab to better suit our application. Ideally, I'd like to start a new CCS project from scratch and copy over the components I need to get a working setup.
For reference, I am using an XDS110 directly attached to the JTAG lines exposed on the 60 pin connector of an IWR6843AOPEVM using a custom adapter pcb until our final PCB is ready.
During debugging I've run into two issues in particular that dramatically slow me down. The first is that every time I want to rebuild and reprogram the device, I have to start up a new debugging session, connect the CortexR4 and C674x in sequence, load each program binary into each in sequence, and then restart both cores in sequence. If the debugging session is already running, I can let CCS reload the new binary, but then I have to pause the updated core, CPU Reset, and then hope that I don't hit an unrecoverable error that requires me to reset the entire EVM board and start over. On occasion, this also means that CCS can no longer talk with the XDS110 correctly, and I have to restart CCS.
I have been able to create a new project successfully through the New CCS Project option. However, there are a couple issues. First is that hitting debug will only connect to and load the binary into single core (depending on which project was active when I hit debug) Second is that this new project doesn't come with the dependencies that link the two projects, or the code/shell commands to generate the combined bin package usable by the IWR6843's bootloader.
All in all, I'm rather confused and frustrated with just how all over the place project management feels with mmWave projects.
This is what I would like to have: I'd like a simple bare minimum setup with two projects, mss and dss, which are linked together such that when I hit Run/Debug on either one, both binaries are loaded into both cores and started at the same time without running into unrecoverable crashes, and the combined bin is generated in the background. This way I can start copying over the components I need from automated doors. Any guidance or assistance is greatly appreciated.