DNW tool

Higgins
Hello again. I'm trying to backup the NAND flash. After the BIOS menu
appeared I connect the USB cord and press "u" to start the back up
procedure. The the manual says there should be the "Backup NandFlash to
File" menu item I should use for uploading the content. However, my copy of
the DNW tool only has the "Transmit", "Rx Test" and "Status" items under
the "USB Port" menu. The version of the tool, as appeared on the title of
the window, seem to be the same (0.50A), but it looks like I use a
different version. Can anyone please clarify this? Thanks.

Andreas Watterott
You need the DNW version from the download section.

Higgins
Thank you much, that worked.

I also looked at the newest supervivi_20090721.zip in the download section
and found it contains two images of large sizes. When trying to load any of
them my board says the image is too large. Can you explain what the images
are for?

Andreas
There is a new Revision of the boards available with 128MB flash - the old
ones have 64MB.

Higgins
OK, thank you.

But about the supervivi images? When I try to install them, the board says:

Supervivi> load flash vivi u
USB host is connected. Waiting a download.
Length of file is too big : 256348 > 163840
Failed downloading file

Should I re-partition the NAND flash or something?

davef
There are different version of DNW floating around.  My version says
Transmit/Restore and Backup NAND Flash to file under USB Port.  There are
versions that just say Transmit.

In learning to use DNW I came to the "perception" that you had to start at
the beginning and work through all the steps.  I seemed to be able to skip
the first step <x> (partition flash) but not the second step <v>.

Try doing it from the beginning.  

Also, I had to change the start address to 0x32000000 to get Qtopia to work
properly, but that doesn't sound like your problem.

Good luck!

Higgins
Umm, I tried to start with the "x" command, just as it stated in the
manuals, but it fails with the images.

Do you mean your board allows to download the big (those are about 256K)
images with no special configuring, just out of box?

Eero A. Sarlin
you need to have bigger supervivi in the NORflash in order to be able to
program (from supervivis menu anyway) the 256K Vivi image
(or program form commandline version of supervivi tellinf some size larger
than 260k)

I use HJTAG version 0.9.1 to program the NORflash and after some trouble
with badblock I succeeded getting the system working.

P.S: if your board has 64M NAND, dont bother programming the supervivi-128M
it would not work too well.

Higgins
Eero, thanks a lot for the point.

Can anybody tell the start addresses of the supervivi in NAND flash and/or
RAM so I can load it manually?

Higgins
To those who can to download the large vivi images: can you please write
out what your supervivi says when you type

supervivi> part show

Thank you.

blankvin
Is there an executable or source for this tool available for Linux?

android04
blankvin:  There is a linux tool that allows you to upload files to the
Mini2440 through USB.  You have to use your a serial program like picocom
or minicom or gtkterm to send commands to the Mini2440, and send files to
it using the USB program.

Here is the program, source and binary http://www.sendspace.com/file/aaor77

android04
I just realized there was an error in the Makefile, so here is the fixed
one.  Make sure that when you compile that you have libusb-dev installed. 
To run the program, this is what I do:
$ sudo usbpush supervivi_mini2440

http://www.sendspace.com/file/l77q5c

Babu.A
Dear all,

I am trying to communicate with MINI2440 (128MB RAM), and trying to load
images through DNW. help me to configure DNW for serial port configuration,
 system have COM16 (USB to Serial port), DNW having only COM1 to 4.
And need DNW USB driver software. o have tried with DNW-0.6.0 OS is
Windows-XP(SP2).

Regards
Babu.A

Tuxerito
Babu.A Open a new thread for you.

You can change the port number in the Device Manager of Windows.

Babu.A
Thank you, 

Now i am able connect the target board via DNW. i am getting supervivi menu
in terminal once only after resetting the board i am not getting the menu
on terminal. and also not able to give commands to the target board. but
the serial port is working manually i have checked out by putting jumper to
2 and 3 pins.

regards
Babu.A