This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200-LAUNCHXL: Upload a Binary into RAM and Execute Program

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: SEGGER, CC3200, UNIFLASH

Hello,

I have a CC3200-Launchxl that I've been playing with.  I would like to be able to develop outside of CCS (just using GCC on the command line), and subsequently upload the compiled binaries to the chip without using CCS or IAR.

I also have a SEGGER J-Link EDU Mini that I would like to use to flash programs to RAM and execute them on the fly, while keeping my UART port open for things like debugging through a serial connection, etc.

I know that the CC3200 doesn't have any onboard flash, so I can't program the serial flash memory from J-Flash (or at least not through J-Flash Lite).

Is there a way/program, command line or UI that I can use to flash my generated .bin file onto the CC3200 chip and begin executing the program?  This feature should be available via CCS, but I would rather not do development outside of CCS, while still using it as a "run" button.

Thanks in advance.

  • Hi,

    I am not expert in this field, but as the start-point you should check www.ti.com/.../swru369 at chapter 5.3.3.

    Jan
  • I did stumble upon that document, and gave it a very quick look-over, but from what I can see, it only talks about debugging through the FTDI chip via OpenOCD if you choose to do the Cygwin + GCC route (which is indeed what I'm doing); whereas I'd like to program the chip directly with the SEGGER J-link Edu Mini by connecting straight to pins J8-J11 and cutting the FTDI chip out of the loop.

    It's entirely possible I missed something though. I'll read through the Programmers Guide again more thoroughly, but hopefully this reply will help explain what I'm trying to do.

    Thanks Jan.
  • Hi,

    I am not aware about any additional document covering this topic. You may to wait for answer from TI, but your question is not much related to TI devices. It is about using J-Link GDB Server. It looks that OpenOCD can be used with SEGGER J-link as well.

    Questions related to debug probes and development tool is better to ask at CCS forum.

    Jan

  • Justyn,

    Jan is correct. I would also like to clarify that debugging the device is over JTAG. I assume when you say "program" you are looking to keep image on reset. To do this you need to flash the external flash with the image, and to do that you need to use the UART interface.

    BR,
    Vince
  • Vince,

    You are right; I intermingled the nomenclature a little bit. By program, I do not mean write to flash because I know that is impossible to do outside of using the FTDI chip and Uniflash. I'm interested in running my program over the JTAG interface directly, cutting the FTDI chip out of the loop, as I mentioned.

    The LaunchXL board simply provides the JTAG pins (pins J8 - J11), however, I think Jan answered my question: I need to look into the J-Link GDB Server as this might be outside of the scope of the CC3200-Launchxl forums.