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.

Flashing isuue or else!!

Other Parts Discussed in Thread: TM4C123GH6PGE, UNIFLASH

Hi,

We developed one board based on TM4C123GH6PGE, The board have functionality of taking inputs from UART, CCP & SPI ports and sending output on USB port.

We tested our code that was built for DK-TM4C123, works fine for this board.

But from yesterday onwards we are facing one issue of flashing!!

I tried flashing through CCS as well as uniflash, but with both the tools we found the permanent writing of code is not happening (as per assumption).  If I connect the USB port to computer without power off, computer will get the data on USB port (displayed on hyperterminal), as soon as I restart (powering again) the board it will not  throw the data on USB port even I am not finding the USB connected to computer in device manager itself.

I also observed the CRC code in uniflash. Before restart of board i noted down the CRC code i.e. F2C118C and after restart I again read the CRC that was same as before restart i.e F2C18C.

Kindly suggest where will the problem might be!!

  • How are you restarting the board? I've noticed on my Windows machine that if I'm connected to the Serial COM port receiving messages, and something happens to the boards power, Windows many times will not release the COM port. This will prevent you from reconnecting to it. I haven't used HyperTerminal in years, I now use either PuTTY or Tera Term.

    For Tera Term, if I have this issue, all I do is 'File > Disconnect' in Tera Term, remove the USB cable from the computer, (I get a little dinging notification sound) and then reconnect. If Windows properly released the port, you should now be good to go.
  • Hello Sayed,

    What is the debugger being used? Can you connect the debugger via the IDE and read the registers, flash and sram? If you can connect well then erase the flash using the debugger and manual writes to the Flash Control registers. Then attempt to load the code via the IDE and see if it is getting loaded. If it does not get programmed to the flash, check the FLASHRIS register to see if there is an error bit getting set.

    Regards
    Amit
  • Hi,

    Thx Amit!!

    These things I tried many times, but after re-powering the board it will not reconnect . I used tera term also, disconnected before removing USB. But all these things does not work. No sound coming after put back the USB, and also no notification of USB in device driver for Tiva USB.
  • Hi,
    I am using CCS as IDE. I have read the Flash registers after run.
    found:
    FLASH_FCRIS= 0x00000002 i.e FLASH_FCRIS_PRIS=1
    It looks to me that flash programming done successfully.
  • Hello Sayed,

    Did you check the Flash image v/s the binary file? On the custom board have you made sure that the VDDS, VDDA and VDDC caps are well mounted and correct values as given in the System Design Guidelines document on TI web site?

    Regards
    Amit