Other Parts Discussed in Thread: IWR6843ISK
Tool/software:
I've been debugging an IWR6843ISK with the MMWAVEICBOOST. I'm running into inconsistencies while debugging. First I'll describe my set-up and then I'll describe the issue.
Set-up
IWR6843ISK mounted on the MMWAVEICBOOST board
IWR6843ISK has been flashed with CCS debug firmware (from mmwave_sdk_03_06_02_00-LTS/packages/ti/utils/ccsdebug)
IWR6843ISK switches S1.1-S1.6 = [0, 0, 0, 0, 1, 0]
MMWAVEICBOOST switches S1.1-S1.12 = [1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1]
MMWAVEICBOOST J1 is used as CANbus, which goes to a desktop CAN analyzer
MMWAVEICBOOST jumpers SOP0 - SOP2 = [1, 0, 1]
MMWAVEICBOOST's 5V power jack is powered by a variable power supply set to 5.00V (max current 0.8 A)
MMWAVEICBOOST J11 and J12 (XDS110 and FTDI) micro USBs are both connected to PC
The issue
Occasionally, I won't be able to connect to the target configuration. Other times I won't be able to load code onto the cores. Since I use a power supply to power the MMWAVEICBOOST, I can read the power usage of the board. In normal operation, the board will draw ~2W. However, sometimes when I power on the board, it will only draw 0.7W. Whenever the board powers on and only draws 0.7W, I am unable to connect to my target debug configuration. I power the board through the 5V barrel jack before connecting any USB cables.
If the board powers on normally and is drawing ~2W, I am reaching an issue when loading code onto the cores. When connecting to the C674X_0, I get this error in the Console:
CS_DAP_0: GEL Output: --->> DSS is under application controlled reset. Prior to connecting this reset must be released.
CS_DAP_0: GEL Output: --->> The debugger will enable "Halt On Reset" and release the application-extended reset
CS_DAP_0: GEL Output: --->> "Halt On Reset" has been enabled on the C674X_0CS_DAP_0: GEL Output: --->> DSS application extended reset released
Additionally, there is this error when I attempt to load a program onto the Cortex_R4_0:
Cortex_R4_0: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x3c: (Error -1065 @ 0x3C) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.0.0.3178)
Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x00000000
Cortex_R4_0: GEL: File: D:\Dode\hylio_radar\hylio_isk_radar_mss\Debug\hylio_isk_radar_mss.xer4f: Load failed.
I've tried re-flashing the IWR6843ISK with CCS debug firmware and it did not resolve the issue. Any suggestions to fix these issues and avoid them in the future would be appreciated.