Other Parts Discussed in Thread: , SEGGER, UNIFLASH,
Hello,
I'm interested in flashing my CC3200 via the JTAG connection for rapid development/debugging, while also staying out of CCS.
I'm specifically using JLink to flash the board. So far what I've discovered in order to flash the .bin onto the CC3200 chip is to
1) Connect to the chip
2) Load the binary into SRAM at address 0x20004000 (as outlined in my linker file).
3) Set the program counter to jump to ResetISR (which is the entry function, as defined in my Makefile)
4) "go" and my program should start running.
So far most of it is working, but I can see that my program hangs on sl_Start when I attempt to flash the chip using the above steps. Upon reviewing other posts on the forums, it seems like there's some additional features that need to be compiled in to allow the NWP to gracefully reset when loading from the CCS debugger without power cycling the whole Launchpad board (Chapter 15 in CC3200-SDK_Release_Note.pdf). So I rebuilt the Simplelink library as NONOS_DEBUG, which should compile those options into the library, and am linking against /CC3200SDK_1.4.0/cc3200-sdk/simplelink/gcc/exe/libsimplelink_nonos_debug.a. However, it's still hanging on sl_Start.
My SPECULATION is that I'm not performing the right reset, or any reset at all from inside Segger's JLink program. They list multiple reset strategies in their guide here:
in section 10.7.2.
Could someone give me some insight into how CCS is able to flash the chip without hanging on sl_Start? Is there a better reset option that I need to select? Or am I doing something wrong, or skipping a step?
