flash_programming_cpu01 builds and loads without difficulty. When I try to debug flash_programming_cpu02 the output in the console is:
C28xx_CPU2: GEL Output: Memory Map Initialization Complete C28xx_CPU2: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed. C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1' C28xx_CPU2: Error setting the GSxMSEL register for Flash operations C28xx_CPU2: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg C28xx_CPU2: Error writing the PLL values (Flash algorithm timed out). Operation cancelled. C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1' C28xx_CPU2: File Loader: Memory write failed: Unknown error C28xx_CPU2: GEL: File: C:\Users\hank.barta\Documents\00-scratch\flash_programming_cpu02\CPU2_FLASH\flash_programming_cpu02.out: Load failed. C28xx_CPU2: Error occurred during flash operation: No core matches the pattern 'CPU1' C28xx_CPU2: Error setting the GSxMSEL register for Flash operations
I've checked all of the things I normally change if I migrate a project from CPU1 to CPU2:
Move from CPU1 to CPU2 Project Options - General - rename Configurations to reflect CPU2 (Not required but will reduce confusion) - compiler advanced options Predefined Symbols CPU1 -> CPU2 - Linker file search paths - change <...>cpu1.cmd to <...>cpu2.cmd - delete CPU1_RAM directory - Debug - Change Device to XDS100 C28xx_CPU2 - Debug -> Flash Settings - change Core Selection to CPU2
The second to last setting seems not to stick. If I reopen the properties I find it set to CPU1. (Note: I did not migrate the project. I just imported from Control Suite v190.)
I can't figure out why this is not working. If there is something in my checklist I have overlooked, please let me know.
I'm using CCS 6.2.0.00050
thanks,
hank