[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] uart issue in "fs-boot" - ML505
Hi all,
I'm experiencing an issue with loading the U-BOOT SREC file over
serial to FS-BOOT. I see FS-BOOT outputs on the kermit console and it
just hangs waiting for the SREC even long after "cat /tftpboot/u-boot-
s.srec > /dev/ttyS0" returns.
I then looked at FS-BOOT code and insert debug messages inside of
"get_ch" routine to figure out what kind of data FS-BOOT is getting
and noticed that the function XUartLite_mIsReceiveEmpty(UART_BASEADDR)
is always false, even if I don't send anything to the board from the
host, hinting that there's always data in the receive buffer and these
characters are always FFFFFF.....
So it seems like the setting is incorrect somewhere since the while
loop is not working. Has anybody came across this behavior?
char get_ch(void) {
while (XUartLite_mIsReceiveEmpty(UART_BASEADDR)) ;
.......
}
Thanks
Tyler
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/