Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

CC3235SF: Uniflash error while programming flash image

Part Number: CC3235SF
Other Parts Discussed in Thread: UNIFLASH, TMDSEMU110-U, CC3235S

Hi,

We have designed custom board using CC3235SFMOD. On this board, we have provided connectors for connecting XDS110 debug and Aux ports. Power supply to CC3235SF is also taken from XDS110 for programming purpose. Our hardware connection scheme as below.

We are using UNIFLASH on PC to program. Before starting connection from UNIFLASH, we start target power supply using command "dbgjtag -f @xds110 -Y power,supply=on,voltage=3.3". We could also measure 3.3V at target. From UNIFLASH when we click on "Connect" button, we could successfully connect to target and "Connect" button turned to "Disconnect". However, while programming by pressing "Program and Create Image" button, we get following error:

Please suggest debugging steps.

Thanks,

Pradeep

  • Hi Pradeep,

    I think you have issue with reset of CC3235MOD during programming. RST pin of XDS110 is not controlled by Uniflash. It control pin PA6 at TM4C inside XDS110. I think this pin is connected to GPIOOUT0 or GPIOOUT1 at AUX connector.

    Jan

  • Hi Jan,

    We tried connecting both GPIOOUT0 and GPIOOUT1 to RST pin of CC3235SF. However it gives same programming error in both the cases.

    Please suggest.

    Thanks,

    Pradeep

  • Hi Pradeep,

    I have done some test with LaunchPad and XDS110 debug probe (TMDSEMU110-U) na I have similar results. Pins GPIOOUT0 and GPIOOUT1 are at low state and not controlled by Uniflash when restart is needed.

    I think easiest way will be use XDS110 from CC3220/CC3235 LaunchPad and connect your nRST pin to RST of XDS110. At this configuration is reset signal (PA6) controlled properly from Uniflash. Another way will be use Uniflash CLI and use power_on_com.py script for control reset pin via dbgjtag. But I never tested this configuration.

    btw ... do you have connected TGTVDD(SENSE) signal?

    Jan

  • Hi,

    didn’t understood completely what you want to suggest for flashing CC3235SF module on custom board.
    Do you want to say that, we should be using CC3235 LaunchPad board for flashing?
    Can I get a document/information how I should be interfacing LaunchPad board with our custom board?
    Note that, we have designed our custom board for flashing CC3235SF module based on the information provided in the XDS110 Debug Probe User Guide (SPRUI94).
    Thanks
    Pradeep 
  • Hi Pradeep,

    Yes, I recommand to use XDS110 from LaunchPad for flashing your board from Uniflash software. Details about connection to XDS110 from LP you find here at chapter 5.4.

    Your issue is related to control reset pin of CC3235 chip during Unfilash programming. At LP is Uniflash able to reset CC3235 via PA6 pin. But it seems there is issue with using XDS110 Debug probe (TMDSEMU110-U) by same way. I think you have options:

    • use XDS110 from LP for programming of your board
    • use TMDSEMU110-U with Uniflash GUI or Uniflash CLI and manually restart your board
    • try to determine if is controlled any pin at TMDSEMU110-U when you execute file xds110reset.exe. If you will find such pin (configuration of TMDSEMU110-U connection) than you have right reset pin
    • use can use Uniflash CLI and create your own script into file power_on_com.py (e.g. using dbgjtag utility). For example content of power_on_com.py if you want to control reset pin at XDS110 from LaunchPad (via pin PA6):

    import subprocess
    print "power_on_com.py: xds110 restart"
    subprocess.call('xds110reset.exe', shell=True)

    Jan

  • Hi Jan,

    We connected our custom board to LAUNCHPAD_CC3235SF and tried to flash the image using Uniflash. We observed following error when we selected CC3235SF in Uniflash.

    If we select, LAUNCH_CC3235SF in Uniflash, then we get following error:

    Thanks.

    Pradeep

  • Hi Pradeep,

    Can you provide photo how do you have connected LaunchPad do you hardware (GND, RX, TX, RST)?

    First image is not correct (wrong usage of Uniflash). I am not sure what 2nd image means. Please follow this SimpleLink academy article.

    Jan

  • Hi Jan,

    We have followed following steps:

    1. Uniflash application started.
    2. Selected board as highlighted in below image.
    3. After selection, below window appeared.
    4. Clicked “3. Start Image Creator”. Below image appeared.
    5. Clicked “Manage Projects”. Below image appeared.
    6. Clicked for browsing project. Below image appeared.
    7. Clicked “Connect”. Below image appeared. Device type and MAC address are shown. When we connect another device, we see different MAC Address (b0:b1:13:5c:03:e5). This mean, device is getting connected to the Uniflash tool.

     

    1. Clicked “Burn”. Below image appeared.
    2. Clicked “Program Image(Create & Program”. Below image appeared.

     

    1. What is wrong device type? Should we click Program tab here?Thanks, Pradeep

     

     

     

     

     

     

     

     

     

     

     

  • Hi Pradeep,

    Can you provide photo how XDS110 from LaunchPad is connected to your board?

    Your Uniflash project 7000_WiFi is created for CC3235SF device but your XDS110 is connected to CC3235S device. There are two possible reasons:

    • at your board is CC3235SMOD not a CC3235SFMOD
    • you have CC3235S Launchpad and your own board is not properly connected to XDS110 from LP

    Jan

  • Hi Jan,

    Setup photo:

    We have tried selecting CC3235S as a part in Uniflash. However, error is same.

    Thanks,

    Pradeep

  • Hi Pradeep,

    Error "Wrong device type" is shown when device type at status window does not match with device selected when Uniflash project is created. Please make sure that these devices types match.

    You connection looks correct, but I can't say what device type is used due to low resolution of photos. But I see that you have LaunchPad with CC3235S module.

    Jan

  • Hi Jan,

    Yes...by using CC3235S as the device and creating new project in Uniflash, we could download the image successfully.

    Thanks for your support.

    Pradeep