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 uboot on omap-l138 expkit

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hello,

Could someone present the detailed procedure of flashing uboot on the abovementioned board?

When I try to acces uboot via com port I don't get any kind of response (empty terminal)

When I try to use CCS 5.4 to upload an examplary program, I get error "Device held on reset. Please remove the device from reset" (or something like that:)

If someone encountered the same problem, please write your solution.

thanks

  • Hi Bartłomiej,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    You can flash the u-boot in two ways.

    1. Using CCS :

    http://processors.wiki.ti.com/index.php/GSG:_OMAP-L138_DVEVM_Additional_Procedures#Flashing_images_to_SPI_Flash

    2. Using serial flash utility.

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    I assume you use the OMAPL138 Experimenter kit from Logic PD. Make sure the boot switch settings for your board are appropriate while booting / flashing.

    When you use CCS, make sure you select the correct GEL file, emulator and device in the target configuration file. Try for "Test connection" and check whether it is successful.

    Are you facing any Emulator disconnect problem? http://processors.wiki.ti.com/index.php/Emulation_Connect/Disconnect

     

    Regards,

    Shankari

     

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hello 

    First of all Thank you for yor answer Shankari, i have a few question for you.

    Can I flash this via usb emulation port?(or do i have to use RS232 serial debug port)

    When I flash u-boot  i must set  UART2 boot mode? becaue when i try erase this via usb emulation port i see this:

    -----------------------------------------------------
    TI Serial Flasher Host Program for OMAP-L138
    (C) 2011, Texas Instruments, Inc.
    Ver. 1.67
    -----------------------------------------------------


    [TYPE] Global erase
    [TARGET] OMAPL138
    [DEVICE] SPI_MEM
    [SPI Block] 0


    Attempting to connect to device COM9...
    Press any key to end this program at any time.

    (AIS Parse): Read magic word 0x41504954.
    (AIS Parse): Waiting for BOOTME... (power on or reset target now)

    and nothing more.

    ps. Yes, i have OMAPL138 Experimenter kit from Logic PD.

    Best wishes

    Bartłomiej

  • Hi Bartłomiej,

    Bartłomiej says said:
    Can I flash this via usb emulation port?(or do i have to use RS232 serial debug port)

     

    Yes you have to use RS232 Serial debug port for OMAP-L138 Experimenter Kit while flashing the images using Serial Flasher utility. The usb emulation port is used for communication between the board and the CCS on host PC.

    Bartłomiej said:
     (AIS Parse): Waiting for BOOTME... (power on or reset target now)  

      

    Kindly clarify whether you have done the "reset target" and then the utility didn’t progress in erasing the SPI flash? In case you haven’t pressed the reset button kindly do so and proceed with the Global erase after resetting. Please make sure the boot switch settings are appropriate.

    NOTE: Also check whether you get the BOOTME prompt in your serial terminal while you switch on the board with correct boot switch settings before using the serial flasher utility. If the "BOOTME" message appears then you can continue with the flashing.

    You can refer the following link for running the serial flasher utility.

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Running

    Please do reply if you still face any problem.

     

    Regards,

    Shankari.

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------