Part Number: MSP432P401R
Other Parts Discussed in Thread: MSP-FET
I have a CCS workspace that now has two (main) projects in it: a bootloader and an application project. Before splitting out a bootloader project, it was reasonably fast to debug the application project. That is, the time it took to build the code, prepare the debug probe, flash the code, and restart the CPU to wait at the `main()` breakpoint was maybe 10 seconds or less. But after I set up the application project so that it doesn't override the bootloader, it takes several minutes to prepare and flash its code.
This is with an MSP-FET probe. Specifically:
1. The bootloader project (linked from 0x00000 to 0x08000 of the Flash) still can be loaded/debugged quickly regardless of setting
2. The application project (linked from 0x08000 to 0x40000 of the Flash) takes several minutes, hanging Code Composer Studio at several points, when "Replace written memory locations, retain unwritten memory locations" is selected in the project's "Debug > MSP430 [sic] Flash Settings" menu.
3. The application project still only takes only a few seconds to load if I choose "Erase main memory only" instead, BUT that erases the bootloader range and prevents the app from running of course
What could cause this problem? Related, I would like to test with the option labelled "By Address Range (specify below)" which sounds promising BUT there is no "below" where I could "specify" the range (and choosing the option without being able to provide the range seems to erase the bootloader by default).