Re: problem in downloading nk.bin
- From: "Henrik Viklund" <henrik.viklund@xxxxxxxxx>
- Date: 18 Jan 2007 14:36:59 -0800
Chitra skrev:
Thank you for your reply.
Now the transfer rate is increased to 47kb/sec and it downloads till
13% i.e, 1.9MB and then gets disconnected.
OK. That's still slow. Are you flashing the image on-the-fly, or are
you just storing it to RAM?
I checked in ethereal during download process,
I found UDP packets sent by target and development workstation. The
development workstation sends UDP packet which has 516 bytes and then
target sends UDP packet which has 4 bytes of data alternately. I found
PB uses the TFTP protocol (on port 980) so if you want to you can let
ethereal map that protocol onto the frames. 512+4 out and 4 in is just
as expected. No resends indicate that the device atleast dosn't seem to
drop random frames.
that after downloading 1.9MB, my target doesn't send any packet,
whereas development workstation sends 4 UDP packet and then it stops
sending the UDP packets. I am not able to find out why the target
stopped sending packets. Can anybody help. Please reply.
Well, this is where it gets tricky. Had you provided any sort of debug
info it would be a lot easier. You could be overwriting someting
important (like the bootloader itself), you've got a rotten ethernet
lib, the watchdog kicks in etc, etc, etc. There are *endless*
possibilities!
You say you've developed the bootloader, so you must have a JTAG
debugger? Debug output over serial? LEDs?
Henrik Viklund
http://www.addlogic.se
Thanks & regards,
Chitra
Henrik Viklund wrote:
7 kb/s ?!? You got a *serious* performance issue here. Not knowing
exactly what your board is capable of, I'd expect at least a couple of
hundred kb/second download rates. Are you using a debug built
bootloader?
The syptom you describe may happen if PB thinks it lost contact with
the device. What happens is probably that PB don't get acks fast enough
(or that it did too many retries), or that your device has stopped
responding alltogether. Use a software ethernet analyzer such as
ethereal to see what communication takes place between the device and
host during download, if there are lots of resends, if the device is
allways slow to respond etc.
Henrik Viklund
http://www.addlogic.se
Chitra skrev:
Hi all,
I am developing BSP for MC9328MXL litekit. I have developed the
bootloader. I am not able to download nk.bin. The board has CS8900A
ethernet controller. Platform Builder recognizes the target device and
download window pops up and it displays downloading nk.bin at a rate of
7KB/SEC but after 7% is complete, the dialog box closes and in platform
builder I get the message as
The Kernel Debugger has been successfully disconnected.
I don't know what the problem could be. Please reply.
Thanks & Regards,
Chitra
.
- Follow-Ups:
- Re: problem in downloading nk.bin
- From: Chitra
- Re: problem in downloading nk.bin
- References:
- problem in downloading nk.bin
- From: Chitra
- Re: problem in downloading nk.bin
- From: Henrik Viklund
- Re: problem in downloading nk.bin
- From: Chitra
- problem in downloading nk.bin
- Prev by Date: Re: DeviceIoControl () call fails and GetLastError() says Error_Success
- Next by Date: Re: USB host port 2
- Previous by thread: Re: problem in downloading nk.bin
- Next by thread: Re: problem in downloading nk.bin
- Index(es):
Relevant Pages
|
Loading