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.

CCS/CC3220MODA: Unable to access the DAP

Part Number: CC3220MODA
Other Parts Discussed in Thread: UNIFLASH, CC3220SF, SEGGER

Tool/software: Code Composer Studio

Hi,

I  made a custom board with CC3220MODASF. I have 4 JTAG signals accessible (TDO, TDI, TCK and TMS). I have configured the SOP pins to 000 i.e 4W JTAG

I connect XDS110 probe with our board using the 20 to 10 pin adapter. 

The SOP jumpers are set to pull-down (FUNCTIONAL_4WJ) and the board is externally powered (3 V). 

I have read earlier e2e community forum on the same issues of " could not connect to the target " and you are suggesting to use Uniflash software & UART  to change the module to development mode from production mode.

But the problem is that we dont have the UART pins available in our custom board. But we have given test points for the SPI serial flash.

Can we use these SPI serial flash pins to change the mode of the module to development mode using uniflash or some other software ?

Can we use Over the Air programming to solve these issue ??

Or can you suggest any other way to change the module to development mode other than  UART boot loading method

Appreciate your help at the earliest ....!!

 

Regards,

Rajesh 

  • Hi Rajesh,

    Keep in mind that you will not be able to use some tools like the Radio Tool without UART pins.

    You should be able to flash a gang image for development mode through the SPI flash pins, but you will need the MAC address for the device in order to do this. (This is more difficult without UART output to a terminal.)

    You can try flashing the Out of Box Experience as a gang image (in production mode) and read the device's MAC address from the HTML page. Then add this MAC address to your ImageCreator project and create a development mode gang image. You will need to do this for each module.

    For more information on gang images, please see the Production Line Guide. To create a gang image, please see the ImageCreator User's Guide.

    Best regards,

    Sarah

  • Thanks for the reply, Sarah.

    As per your suggestion, I tapped the UART pins in our module CC3220MODASF12MONR.

        Our board                                       XDS110 in CC3220SF launchpad

    46(Tx)                                                Rx

    47 (Rx)                                               Tx

    Reset                                                  nReset

    I tried with both SOP[2:0] 100 and 010.

    I was unable to flash the image through UART. I followed the Section 5.4 of SWRA568 production line document.On trying to connect the device in Uniflash, I encountered the Operation Failed: Timeout reading data error.

    I have a couple of questions:

    1. In Uniflash, should we choose the launchpad as our device or the CC3220SF module? If we choose the CC3220SF module, there is no Serial Connection (UART) option given. So what device should be selected?

    2. Everything worked well when trying the same with the Launchpad. What may be the reason for this not working with our board?

    I tried resetting the device, changing USB ports, restarting the system but nothing seemed to have solved the issue.

    Please help me with this asap as I am stuck at this since 2 days.

    Regards,
    Rajesh

     

  • Hi Rajesh,

    You sound like you're on the right track. I don't remember a module option in UniFlash though. You should be selecting the Serial option for the CC3220SF which opens ImageCreator. (Please see the image in UniFlash ImageCreator Basics.)

    I also suggest taking a look at the Hardware Design Checklist and make sure you have the correct values on your custom board.

    Best regards,

    Sarah

  • Hi Sarah,

    We are able to program the code using SPI programmer (Segger Flasher Portable PLUS) using an gang image created by uniflash in production mode (I have used .bin file from CCS to create gang image in Uniflash ).

    The J Flash SPI tool has showed that "flash has been programmed successfully" as well.

    But I don't think the program is being executed in module, since I m not reading a high state in a particular GPIO as i have written in my CCS . 

    Also I am unable to get the module out of production mode to development mode.

    I am not sure if i have programmed the serial flash in production mode itself. After confirming this I can program the out of box in production mode and read Mac address of the module as you have suggested & Program  our application specific Gang image in development mode using JTAG. 

    Appreciate your help at the earliest!!

    Regards,

    Rajesh

  • Part Number: CC3220MODA

    Hi,


    I'm using CC3220MODASF12MONR module in my board. It came in production mode so i can't able debug using JTAG. Then I tried lot of method. I listed out those below. I have some queries from those attempts.

    1.First Attempt:

    I didn't give a connection for UART in my board. so I removed the module and tapped every wires also UART. Then I changed mode using launchpad3220moda. Then I soldered module again. Then I tested power-on test, the result was good. I debugged all my gpios and other interfaces. At finally I loaded my software file using JTAG debugger XDS110. it worked for all interfaces and connections. But, After the power-on reset, the software gone. I needed to load the software again and again for each power-on reset. So I can't use this board in a product.

    Is there any problem in development mode ?... Can you suggest how to keep my code in my board always even the power-on reset? Because again I can't tap the UART wire and also it's dangerous to remove the module again!!!.. 


    2. Second Attempt:

    In meanwhile, I removed the metal can of the module in another board. Then I tap the wire for UART pin then I tried flash it in UNIFLASH. It is connected and I saw the MAC address. But I can't burn my img. It shows like this when I try to program image.

    Also I found this please see the memory status in picture.

    Is there any problem in removing the metal can from module? But I Could get the MAC address it means the UART communication happening in the module right?

    Please give me some suggestions 1!!

    Thanks and regards,

    RajeshK

  • Hi RajeshK,

    By "metal can", do you mean the shield on the module? You should not remove that.

    You must flash the device to retain your application upon reboot. You cannot load through the debugger. Please see the device overview of the Out of Box Experience: http://dev.ti.com/tirex/explore/node?node=ANkGhhEkpfMuOBJ20Qo2Jw__fc2e6sr__LATEST

    You are not seeing the storage capacity of the serial flash when you connect, which seems like you may have shorted or damaged the module while removing the shield. Do you have another module? 

    Best regards,

    Sarah