I designed a custom PCB including a CC3200R1M2. The MCU part is a copy of the CC3200 LAUNCHXL reference design.
Now I'm trying to use the launchpad JTAG emulator and UART converter to flash and debug the custom PCB.
Uploading firmwares with Uniflash semms to work fine, but I'm not able to debug the board through JTAG properly.
I'm using the wlan_station example and CCS 6.0.1.0040
I formatted the serial flash and uploaded the service pack 1.0.0.1
is there anything else I have to do with the CC3200R1M2 to make it work like the CC3200 on the launchpad?
If I try to debug the example CCS seems to get connection to the MCU but it never reaches the main() function. Console output is:
Cortex_M4_0: GEL Output:
Memory Map Initialization Complete
Cortex_M4_0: GEL Output:
Target Reset
If I suspend the debugging it hangs always at the same point in dissasembly (0x0000978e):
0000976e: 00020000 ANDEQ R0, R2, R0 00009772: 00000000 ANDEQ R0, R0, R0 00009776: 00000000 ANDEQ R0, R0, R0 0000977a: 703C0000 EORVCS R0, R12, R0 0000977e: 0006400F ANDEQ R4, R6, PC 00009782: 000C0000 ANDEQ R0, R12, R0 00009786: 00000000 ANDEQ R0, R0, R0 0000978a: E7FE0000 LDRB R0, [R14, R0]! -->0000978e: E7FEE7FE UDF #61054 00009792: E7FEE7FE UDF #61054 00009796: 2000E7FE STRCSD R14, [R0], -R14 0000979a: F44F4770 VST1.16 {D20}, [PC@256], R0 0000979e: 60416180 SUBVS R6, R1, R0, LSL #3 000097a2: 20008001 ANDCS R8, R0, R1 000097a6: B5804770 STRLT R4, [R0, #1904] 000097aa: F100460B CPS 000097ae: 46187180 LDRMI R7, [R8], -R0, LSL #29
I'm kind of stuck at this point and would appreciate any help on this.
Thanks