Other Parts Discussed in Thread: UNIFLASH
Tool/software:
I have been working with the 28379D Launchpad. I have a test application that works with the board stand-alone.
We have a custom daughtercard that supplies power to the Launchpad.
When I remove jumpers JP1, JP2, JP3 and JP6, and connect the same 28379D Launchpad to the daughterboard:
- If I run the "Test Connection" with the CCS project .ccxml file it passes
- If I try to debug the device with the *same project* that I was able to use for debug stand-alone, I get error messages in the consoleC28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28379D), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.
C28xx_CPU1: File Loader: Verification failed: Values at address 0x000123@Program do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\<PROJECT PATH>\<PROJECT NAME>.out: a data verification error occurred, file load failed. - If I try to use Uniflash just to do a blank check, I get similar messages, and more:
-
volume_downVerboseClearClose[7/16/2024, 12:53:37 PM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete[7/16/2024, 12:53:38 PM] [INFO] C28xx_CPU1: Flash Programmer: Warning: The configured device (TMS320F28379D), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.[7/16/2024, 12:53:38 PM] [INFO] C28xx_CPU2: GEL Output: Memory Map Initialization Complete[7/16/2024, 12:53:38 PM] [INFO] C28xx_CPU2: Flash Programmer: Warning: The configured device (TMS320F28379D), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.[7/16/2024, 12:53:38 PM] [INFO] C28xx_CPU1: Executing Blank Check...[7/16/2024, 12:53:39 PM] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.[7/16/2024, 12:53:39 PM] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 2) after reset.[7/16/2024, 12:53:40 PM] [ERROR] C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0xc0eb: (Error -1066 @ 0xC0EB) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:40 PM] [WARNING] C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint[7/16/2024, 12:53:43 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:44 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:49 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:49 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:54 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:54 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:59 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:53:59 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:00 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg[7/16/2024, 12:54:00 PM] [ERROR] C28xx_CPU1: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.[7/16/2024, 12:54:00 PM] [ERROR] C28xx_CPU1: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash. If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.[7/16/2024, 12:54:00 PM] [ERROR] C28xx_CPU1: Flash Programmer: Error initializing device.[7/16/2024, 12:54:04 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:04 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:09 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:09 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:14 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:14 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:22 PM] [INFO] C28xx_CPU1: GEL Output: Memory Map Initialization Complete[7/16/2024, 12:54:23 PM] [INFO] C28xx_CPU2: GEL Output: Memory Map Initialization Complete[7/16/2024, 12:54:23 PM] [INFO] C28xx_CPU1: Erasing Flash memory...[7/16/2024, 12:54:24 PM] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.[7/16/2024, 12:54:24 PM] [INFO] C28xx_CPU1: Warning: Failed unlocking device (zone 2) after reset.[7/16/2024, 12:54:25 PM] [ERROR] C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0xc0eb: (Error -1066 @ 0xC0EB) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:25 PM] [WARNING] C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint[7/16/2024, 12:54:28 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:28 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:33 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:33 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:38 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:38 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:43 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:44 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:45 PM] [ERROR] C28xx_CPU1: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg[7/16/2024, 12:54:45 PM] [ERROR] C28xx_CPU1: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.[7/16/2024, 12:54:45 PM] [ERROR] C28xx_CPU1: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash. If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.[7/16/2024, 12:54:45 PM] [ERROR] C28xx_CPU1: Breakpoint Manager: Unable to remove requested AET job[7/16/2024, 12:54:45 PM] [ERROR] C28xx_CPU1: Flash Programmer: Error initializing device. Please check if the device is locked.[7/16/2024, 12:54:49 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:49 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:54 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:54 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:59 PM] [ERROR] C28xx_CPU2: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)[7/16/2024, 12:54:59 PM] [ERROR] C28xx_CPU2: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.8.0.00235)
3.3V and 5V supplies are good on the header of the Launchpad when connected to the daughterboard.
Probing TP1, I see #RESET periodically being asserted:
Any suggestions on debug steps?