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.

CC3200

Other Parts Discussed in Thread: UNIFLASH, CC3200

 I have 8 boards with CC3200 that I can not get to format or load the service pack with uniflash. I am using a launchpad with jumpers j6 & J7 removed. I have connected pin 3 RX to the GPIO_02(RX)  and J7-3 TX to GPIO_01 TX of my board. I have also connected my board to the reset line of the launchpad. I have connected SOP2 high. I am also supplying the 3.3 v from the launchpad to my board. The 3.3 looks ok on a scope. I get the message ERROR:---- reading ACK signal failed ---- and after three tries it times out. Is my connection between my board and the launchpad correct?

Should I ever see a 40mhz clock on my boards? I do not.

This project is at a stopping point and critical!

  • are the grounds connected between the boards?
    just to confirm - you connected the CC_nReset net line to your CC3200 (this is pin 32 on the CC32000), correct? (This would be the point where R129, D3 and SW1 meet) and that you do have 100k pullup there to VBAT_CC supply?

    do have a schematic of what you did to date, picture might help too
  • yes the boards are grpounded together, 3.3 is also common and connected to my bard. reset is also connected. I have verified that the UART is connected correctly.
    My schematic is basically identical to the launchpad for the cc3200, flash memory and needed components. I have nothing else to show because Uniflash gives an ERROR wheh i try to format the flash.
  • Larry -
    sorry i meant to ask before - you also have SOP 1 and 0 pulled down, correct? and you are using the button to reset it or not?
    if you have your schematic that would be helpful, as what we are looking for here is something minor which is causing the problem.
    if you don't want it on public forum, you can send it to me at josh.wyatt@ti.com

  • Yes, I have SP1 &0 pulled low.  I have verified that reset from the switch is OK , but uniflash also toggles the reset line during a format command.

    I will send a copy of the schematic as an attachment by email. I could mot see how to attach it here. U4 & u5 have been removed due to connection errors.

    I have my board connect to a launch pad. I have 8 boards that I can not get to format or load the service pack with uniflash. I am using a launchpad with jumpers j6 & J7 removed. I have connected pin 3 RX to the GPIO_02(RX)  and J7-3 TX to GPIO_01 TX of my board. I have also connected my board to the reset line of the launchpad. I have connected SOP2 high. SOP1 & 0 Low.  I am also supplying the 3.3 v from the launchpad to my board. The 3.3 looks ok on a scope. I get the message ERROR:---- reading ACK signal failed ---- and after three tries it times out. Is my connection between my board and the launchpad correct? Should I ever see a 40mhz clock on my boards? I do not.

    We have verified out schematic through the design checker.  It did point out several problems, but nothing that should cause the problem i am seeing.

  • Larry - 

    thanks for sending over the schematic - here is what i found in the last few minutes

    • You DNP’ed load caps on your 24MHz crystal (where we have 40MHz) this is WLAN XTALP and N pins (this cannot be helpful i.e. wrong crystal and no load caps)
    • Pullup on CC_nRESET is 10k versus 100k (his R7 our R1, from figure 6-1 in the DS, you said you were using that as reference. Our R5 on the CC3200 LP schematic)
    • Looks like your pin 48 is not connected, this should be connected to Pins 36 and 25. (this is VDD_ANA1)
    • Pin 45 not connected to CC_GPIO_31
    • Pin 47 not pulled up to VCC_DCDC_3V3, nor does it have 10uF bulk cap (this one we need to fix for ourselves – in the DS, this shows being connected to 0.1uF cap, on LP, we show 10uF cap
    • The 32kHz crystal has 12pF load caps, we use 10pF, don’t know the tolerance on this one, with this crystal, but it is a difference.
    • Pin 21 (SOP2) has 10k pulldown (we use 2.7k on LP) and I cannot find 270 Ohm pullup for SOP2 either
    • No 100k pulldown on pin19 (for his JTAG, you do have provision for this, too)
    • 3.6uH inductor for 50 Ohm line where we have 3.6nH
    • I2C pullups too low (they are 910 Ohms) – should be higher value of resistance – we use 3.3k on LP, usually I think the math works out to about this range or a little higher on I2C bus. 

    i think the no connects i describe above and the lack of a 40MHz crystal and associated load caps in addition to the handling of the SOP line look to me like places you need to check and fix

    also, yesterday, i did have members of the SImpleLink team do a sanity check for you by using emulator on one LP to flash another - this works 

    A picture of this was taken and can be shared if you need it.

     

  • Thanks for your review, i will go over it closer later today and this weekend.
    I knew the crystal was incorrect on the schematic. I had changed it to different 40 mhz several times with different load cap 6 or 8 depending on the crystal requirements.
    Thanks again for your support.
  • Hi Larry,

    You should connect the two boards as shown, and make sure that the power is right and the reset is connected accurately. When you format or load the service pack with uniflash, you should place the jumper on SOP2, then remove the SOP2 jumper to run the program.

  • You DNP’ed load caps on your 24MHz crystal (where we have 40MHz) this is WLAN XTALP and N pins (this cannot be helpful i.e. wrong crystal and no load caps)
    <<<< I had already changed the Crystal to a 40 mHz with 8pf load cap. >>>>

    Pullup on CC_nRESET is 10k versus 100k (his R7 our R1, from figure 6-1 in the DS, you said you were using that as reference. Our R5 on the CC3200 LP schematic)
    <<<< corrected to 100K >>>>

    Looks like your pin 48 is not connected, this should be connected to Pins 36 and 25. (this is VDD_ANA1)
    <<<<< pin 48 not connected
    I will correct in new layout
    I am not using any analog function. Is this required if not being used? >>>>

    Pin 45 not connected to CC_GPIO_31
    <<<<<< I will correct on new layout.
    this feature is not used. Should it still be connected? >>>>

    Pin 47 not pulled up to VCC_DCDC_3V3, nor does it have 10uF bulk cap (this one we need to fix for ourselves – in the DS, this shows being connected to 0.1uF cap, on LP, we show 10uF cap
    <<<<< pin 47 I will correct new artwork
    Tis is an analog signel. Is it requires in the ana is not used? >>>>>

    The 32kHz crystal has 12pF load caps, we use 10pF, don’t know the tolerance on this one, with this crystal, but it is a difference.
    <<<<< the spec on ther crystal we used required a 12pfd cap >>>>>

    Pin 21 (SOP2) has 10k pulldown (we use 2.7k on LP) and I cannot find 270 Ohm pullup for SOP2 either
    <<<<< i will correct, but right now thr SOP2 signal is pulled high >>>>>

    No 100k pulldown on pin19 (for his JTAG, you do have provision for this, too)
    <<<<< i will correct >>>>>

    3.6uH inductor for 50 Ohm line where we have 3.6nH
    <<< i will correct. I wish i was that far to see that problem >>>>>

    I2C pullups too low (they are 910 Ohms) – should be higher value of resistance – we use 3.3k on LP, usually I think the math works out to about this range or a little higher on I2C bus.
    <<<<< i will correct. >>>>>

    Today, i correct all the item i could, but that did not solve the issue.
    i recorded sole terminal traces from Uniflash:
    I wish i could make more scope traces, but nothing works to do that:

    [15:32:44] Begin Format operation.
    [15:32:46] INFO: > Executing Operation: Connect
    [15:32:46] DEBUG: waiting and clearing uart rx buffer
    [15:32:48] INFO: setting break signal
    [15:32:48] DEBUG: wait for ack
    [15:32:49] DEBUG: UART timeout
    [15:32:49] DEBUG: --- COM Port timeout on ACK read
    [15:32:49] INFO: detecting FTDI for device reset
    [15:32:49] DEBUG: got 2 devices connected
    [15:32:49] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:32:49] DEBUG: Device 1: , SN:
    [15:32:49] DEBUG: Openning FTDI device to toggle nHib
    [15:32:49] DEBUG: asserting nHib
    [15:32:49] DEBUG: de-asserting nHib
    [15:32:50] DEBUG: wait for ack
    [15:33:05] DEBUG: UART timeout
    [15:33:05] DEBUG: --- COM Port timeout on ACK read
    [15:33:05] ERROR: ---reading ACK signal failed---
    [15:33:05] DEBUG: disconnecting from device . . .
    [15:33:05] WARNING: ---seting break signal to false failed---
    [15:33:05] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [15:33:05] DEBUG: waiting and clearing uart rx buffer
    [15:33:07] INFO: setting break signal
    [15:33:07] DEBUG: wait for ack
    [15:33:08] DEBUG: UART timeout
    [15:33:08] DEBUG: --- COM Port timeout on ACK read
    [15:33:08] INFO: detecting FTDI for device reset
    [15:33:08] DEBUG: got 2 devices connected
    [15:33:08] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:33:08] DEBUG: Device 1: , SN:
    [15:33:08] DEBUG: Openning FTDI device to toggle nHib
    [15:33:08] DEBUG: asserting nHib
    [15:33:08] DEBUG: de-asserting nHib
    [15:33:08] DEBUG: wait for ack
    [15:33:23] DEBUG: UART timeout
    [15:33:23] DEBUG: --- COM Port timeout on ACK read
    [15:33:23] ERROR: ---reading ACK signal failed---
    [15:33:23] DEBUG: disconnecting from device . . .
    [15:33:23] WARNING: ---seting break signal to false failed---
    [15:33:23] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [15:33:23] DEBUG: waiting and clearing uart rx buffer
    [15:33:25] INFO: setting break signal
    [15:33:25] DEBUG: wait for ack
    [15:33:26] DEBUG: UART timeout
    [15:33:26] DEBUG: --- COM Port timeout on ACK read
    [15:33:26] INFO: detecting FTDI for device reset
    [15:33:27] DEBUG: got 2 devices connected
    [15:33:27] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:33:27] DEBUG: Device 1: , SN:
    [15:33:27] DEBUG: Openning FTDI device to toggle nHib
    [15:33:27] DEBUG: asserting nHib
    [15:33:27] DEBUG: de-asserting nHib
    [15:33:27] DEBUG: wait for ack
    [15:33:42] DEBUG: UART timeout
    [15:33:42] DEBUG: --- COM Port timeout on ACK read
    [15:33:42] ERROR: ---reading ACK signal failed---
    [15:33:42] DEBUG: disconnecting from device . . .
    [15:33:42] WARNING: ---seting break signal to false failed---
    [15:33:42] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [15:33:42] DEBUG: waiting and clearing uart rx buffer
    [15:33:44] INFO: setting break signal
    [15:33:44] DEBUG: wait for ack
    [15:33:45] DEBUG: UART timeout
    [15:33:45] DEBUG: --- COM Port timeout on ACK read
    [15:33:45] INFO: detecting FTDI for device reset
    [15:33:45] DEBUG: got 2 devices connected
    [15:33:45] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:33:45] DEBUG: Device 1: , SN:
    [15:33:45] DEBUG: Openning FTDI device to toggle nHib
    [15:33:45] DEBUG: asserting nHib
    [15:33:45] DEBUG: de-asserting nHib
    [15:33:45] DEBUG: wait for ack
    [15:34:01] DEBUG: UART timeout
    [15:34:01] DEBUG: --- COM Port timeout on ACK read
    [15:34:01] ERROR: ---reading ACK signal failed---
    [15:34:01] DEBUG: disconnecting from device . . .
    [15:34:01] WARNING: ---seting break signal to false failed---
    [15:34:01] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [15:34:01] FATAL: --- Can't connect to device !! ---
    [15:35:04] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [15:35:04] INFO: > Executing Operation: Disconnect
    [15:35:04] DEBUG: disconnecting from device . . .
    [15:35:04] Operation Format returned.




    GEt VERSION
    [15:26:45] DEBUG: wait for ack
    [15:27:00] DEBUG: UART timeout
    [15:27:00] DEBUG: --- COM Port timeout on ACK read
    [15:27:00] ERROR: ---reading ACK signal failed---
    [15:27:00] DEBUG: disconnecting from device . . .
    [15:27:00] WARNING: ---seting break signal to false failed---
    [15:27:00] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [15:27:00] DEBUG: waiting and clearing uart rx buffer
    [15:27:02] INFO: setting break signal
    [15:27:02] DEBUG: wait for ack
    [15:27:03] DEBUG: UART timeout
    [15:27:03] DEBUG: --- COM Port timeout on ACK read
    [15:27:03] INFO: detecting FTDI for device reset
    [15:27:03] DEBUG: got 2 devices connected
    [15:27:03] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:27:03] DEBUG: Device 1: , SN:
    [15:27:03] DEBUG: Openning FTDI device to toggle nHib
    [15:27:03] DEBUG: asserting nHib
    [15:27:03] DEBUG: de-asserting nHib
    [15:27:04] DEBUG: wait for ack
    [15:27:19] DEBUG: UART timeout
    [15:27:19] DEBUG: --- COM Port timeout on ACK read
    [15:27:19] ERROR: ---reading ACK signal failed---
    [15:27:19] DEBUG: disconnecting from device . . .
    [15:27:19] WARNING: ---seting break signal to false failed---
    [15:27:19] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [15:27:19] FATAL: --- Can't connect to device !! ---
    [15:27:25] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [15:27:25] INFO: > Executing Operation: Disconnect
    [15:27:25] DEBUG: disconnecting from device . . .
    [15:27:25] Operation GetVersion returned.

    Attemting to load service pack
    [15:30:02] Begin ServicePackProgramming operation.
    [15:30:03] INFO: > Executing Operation: Connect
    [15:30:03] DEBUG: waiting and clearing uart rx buffer
    [15:30:05] INFO: setting break signal
    [15:30:05] DEBUG: wait for ack
    [15:30:07] DEBUG: UART timeout
    [15:30:07] DEBUG: --- COM Port timeout on ACK read
    [15:30:07] INFO: detecting FTDI for device reset
    [15:30:07] DEBUG: got 2 devices connected
    [15:30:07] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:30:07] DEBUG: Device 1: , SN:
    [15:30:07] DEBUG: Openning FTDI device to toggle nHib
    [15:30:07] DEBUG: asserting nHib
    [15:30:07] DEBUG: de-asserting nHib
    [15:30:07] DEBUG: wait for ack
    [15:30:22] DEBUG: UART timeout
    [15:30:22] DEBUG: --- COM Port timeout on ACK read
    [15:30:22] ERROR: ---reading ACK signal failed---
    [15:30:22] DEBUG: disconnecting from device . . .
    [15:30:22] WARNING: ---seting break signal to false failed---
    [15:30:22] DEBUG: --- Connection failed trying to reconnect... (1 attempt)
    [15:30:22] DEBUG: waiting and clearing uart rx buffer
    [15:30:24] INFO: setting break signal
    [15:30:24] DEBUG: wait for ack
    [15:30:25] DEBUG: UART timeout
    [15:30:25] DEBUG: --- COM Port timeout on ACK read
    [15:30:25] INFO: detecting FTDI for device reset
    [15:30:25] DEBUG: got 2 devices connected
    [15:30:25] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:30:25] DEBUG: Device 1: , SN:
    [15:30:25] DEBUG: Openning FTDI device to toggle nHib
    [15:30:25] DEBUG: asserting nHib
    [15:30:25] DEBUG: de-asserting nHib
    [15:30:26] DEBUG: wait for ack
    [15:30:41] DEBUG: UART timeout
    [15:30:41] DEBUG: --- COM Port timeout on ACK read
    [15:30:41] ERROR: ---reading ACK signal failed---
    [15:30:41] DEBUG: disconnecting from device . . .
    [15:30:41] WARNING: ---seting break signal to false failed---
    [15:30:41] DEBUG: --- Connection failed trying to reconnect... (2 attempt)
    [15:30:41] DEBUG: waiting and clearing uart rx buffer
    [15:30:43] INFO: setting break signal
    [15:30:43] DEBUG: wait for ack
    [15:30:44] DEBUG: UART timeout
    [15:30:44] DEBUG: --- COM Port timeout on ACK read
    [15:30:44] INFO: detecting FTDI for device reset
    [15:30:44] DEBUG: got 2 devices connected
    [15:30:44] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:30:44] DEBUG: Device 1: , SN:
    [15:30:44] DEBUG: Openning FTDI device to toggle nHib
    [15:30:44] DEBUG: asserting nHib
    [15:30:44] DEBUG: de-asserting nHib
    [15:30:44] DEBUG: wait for ack
    [15:30:59] DEBUG: UART timeout
    [15:30:59] DEBUG: --- COM Port timeout on ACK read
    [15:30:59] ERROR: ---reading ACK signal failed---
    [15:30:59] DEBUG: disconnecting from device . . .
    [15:30:59] WARNING: ---seting break signal to false failed---
    [15:30:59] DEBUG: --- Connection failed trying to reconnect... (3 attempt)
    [15:30:59] DEBUG: waiting and clearing uart rx buffer
    [15:31:02] INFO: setting break signal
    [15:31:02] DEBUG: wait for ack
    [15:31:03] DEBUG: UART timeout
    [15:31:03] DEBUG: --- COM Port timeout on ACK read
    [15:31:03] INFO: detecting FTDI for device reset
    [15:31:03] DEBUG: got 2 devices connected
    [15:31:03] DEBUG: Device 0: USB <-> JTAG/SWD A , SN: cc3101A
    [15:31:03] DEBUG: Device 1: , SN:
    [15:31:03] DEBUG: Openning FTDI device to toggle nHib
    [15:31:03] DEBUG: asserting nHib
    [15:31:03] DEBUG: de-asserting nHib
    [15:31:03] DEBUG: wait for ack
    [15:31:18] DEBUG: UART timeout
    [15:31:18] DEBUG: --- COM Port timeout on ACK read
    [15:31:18] ERROR: ---reading ACK signal failed---
    [15:31:18] DEBUG: disconnecting from device . . .
    [15:31:18] WARNING: ---seting break signal to false failed---
    [15:31:18] DEBUG: --- Connection failed trying to reconnect... (4 attempt)
    [15:31:18] FATAL: --- Can't connect to device !! ---
    [15:31:24] FATAL: Error connecting to the device. Please check your COM port settings. Error code: -3
    [15:31:24] INFO: > Executing Operation: Disconnect
    [15:31:24] DEBUG: disconnecting from device . . .
    [15:31:24] Operation ServicePackProgramming returned.

    I think i have blown my launchpad late this after noon. i will order another tonight.

    A picture of this was taken and can be shared if you need it. I received the picture on connection two boards together. That helped because that exactly what i was doing.

    Thanks for your help.
    Not a productive day for me. The project is near being scrubbed and go back to the CC2532. We have tried to convince the person footing the bills that he needed to upgrade, but so far that has not be very successful.

    Thanks Again.
  • Josh, I wanted to thank you and the team at TI for your help on my CC3200. Today, i finally got a board to accept format, load the service pack and my program. The fix was adding all the wired to 48, 45 & 46, i did have to connect 45, 46&47 together due to the layout.

    Thanks AGAIN!