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: Target reset via USB ?

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

What would be the best way to reset the target processor on a CC3200 Launchpad without reprogramming the flash ?

I've installed the latest Uniflash (8.5.0) and it seems like there is some functionality for doing a reset but need a .ccxml file, I've been unable to locate an example.

Any pointers appreciated, thanks.

  • Hi,

    CC3200 devices are not supported by Uniflash 8.5.0. For CC3200 devices you need to use version 3.4.x.

    I think there is no direct way how to reset CC3200 via Uniflash command. But some Uniflash commands restart CC3200 automatically. If reset is needed, you can restart CC3200 directly using FT2232 command. For more details see datasheet for FT2232 and schematic for CC3200 LP. Some information may to find at Energia project and tool cc3200prog.

    Jan

  • Thanks, didn't see that restriction in the documentation. I'll give it a try (needs 32bit libs though).

    Also found https://eblot.github.io/pyftdi/api/gpio.html which looks like it will allow direct manipulation of the GPIO5 on the LP.

    # test script for toggling FTDI GPIO5 (reset on Launchpad)
    
    from pyftdi.ftdi import Ftdi
    
    Ftdi.add_custom_vendor(0x0451,'TI')
    Ftdi.add_custom_product(0x0451,0xc32a,'Launchpad')
    
    #Ftdi.show_devices()
    
    from pyftdi.gpio import GpioAsyncController
    from time import sleep
    
    gpio = GpioAsyncController()
    gpio.configure('ftdi://TI:Launchpad:cc3101/1',direction=0x20)
    
    gpio.write(0x00)
    sleep(0.01)
    gpio.write(0x20)
    
    Code below seems to do the job (having trouble inserting code block ?)

    8<------------------

    # test script for toggling FTDI GPIO5 (reset on Launchpad)

    from pyftdi.ftdi import Ftdi

    Ftdi.add_custom_vendor(0x0451,'TI')
    Ftdi.add_custom_product(0x0451,0xc32a,'Launchpad')

    #Ftdi.show_devices()

    from pyftdi.gpio import GpioAsyncController
    from time import sleep

    gpio = GpioAsyncController()
    gpio.configure('ftdi://TI:Launchpad:cc3101/1',direction=0x20)

    gpio.write(0x00)
    sleep(0.01)
    gpio.write(0x20)

  • Sorry about the messy formatting, the initial code block didn't appear to insert and now it seems I can't edit it ...

    # test script for toggling FTDI GPIO5 (reset on Launchpad)
    
    from pyftdi.ftdi import Ftdi
    
    Ftdi.add_custom_vendor(0x0451,'TI')
    Ftdi.add_custom_product(0x0451,0xc32a,'Launchpad')
    
    #Ftdi.show_devices()
    
    from pyftdi.gpio import GpioAsyncController
    from time import sleep
    
    gpio = GpioAsyncController()
    gpio.configure('ftdi://TI:Launchpad:cc3101/1',direction=0x20)
    
    gpio.write(0x00)
    sleep(0.01)
    gpio.write(0x20)