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.

sysboot on uart0



Hi

I have a BBB and want to upload a bin file on uart0

so I see the C char on the screen and start an xmodem upload

After the upload it looks like the cpu is stalled , because nothing happens anymore.

I made a simple program which continuously prints '*' chars to just test my the boot process

What could I have done wrong ? Also this question : does the cpu when it comes out of the uart boot run in thumb or arm mode ?

And , what is meant in the user manual with 'GP device' ???

Thanks ,

Ronny

  • Hi Ronny,

    I don't have the ROM code, but the UART boot procedure in it should do something like:

    1. Get the .bin file via x-modem.
    2. Load it to a specific address.
    3. Execute it from that specific address.

    Please note that once you begin your transfer, you have 3 seconds to send the first packet, otherwise it will timeout.

    In order to check if your program is working, please boot to U-Boot via SD card, then load and try to execute your program:

    U-Boot# mmc rescan
    U-Boot# fatls mmc 0
    U-Boot# fatload mmc 0 0x82000000 your_program_name.bin
    U-Boot# go 0x82000000

    Best regards,
    Miroslav

  • Please see my post with UART boot log of u-boot in the middle of:

    http://e2e.ti.com/support/arm/sitara_arm/f/791/t/168595.aspx

    Maybe you should try that first?

    >I made a simple program which continuously prints '*' chars to just test my the boot process

    Not sure why this wouldn't work, but have never tried.

    Maybe doing the above suggestion is a good debug step?