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.

Serial(UART) ROM-Based Boot-loader

Other Parts Discussed in Thread: LMFLASHPROGRAMMER, EK-TM4C1294XL

Hi,

I am using TM4C129X DK,i want to use the ROM base serial boot loader.i tried to use it through  boot_demo_uart and it works fine when the application calls the ROM based boot-loader through ROM_UpdateUART();But when i erase the flash and try to program the flash using the serial rom-based bootloader like the usb ROM based boot-loader i got that error:

Failed to establish communication

To program using the serial uart the board must be programmed with serial flash loader or properly configured

So,my question is why the processor didn't go to the ROM based bootloader as the flash is empty and select the uart interface as it does in case of USB

Thanks

Reagrds

Ahmed

  • Hello Ahmed

    With a erased flash does the "Tiva DFU" show up in the PC Device Manager? Which version of LMFlashProgrammer are you using and what is driver date for the same?

    Regards
    Amit
  • Hello Ahmed,

    I was successful in programming the EK-TM4C1294XL board using UART and ROM Bootloader. Here are the steps that I followed:
    1. On "Configuration" tab, select "TM4C1294XL Launchpad" from the drop down list under section "Quick Set".
    2. On "Flash Utilities" tab select "Entire Flash" radio button (under "Erase" section) and click the "Erase" button. To erase flash.
    3. Restart board.
    4. On "Configuration" tab, select "Manual Configuration" from the drop down list under section "Quick Set".
    5. On "Configuration" tab, select "Serial" from the drop down list under section "Interface".
    6. Select the correct COM port. The correct COM port number can be found from "Device Manager". Look for "Stellaris Virtual Serial Port" under Ports.
    7. Set "Baud Rate" to 115200 and "Transfer Size" to 60. These are default values.
    8. Deselect "Disable Auto Baud Support".
    9. On "Configuration" tab, select the correct bin file to program, under "Select .bin file" section.
    10. Select the "Reset MCU After Program" option and enter 0 for the "Program Address Offset".
    11. Then press the "Program" button.

    The status bar at the end of LM Flash Programmer should show the progress.

    Thanks,
    Sai
  • Hello Amit,

    The name of the driver in the PC Device Manager not"Tiva DFU" but "stellaris ICDI DFU Device" with date "8/3/2012 "and my LMFlashProgrammer is 1613.

    Regards
    Ahmed
  • Hello Sai,

    Thanks for your reply ,I have followed the above steps but still suffering the same problem,may be that's ROM version dependent?,My silicon rev is one .

    Thank you
    Regards
    Ahmed
  • Hello Ahmed,

    I confirm that my drivers are exactly the same and I can use the USB ROM Boot Loader on an empty flash to load a blinky program. Can you send across a snapshot of the board with the connections!!!

    Regards
    Amit
  • Hello Amit,

    Thanks for your reply,I think there is a little bit confusion the usb ROM based bootloader works fine,my problem is with the serial(UART) ROM based bootloader.

    Thank you

    Regards

    Ahmed

  • Hello Ahmed,

    I think the errata for ROM_SysCtlClockFreqSet is in effect for revision-1 of the device.

    Regards
    Amit