2009-10-30 05:17:56     BF518F EZ-Board UART booting problem

Document created by Aaronwu Employee on Sep 24, 2013
Version 1Show Document
  • View in full screen mode

2009-10-30 05:17:56     BF518F EZ-Board UART booting problem

Moritz von Buttlar (GERMANY)

Message: 81909   

 

Hi,

 

I'm trying to install U-Boot on my new BF518F EZ-Board using the UART and starting to get a little bit frustrated.

 

The cable is working (checked loopback by shorting pin 2+3), SW10 is set to ON-ON-ON-OFF, Boot mode is 7.

 

If I set Boot mode to 1, I get a message screen. I think the cable is working.

 

I get the funny character � described in the trouble shooting section when I restart the board (I have to unplug the power connector, hitting reset alone is not sufficient).

 

The ldr software gives the following output:

 

sudo bfin-uclinux-ldr -f -T bf518 -l u-boot-bf518f-ezbrd-uart-2009R1-rc3.ldr /dev/ttyS0  && kermit -l /dev/ttyS0 -b 57600 -C connect

 

 

Loading LDR u-boot-bf518f-ezbrd-uart-2009R1-rc3.ldr ... OK!

Removing stale lock '//var/lock/LCK..ttyS0'

Opening /dev/ttyS0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... Failed: wanted {0xBF,..,..,0x00} but got {0xBF,[0x90],[0x80],0x80}

Failed: Bad file descriptor

 

I would be grateful for any ideas how to fix this.

 

 

 

Moritz

 

QuoteReplyEditDelete

 

 

2009-10-30 07:19:05     Re: BF518F EZ-Board UART booting problem

Moritz von Buttlar (GERMANY)

Message: 81910   

 

I fixed the problem.

 

The command:

 

bfin-uclinux-ldr -T bf518 -l -b 57600  u-boot-bf518f-ezbrd-uart-2009R1-rc3.ldr /dev/ttyS0

 

 

did the trick. Somehow it needs the -b 57600 option on my system.

 

 

 

Moritz

QuoteReplyEditDelete

 

 

2009-10-30 12:29:23     Re: BF518F EZ-Board UART booting problem

Mike Frysinger (UNITED STATES)

Message: 81916   

 

for some reason, BF51x and BF52x systems produce this error a lot when using 115200 baud.  i havent been able to reproduce it reliably yet though.

 

as you found out, running at 57600 baud or lower seems to work fine.

Attachments

    Outcomes