How to flash NAND via JTAG

it4rb
Hello everyone.
My mini2440 board had some strange problem, its LCD and serial console
didn't display anything, either in NOR mode or NAND mode. I've just
re-flash supervivi to NOR using H-JTAG, but nothing change. Now, I want to
know if there is a way to download binary image directly to NAND using
H-Jtag without supervivi. I've searched internet for solution, but they
always use supervivi or some NOR bootloader to download image to NAND.
Please give me some suggestion. I'll really appreciate.
Regards.

davef
After you have flashed supervivi to NOR and run DNW you still get nothing
on the terminal?  That suggests a serial communication problem with the PC
or something seriously wrong on the mni2440 dev board.

Have you been able to use DNW before?  Did the board just stop working one
day, so you re-lashed supervivi or did you do something which caused the
mini2440 to stop working properly?

it4rb
Hi davef.
Thanks for your quick response.
I've used DNW before, to backup NAND, and it works fine.
But one beautiful day, board's LCD screen and terminal didn't show
anything, both in NOR mode and NAND mode, so I decided to re-flash NOR.
After that, terminal still empty, but when I plug board to PC via USB, DNW
recognize it OK, and LED still blink well, so I think the problem is
board's rs232 component. But it really strange when terminal and LCD
suddenly stop working at same time. Would you please give me some hint.

TheRegnirps
DO you have other power supplies laying around? Did you connect 9 or 12V by
accident? There are regulators for the CPU but not for some other parts.
There is a jumper beside the LCD connector. Is it on the two pins furthest
from the connector? And check the S3C2440 data sheet. There is no path for
JTAG to NAND. It requires some "helper" code in RAM or in Stepping stone
(can't remember where exactly). Did you get it from anyone with a warranty
- like ARMWorks (2 years).

it4rb
Hi,
I found out that only sipex chip is broken or something. When I connect an
extra USB2COM module (with PL2303) to connector CON1, then things show up
again, so I can install android or else via supervivi.
But in case anyone else need to download directly to NAND, you have to use
H-JTAG as described in FriendlyArm's download manual, but with some mod:
After load "H-Flasher_S29AL016T.hfc" config file (it is for NOR), you have
to go to FlashSelection (first menu on H-Flasher), then expand NAND-FLASH
(last item), then choose S3C2400+K9F2G08 (in my board, you should look to
your board for details). After that, when to 4.Programming, and Check, if
thing's fine, select an image and download it.
You can download some kind of image, from standalone (without OS) image, or
uboot's image... all in .bin format.

Regards.