Other Parts Discussed in Thread: MMWAVEICBOOST, , IWR6843, SYSBIOS
Tool/software: Code Composer Studio
Hi, I am trying to debug IWR6843ISK sensor board via MMWAVEICBOOST XDS 110 USB JTAG Probe.
Here is the device/environment.
Device: IWR6843ISK + MMWAVEICBOOST
OS: Ubuntu 16.04 x64
CCS version: 9.2.0
mmWave SDK: 3.3.0.3
mmWave Industrial toolkit: 4.0.1
bios: 6.73
target demo project: mmwave_industrial_toolbox_4_0_1/labs/people_counting/68xx_people_counting
Repro steps:
Rebuild both dss and mss projects in Debug configuration.
Launch iwr6843.ccxml target configuration & Test connection to the board
Connect dss (C674x) and Load program ~/ccs/iwr6843/68xx_pplcount_dss/Debug/68xx_pplcount_dss.xe674
Connect mss (Cortex) and Load program ~/ccs/iwr6843/68xx_pplcount_mss/Debug/68xx_pplcount_mss.xer4f
Error message:
[Cortex_R4_0] Exception occurred in ThreadType_Task.
Task handle: 0x801de38.
Task stack base: 0x801c508.
Task stack size: 0x800.
R0 = 0x00000000 R8 = 0xffffffff
R1 = 0x0801ccc4 R9 = 0xffffffff
R2 = 0x00000000 R10 = 0xffffffff
R3 = 0x05000010 R11 = 0xffffffff
R4 = 0x00000000 R12 = 0x17650300
R5 = 0x0001b2b8 SP(R13) = 0x0801ccd8
R6 = 0xffffffff LR(R14) = 0x00016779
R7 = 0xffffffff PC(R15) = 0x00012d50
PSR = 0x400c019f
DFSR = 0x00000000 IFSR = 0x00000000
DFAR = 0x00000000 IFAR = 0x00000000
ti.sysbios.family.arm.exc.Exception: line 209: E_undefinedInstruction: pc = 0x00012d50, lr = 0x00016779.
xdc.runtime.Error.raise: terminating execution
FYI, when the bin file, ~/ccs/iwr6843/68xx_pplcount_mss/Debug/pplcount_lab_xwr68xx.bin is flashed into the IWR6843ISK sensor board, then it can read/set the config and send back radar data correctly as expected.
So, there is no problem with building the demo program and working as expected via /dev/ttyACMx UARTs w/o using XDS110 probe.