Tool/software: Code Composer Studio
Win7 SP1 (32bit). CCS 6.1.3. F28022.
I am debugging 1 or 2 routines, and I find recompiling, erasing and reloading the FLASH to be both slow and a waste of FLASH write cycles.
While the FLASH is rated for some thousands of cycles, I assume if I compile and reload enough times, I will eventually reach that limit.
I have my CMD file setup so I can put most routines in FLASH, and a few I am debugging in RAM. OK.
I also set a switch to make the CMD enact the FLASH sections as "NOLOAD" This does prevent the erase/program cycle.
However, that by itself does not work as some of the routines in FLASH will call the routines in RAM and these may be in different locations each debug cycle.
Is there a way, without creating a section for each and every function, I can easily force the compiler (loader actually) to place all the functions in the SAME location until I am finished debugging the RAM functions?
I understand I may have to allocate some "flexible" blank space between the RAN functions so their entry points remain consistent.
I am thinking a separate program that uses the map file from run to make CMD include files or something along those lines.
I am considering writing a couple of external programs, one that uses a map file to make CMD parts, another that compares an old map file to one the compiler will create after each compile to warn me if any functions change locations.
Thanks, Mark.