[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Serial boot problems
Hello,
since our new board does only support serial boot, I am trying to flash
the etrax from the serial port (axis82 devboard). My problem is similar
to that Eric Fernandez posted one week ago, except that I receive a "Got
ack" from the etrax. I can upload the whole image to the etrax but at
the end nothing happens.
Here my steps:
1. Set the etrax in serial boot mode:
Connected Pin 2 and 3, how it is shown in
http://developer.axis.com/doc/hardware/devboard_82/21232r2_schema.pdf,
page 7.
After power on the etrax seems to be in boot mode.
2. Executed etrax100boot:
etrax100boot --serial --device /dev/ttyS0 --baudrate 9600 --setreg
b0000000 000095f8 --setreg b0000004 00000004 --setreg b000000c 00e03636
--setreg b0000008 8000c002 --pause 20000 --setreg b0000008 8000c602
--setreg b0000008 8000c002 --setreg +0 7 --label label1 --setreg
b0000008 8000c402 --setreg b0000008 8000c002 --loop +0 label1 --setreg
b0000008 8060c202 --setreg b0000008 8000c002 --setreg b0000008 80008002
--setreg b0000030 00001df0 --setreg b0000038 00001ef3 --file flash1.img
c0004000 --flash c0004000 10000 350000 --jump 0
After starting the etrax100boot the second status led switched on.
I get the following output:
Using internal boot loader: INTERNAL_SER - Serial boot.
Starting boot...
We're doing a flash write, this may take up to a few minutes...
# transmitting file 'INTERNAL_SER'
# transmitting 6546 bytes at baudrate 9600.
# Got ack.
# Got ack.
# Got ack.
...[many got acks]
# transmitting file 'BOOT_CMDS'
# transmitting 492 bytes at baudrate 9600.
# Got ack.
...[got ack]
# transmitting file 'flash1.img'
# transmitting 1460 bytes at baudrate 9600.
# transmitting 1460 bytes at baudrate 9600.
# transmitting 1460 bytes at baudrate 9600.
...
# Transmission done. Just listening now.
After "Transmission done" it just hangs there.
I think the etrax should also send an ACK for every packet during the
transmission of flash1.img, shouldn't it?
Any suggestions how to proceed?
Thanks,
Hannes