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.

BOOT from UART2 in OMAP l137 EVM

Other Parts Discussed in Thread: OMAP-L137

Hello,

I am trying to upload a simple program I wrote for OMAP L137 into device flash on OMAP-L137 Starter Kit. I follow the sequence described in:

http://wiki.davincidsp.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L137

The problem occures, when I set the BOOT switches and checking communication with Hypertherminal:

Instead of  "BOOTME" prompt I get next sequnce:

U-Boot 1.3.3 (Apr 23 2009 - 17:32:00)

I2C:   ready
DRAM:  64 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
More than one PHY detected.
Hit any key to stop autoboot:  0
U-Boot >

and a baudrate is 115200 instead of 230400 as described in the document.

Please help.

Thank You

Arye Lerner

  • About the warning, just saveenv and the warning should go away.

    http://www.denx.de/wiki/DULG/WarningBadCRCUsingDefaultEnvironment

    It seems that it is not booting from UART, but from SPI flash. Double check your switches.

  • Also, check your board revision (I updated the page for earlier revisions of the board) and UART speed.

  • Hello Mariana,

    Thank You for your help.

    I switched the board from rev B to E, and it worked (It could be something wrong with this specific board in rev B, since I tried the switch combination You have mentioned in wiki and it didnt worked).

    But never mind, I have a board with BOOTME prompt.

    Now I try to program the board:

    I tried to use UartHost program that comes with AISgen to load the bin file, but I cannot change the baud rate there (the default is 115200), so I tried to use the sfh_omap-l137.exe with an options to change the baud rate and/or com number, but It keeps returning a "parameter incorrect" message or sometimes return help list. It is not clear to me a format of the command that I have to use, I tried all possible brackets, but without a success. Can You give me an example of correct command please?

    For example I try to change baud rate and com port number using these commands with no success:

    >spi_omap-l137.exe -p "COM3"

    >spi_omap-l137.exe -baud 115200

    What is the correct syntax?

    Thank You Very Much

    Arye Lerner

  • OK [:$],

    I suppose to use all parameters in one command line.

     

    Thank You.