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.

CC3220SF-LAUNCHXL: Radio Tool and swru471.pdf

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

Hi,

I am trying to test a custom board with CC3220SF12ARGKR. The board design is very similar with the launchpad eval board.

The processor could be formatted and programmed service pack/app image properly via Uniflash.

But when I connected the processor via Radio Tool, I got an error message.

Could anyone tell me what I should look into?

Error-211.pdf

  • Hi Chris,

    If the UART is working for the Unifalsh, then the radio scope should also work.
    Have you installed the RadioTool image on the device?
    You can program the ".sli" image (available in
    The radio tool image and SP ("<CC3120_CC3220_RadioTool_1.0.2>/Binaries/CC3220SF_device_radiotool.sli) need to be programmed to the flash before you enable the GUI tool.
    For instruction for programming an ".sli" image, please refer to chapter 5.17 of the Uniflash user guide: www.ti.com/.../swru469b.pdf

    Br,
    Kobi

  • Hi Kobi,

    Thank you for the info. I will do the steps soon.

    For now I am setting up CC3200 board first. It is same board but different part.
    However it shows same problem as well.
    After formatting the flash, I programmed the board with radiotool.bin from C:\ti\CC3100_CC3200_RadioTool_1.2\CC3200BoardApplication_Binary.
    Then removed the mode pin and reset the processor.
    Of course I used "CC3100 & CC3200 RadioTool GUI" from same folder but it doesn't work.

    Could you address this issue as well?

    Thanks,
    Chris
  • Hi Chris,

    Have you also programmed the SP with the RadioTool.bin?
    What kind of error message are you getting?

    Br,
    Kobi
  • Yes, I did but it showed same error (-211).

    [10/19/2018 12:15:18 PM] Program Ready, version 1.2.5942.19689
    [10/19/2018 12:15:23 PM] Connecting...
    [10/19/2018 12:15:23 PM] Connected
    [10/19/2018 12:15:23 PM] Fetching Information
    [10/19/2018 12:15:30 PM] Chip ID=Error (-211), ROM_ver=Error (-211), FW_ver=Error (-211).Error (-211).Error (-211), MAC=

  • Hi Chris,

    I'm not familiar with this and cannot reproduce it.
    You can try to run the RadioTool sample code from the debugger and debug the code.
    The function that appear to fail is Radio Command "GET_DEV_VER_COMMAND" (look in line 294 of radiotool.c).
    Please set a break point and follow the code (including the return value of RadioGetDeviceVersion.

    If from some reason you done get to the break point, try to debug the uart handling in mainThread().

    Br,
    Kobi
  • Hi Kobi,

    I tried to open the C# project with 2010 express version but I got some errors.

  • I meant that you debug the RadioTool MCU Image (running on the CC3220).

    Br,
    Kobi
  • Hi Kobi,

    I'd check our H/W configuration first.

    The first step that I want to do is to connect our board to CC3220SF-LANCHXL.

    Before connecting our board, I disconnected UART interface between emulation processor and the target processor on the evla board.

    J5 : TX(target processor) to RX(emulation processor)

    J6 : RX(target processor) to TX(emulation processor)

    But even after disconnecting UART jumpers, the UniFlash still detects the target processor.

    Is the reason why the emulation processor uses JTAG to the target?

    Could you explain what is the best way to connect our board to the eval board?

    FYI, our board can be accessed by PWR/GND, UART, RESET, SOPx signals.

  • I found out that the eval board's SOP[2:0] were 010 which is SOP1 is pulled up, but our board has 000.
    After adding a jumper to SOP1 to pull-up resistor, it could be programmed via the eval board and also run with Radio Tool.
    Should SOP1 be 1 always?
  • Hi Chris,

    Please refer to "Table 5-6. CC3220x Functional Configurations" in the data sheet (www.ti.com/.../cc3220.pdf ).
    SOP configuration of [010], enable both the UART connection and JTAG access.

    Br,
    Kobi
    e2e.ti.com/.../736711
  • For the UniFlash and RadioTool running, SOP [010] works only. SOP[000] or SOP[100] don't work.

    Is that expected?
  • Hi Chris,

    Assuming you are talking about CC3220 (this is my understanding), then:
    To enable the radio tool the device should be in functional mode so SOP=000 or SOP=010 should work.
    For programming the flash, you'll need to enable the UART access (ROM based bootloader supports the flash programming) so you can select: SOP=100 or SOP=010.

    Br,
    Kobi
  • Yes, I am talking about CC3220.

    Just verified that radio tool can run with SOP=000 after programming our board correctly with eval board.
    However UniFlash 4.5 (or 4.4) can't detect the board with SOP=100 or SOP=010 either when the board is directly connected to the PC via FTDI UART cable.

    In the direct connection, how to connect the signals?
    I have 3.3V/GND, UART TX/RX. How should I connect RESET?
  • One more observation...

    Once the board gets programmed with the radio test image correctly, radio tool works with the board regardless of SOP settings.