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.

CC3235MODS: LAUNCHCC3235MOD transceiver mode_target board image downloading issue

Part Number: CC3235MODS
Other Parts Discussed in Thread: CC3235S, SYSCONFIG, , , UNIFLASH, LAUNCHXL-CC3235S

Hi,

I'm using cc3235 LaunchPad and my application is working well due to great help from this forum.
I use only uart port for the communication with the external device (PC right now and host module later)

I used network_terminal_CC3235_LAUNCHXL_tirtos_CCS example codes. I use transceiver mode.

The common.syscfg shows CONFIG_UART_0 is set as XDS110 UART.
I'm trying to make an image for and download it to my target board, which uses GPIO1/GPIO2 as UART0 and GPIO3/GPIO4 as UART1.

These are the procedure I did:
- I mapped two uarts using common.syscfg.
- I got a production mode image using image.syscfg
- I removed five jumpers on the isolation block of LaunchPad and plugged the 10-pin cable into J2, and connected it to the target board.
(3V3, GND, RST, TMS, TCK, TDO, and TDI)
- I did Target Configuration Test Connection using CC3235S.ccxml and it failed. I checked the voltage of the target board.
It dropped to 2V from 3.3V, which was given by LaunchPad. So I removed the voltage from the LaunchPad and used external voltage.
Then the Test Connection result was successful.
- I clicked on Flash icon of CCS and these is the message I got:


Invoking command: C:\ti\simplelink_cc32xx_sdk_5_20_00_06\source\ti\drivers\net\imagecreator\bin\SLImageCreator.exe syscfg program --file C:\Users\82105\workspace_v20_u15_RTx_2021.11.18 - uart test - multi thread - release\network_terminal_CC3235S_LAUNCHXL_tirtos_ccs\MCU+Image\syscfg\network_terminal_CC3235S_LAUNCHXL_tirtos_ccs.sli --json C:\Users\82105\workspace_v20_u15_RTx_2021.11.18 - uart test - multi thread - release\network_terminal_CC3235S_LAUNCHXL_tirtos_ccs\MCU+Image\syscfg\ti_drivers_net_wifi_config.json

INFO:root:FTDI not detected, trying XDS
INFO:slbootloader.slbootloader:Connecting to device
INFO:slbootloader.slbootloader:Power off
INFO:slbootloader.slbootloader:Set break signal
INFO:slbootloader.slbootloader:Power on
Traceback (most recent call last):
File "<string>", line 5262, in <module>
File "<string>", line 5258, in main
File "<string>", line 5228, in cmdline
File "<string>", line 4641, in command_sysconfig_program_image
File "<string>", line 2827, in syscfg_program_image
File "<string>", line 1567, in connect_device
File "W:\slbootloader\slbootloader.py", line 409, in connect_with_reset
File "W:\slbootloader\slbootloader.py", line 285, in _expect_ack
slbootloader.slbootloader.BootLoaderError:
Error: SLImageCreator.exe: BootLoaderError, Timed out waiting for ack
SLImageCreator returned -1

Command completed with exit value: -1

What's wrong with this?

The target board doesn't display any message on UART0 port.
I suspect the image is not downloaded well.

BTW, I use CC3235MODS module (not CC3235MODSF) on my target board. I thought two were the same ones.
Can I download the image and burn it into CC3235MODS which seems to have only 256KB SRAM?
What's the role of sFLASH of 32-Mbits? Can I not use this sFLASH for application image download?

Sorry for the many questions.
Any comment will be appreciated.
JY

  • Hi Jeong,

    I will follow up next week on this issue.

    Thanks,

    Jacob

  • Hi JY,

    Can you ensure that your SOP pins match that in the CC3235MOD Getting Started Guide? By default, they should be configured to 010. 

    Also, can you ensure that the jumpers you have set now match the configuration for powering the LaunchPad externally? If you post a picture of your LaunchPad, or list which jumpers you have removed, I can double check.

    BTW, I use CC3235MODS module (not CC3235MODSF) on my target board. I thought two were the same ones.
    Can I download the image and burn it into CC3235MODS which seems to have only 256KB SRAM?
    What's the role of sFLASH of 32-Mbits? Can I not use this sFLASH for application image download?

    The MODS and the MODSF differ in that the SF variant includes 1MB external flash. This provides the user with additional flash memory for the application. However, the CC3235MODS and the CC3235MODSF use different linking methodologies and will require some porting to go from one to the other. You can read more about it in this post.

    Thanks,
    Jacob

  • Hi, Jacob,

    SOP pins are set as default. Jumpers are as guided in the file, CC3235MODSF SimpleLink with LaunchPad Hardware..._swru548b

    Anyway I learnt more on this module, let me try on using Uniflash instead.

    My target board has J-TAG connector, UART0 (GPIO1/GPIO2) and UART1(GPIO3/GPIO4).
    I read somewhere that only Uniflash can download the image and burn it into the sFLASH in the module,
    but JTag cannot do it. It only downloads the image into the RAM so the image will go away when the power is
    off and on again.
    At POR, the boot code in the ROM will download the application image from the sFLASH into the RAM.
    And this mechanism seems to work in both CC3235MODS and CC3235MODSF. Then, I may go with CC3235MODS.

    My question is how I can download my image (.bin, .hex, or .sli whichever) into the sFLASH.

    Using Uniflash I tried the followings:

    - I connect the UART0 of the target board to the PC using USB-UART cable, then run Uniflash.
    (Under New Configuration)
    - I selected CC3235S as my Device.
    - After 'Start' pushed, I entered Programming.sli from the project directory I successfully made using LaunchPad (development mode)
    (Should I make image mode of production?)
    - When I pushed 'Load Image' button, I got the following error message after a while:


    Error!
    Image loading failed: Flash Generic, Loading Images... Error: -7

    The console has:
    [2021. 12. 6. am 8:38:03] [INFO] Cortex_M4_0: CC3235S(Bootloader)
    [2021. 12. 6. am 8:38:03] [INFO] Cortex_M4_0: ...Start to invoke the bootloader...
    [2021. 12. 6. am 8:38:03] [INFO] Cortex_M4_0: Trigger XDS reset
    [2021. 12. 6. am 8:38:04] [INFO] Cortex_M4_0: Send break signal
    [2021. 12. 6. am 8:38:40] [ERROR] Cortex_M4_0: [ERROR_MESSAGE]Bootloader is unsuccessfully invoked!
    [2021. 12. 6. am 8:38:40] [ERROR] Cortex_M4_0: [ERROR_MESSAGE]Bootloader is not invoked!

    Your comments will be appreciated.

    JY

  • Hi JY,

    I'll try to follow up later this week.

    Thanks,
    Jacob

  • Hi JY,

    In Uniflash, did you select LAUNCHXL-CC3235S or CC3235S(BOOTLOADER)? Please select the LaunchPad version if you have not already:

    Can you use the auto-detect feature in Uniflash to ensure you have selected the correct board to use? You should select Development Mode so that you can debutg in CCS. 

    Thanks,
    Jacob