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.

MICROCONTROLLER_FLASH_ISSUE



Hi Guys,

I have a problem with TMS570Kit. nRST pin is not going high from the start up and because of this i am not able to flash also.

PORRST pin is always high.

kindly help me, it is urgent for me, any suggestions from you would be greatly appreciated.

thanks&regards,

Padmrish

  • Hi,

    I have a serious problem with TMS570 Kit.  nRST pin is not going high it's low(0.127 volt) and also i am not able to flash SW.

    PORRST AND Error pin of controller is high.

    I checked continuty between nRST and ground pin of the controller. It seems nRST Pin is shorted with ground that is why it is not going high.

    kindly help me, any suggestion will be greatly appreciated.

    best regards,

    Padmrish

  • Padmirsh,

    Which TMS570 Kit (HDK, USB Stick, CNCD, Launchpad, Hitek kit, etc. and which part # is it 3137, 1227, ?) 

    Have you already programmed something into flash?

    Have you double checked that the power supplies are still good? 

    What about the crystal - is it running?


    What error message do you get when you try to connect w. the emulator?

    PS: I just merged your two posts because it looks like it's the same issue.  If this isn't right we can split them but then we need to understand the differences between the two scenarios ...  

  • Hi Anthony,

    I am using USB stick and i have programmed SW for testing purpose.

    power supplies and crystal are good.

    jtag is detected but the flashing is not happening.

    i am getting following error while flashing. 

    nRST pin seems to be shorted with ground pin of controller.... is it possible because of programmed code in flash? 

    Thanks

    Padmrish,

  • Padmrish,

    It's possible  for this to be a problem if something has been programmed into the flash.

    Have you been able to connect to this board before?

    Also it would be good to know which USB stick you have (what is the part # since there are several)

    You might find this post from Haixiao helpful - it's about recovering a bricked USB stick.

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/130226/532820.aspx#532820

     

  • Hi Anthony,

    I am able to flash now by shorting nRST pin of controller with U3V3 Pin. 

    But still there is a short between nRST Pin and ground Pin.

    Eevery time to connect CCS and to flash Software i have to short U3V3 and nRST Pin.

    thanks,

    Padmrish

  • Padmrish,

    You shouldn't short the nRST pin to 3.3V since it is an open drain in/out pin.   When any source on or off chip causes a reset, the MCU will pull this pin low (for example if you push nPORRST button or have a watchdog reset or emulator reset).  The purpose is to let you know that the MCU has reset, and perhaps reset the board (ie.. if you have an FPGA or off chip peripheral that should be reset whenever the MCU is reset or if you just want a RESET LED... )

    Are you missing a pullup on the nRST pin perhaps?   It sounds like you might be - this is what should be there instead of a hard short.

     

  • Hi Anthony,

    I checked pull up and all. everything is fine.

    I don't know actually internal circuitry of nRST but when i am shorting nRST pin with 3.3 v my code is running fine.

    I think internal circuit of nRST(inside the controller) is damaged. I lifted the nRST pin from bord and it is shorted with other ground pins of controller.

    But  if i am shorting nRST with external 3.3v, nRST is not going high.

    If i'm shorting nRST with controller's u3v3 pin then only nRST is going high.

    thanks,

    Padmrish

  • Hi Padmrish,

    Hmm. that sounds strange.  What is the difference between u3v3 and external 3.3V?

    Is there some resistance in the path to the 'external 3.3V?"?  Where's the reference (gnd) for this external 3.3V - is it tied to the GND on the USB stick?

  • yes, the ground for external 3.3 volt is tied to the ground on USB stick. 

    and it's really strange if u3v3 and external 3.3v are same voltage level then with 3.3 v also nRST should go high but it's not. I tried with resistance and without resistance also in the path of external supply.

    I tried shorting with PORRST(3.3V) and error pin(3.3v) also but nRST was not going high.

    only with U3V3, nRST is going high.

    thanks,

    Padmrish