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: Error connecting emulator(CC3220 launchpad(XDS110 ) to external target(CC3220SF)

Part Number: CC3220SF
Other Parts Discussed in Thread: UNIFLASH

Hello,

I am working on CC3220sf Launchpad board

I was able to work on all the demo and example applications.the example codes were dumped using the on board emulator xds110 without any issues.

Now for our custom board which has CC3220SF i am trying to dump the code using the cc3220sf launchpad xds110 emulator by isolating the onboard cc3220sf controller(removing the jumpers from TMS,TCK,TDO,TDI and RST). i am trying to debug using CCS 8.10 IDE .but i am getting the below error.

CS_DAP: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 8.0.27.9) 

 I tried to flash using the Uniflash by putting into development mode but there was again connection error as below

    Operation failed: Timeout reading data

Thank you,

Sanath Rai

  • Hi Sanath,

    Switching device into development mode is a mandatory step. Without development mode set by Uniflash you will not allowed to use JTAG/SWD.

    You need to be able Uniflash connect first and after that you can follow next steps. In case you have a new hardware it may to be possible that you have design or manufacturing issue with your board.

    Few hardware debug steps:

    • please proceed this cheklist
    • make sure that you followed this layout guidelines ( chapter 4.2. is very important )
    • make sure that you have properly connected RX, TX, GND for Uniflash connection (exchanged TX, RX, etc.)
    • make sure that you have selected proper SOP mode for Uniflash
    • do voltage measurement at VDD_ANA and VDD_DIG and check your VIN for voltage drops (~VDD_ANA = 1.8V, ~VDD_DIG = 1.2V)
    • you can also check your XTALs if they work properly

    Btw ... do you use for layer board at least?

    Jan

  • Hello Jan,

    Sorry for the delayed reply.

    Thank you for the detailed explanation.

    So for every new CC3220SF IC  do we need to put it into development mode before starting  to work with it?

    and to put it into development mode we need UNIFLASH right to which UART TX,RX is required?

    Is there any other way to put in development mode using CCS?

    So in our custom board do we have to leave a dedicated UART for UNIFLASH? that means one UART will be wasted as peripheral right?

    I am developing the code using CCS 8.10 and will debug using the onboard launchpad emulator.

    Regards,

    Sanath Rai

  • Hi Sanath,

    > So for every new CC3220SF IC  do we need to put it into development mode before starting  to work with it?

    To be able debug CC3220 device via JTAG, it need to be uploaded in sFlash image with development mode. This behaviour is from the security reasons, because CC3220SF are secured devices.

    > and to put it into development mode we need UNIFLASH right to which UART TX,RX is required?

    There is another option. You can upload content of sFlash by the 3rd party flash memory programmer. But it is recommand to have UART for flashing image by Uniflash or Embedded programming. Without UART for Uniflash will be your development much harder.

    > Is there any other way to put in development mode using CCS?

    No. You need to use one of options: Uniflash GUI, Uniflash CLI, Embedded programming or SPI flash programmer.

    > So in our custom board do we have to leave a dedicated UART for UNIFLASH? that means one UART will be wasted as peripheral right?

    UART is not mandatory but recommanded. For production programming you can use SPI flash programmer.

    Additional resources:

    Jan

  • Hello Jan,

    Thank you for the inputs.

    We will keep these things in mind.

    Also using CC3220sf in our application we are planning to integrate with OV788 for video and audio transmission over wifi to cloud .

    any reference or suggestion from your side?

    I had mailed to Mr Travis Scheckel regarding our application and we need a development board with cc3220sf and ov788 on it for development and testing.

    I have not got any mail back from him.

    we had referred SimpleLink™ CC32xx-OV788 Video/Audio Streaming Over Wi-Fi Reference Design , but the board is not available immediately in Arrow.

    Regards

    Sanath Rai

  • Hi Sanath,

    Sorry, I have no experience with OV788 and this particular reference design. I know only one thing. It is slightly hard to get OV788 in small quantities due to supply chain.

    Jan