This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I debug a boot code project and an application code project simultaneously?

I've partitioned the boot-loader and application code into two separate projects.  The boot-loader makes use of flash sector A to store the boot-loader and the application uses the remaining flash.

I would like to start a debug session in the booloader project. Once my boot code jumps to the application, I would like to continue the debug session straight into the application. Is this possible?

  • Richard,

    Use Run->Load->Load_Symbols to load the symbols from a .out file into CCS. This will load all the debug information from the .out file, but not actually flash the code into the flash. So, suppose your device is all flashed and you come in to work in the morning. Connect CCS, reset the device, and load the symbols for your bootloader. Run to the transfer point, then load the symbols for your main app. Continue debugging...

    You cannot load the symbols for both projects at the same time since they have some symbols that are the same (e.g., _main). CCS will get confused.

    Regards,
    David