Nor flash EN29LV160AB programing in h-jtag?

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Nor flash EN29LV160AB programing in h-jtag?

Post by esky-sh » Sun Nov 27, 2011 12:34 am

I received the GT2440 board with 4,3" lcd as described.
I powered it and
it started.
It was with linux in NAND memory.
In order to install Windows
CE, I switched to NOR and VIVI started.
I downloaded nboot and logo for
windows CE.
When I started to download the BIN file from Windows image the
VIVI stopped to receive data and the software to send data by USB (DNW)
remains stopped. Weird behavior, so I thought in corrupted VIVI.
I started
H-JTAG and started to flash with new bootloader.
But when it start to
program, it reports error to erase memory. I checked the ID of memo, and
it's ok as selected in program. It's all ok. But during erase procedure I
got error. A damaged NOR memory explains both problems. The brand is EON
P/N: EN29LV160AB
Since I never seem this brand before in my life, I'm very
inclined to say that the NOR memo is damaged. Everything else is fine, but
NOR memo seems to be damaged.

Please could you help me with that
?

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Re: Nor flash programing in h-jtag?

Post by esky-sh » Sun Nov 27, 2011 12:34 am

1. Here is a steps/guide for how to update nand flash for wince(You can also find it in your user guide)
viewtopic.php?f=6&t=406
2. For nor flash programming
viewtopic.php?f=6&t=45

We may change supplier of nor flash but customer will not run into any trouble for programming. You can find the supplier name in h-jtag.

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Re: Nor flash programing in h-jtag?

Post by esky-sh » Sun Nov 27, 2011 12:35 am

Thanks for your reply.

I already tried to do the flashing but the memory is having problems.
The H-JTAG can't erase it.
That points to some hardware error, wich means a damaged memory IC.
Also, damaged memory explains the VIVI bootloader crash when downloading a large file like NK.bin

Another clue is when I perform ERASE operation in H-JTAG.
It starts to erase, runs for few seconds, but after few blocks, the erase error appears.
That idicates some region of memory IC damaged.
Explains why VIVI appears (Initial area of IC is good) but crash in some functions (Middle and final area of IC is bad).

I have another GT2440 board here with me. (A model with 3,5" LCD)
I bought from another person. It's the same board but different display.
I flashed using the same process wich indicates that my system (computer, OS, H-JTAG and parallel port ) is working fine.

Sorry, but I'm 99% sure that the IC from EON is damaged and must be replaced.
The problem is that now I don't have nothing in NAND and nothing in NOR.
The board is here, but it's empty. No way to load anything due to the NOR memory.

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Re: Nor flash programing in h-jtag?

Post by esky-sh » Sun Nov 27, 2011 12:45 am

Hi,

There are 4 independent 'memory' blocks on this S3C2440 boards: inernal SRAM, on board SDRAM, on board NOR-FLASH and on board NAND-FLASH.
When you boot from 'nand' switch, then NAND-FLASH and SDRAM been engaged;
When you boot from 'nor' swtich, then NOR-FLASH and SDRAM been engaged;
When you connect the board with H-JTAG, then internal SRAM been engaged;

We can not isolate the issue you met to any hardware block until more detailed info. provided from your side.
Could you tell us what the h-jtag version you were using on your PC? Which configuration file(.hfc) you were using?

giovaniluigi
Posts: 7
Joined: Fri Sep 30, 2011 6:17 pm

Re: Nor flash programing in h-jtag?

Post by giovaniluigi » Sun Nov 27, 2011 7:35 pm

I'm using H-JTAG 1.0. I switched to the version provided by you in CD but the memory is not listed. I loaded your config file (.hfc) on flasher but after loading, no memory is selected.

On manual the memory is from SST. I tried the model in manual but the ID doesn't match.

So, I need to use H-JTAG 1.0 or help to add the memory from EON in H-JTAG 0.4.4 (Version from CD).

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Re: Nor flash programing in h-jtag?

Post by esky-sh » Sun Nov 27, 2011 10:05 pm

giovaniluigi wrote:I'm using H-JTAG 1.0. I switched to the version provided by you in CD but the memory is not listed. I loaded your config file (.hfc) on flasher but after loading, no memory is selected.

On manual the memory is from SST. I tried the model in manual but the ID doesn't match.

So, I need to use H-JTAG 1.0 or help to add the memory from EON in H-JTAG 0.4.4 (Version from CD).
yes. h-jtag can only support EON from v0.9.1.
Here is configure files attached.

Further questions:
1. Had you switched your boot mode switch to 'nor' mode when you doing nor flash programming?
2. Can you provide further error info when you doing programming on h-jtag? screen shots will be fine.
3. Can you switch to a later hjtag version, say v1.1?
4. Can you provide some photos for the CPU board on your hand? This will help us identify the date code bar on back of board.
Attachments
H-Flasher_GT2440.zip
(695 Bytes) Downloaded 414 times

giovaniluigi
Posts: 7
Joined: Fri Sep 30, 2011 6:17 pm

Re: Nor flash EN29LV160AB programing in h-jtag?

Post by giovaniluigi » Mon Nov 28, 2011 6:20 pm

I updated to H-JTAG 1.1 and used your files in .rar and now it worked. :shock:

The NOR memory is programed. :D

Image

The problem now is that the old error remains.
Supervivi seems to crash when trying to download NK.bin.
DNW remains in 0% forever... :o

Image

Any ideas about why supervivi is not loading NK.bin ? :?:

giovaniluigi
Posts: 7
Joined: Fri Sep 30, 2011 6:17 pm

Re: Nor flash EN29LV160AB programing in h-jtag?

Post by giovaniluigi » Mon Nov 28, 2011 7:37 pm

Supervivi still not working.

I tried to download NK.bin with DNW 0.50, DNW 0.50L for WinCE and now,
I updated DNW for version 1.01 and followed this sequence of command on supervivi:

f -> format nand
v -> download vivi
n -> download nBoot
l -> download logo
w -> download NK.bin (got error)

Any other sequence worked till try to download NK.bin then it resulted in the same problem.

I configured DNW as I saw in a tutorial to download to address 0x3000000000
but I think that supervivi handle this part, so address doesn't mather... That's correct ?

esky-sh
Posts: 1435
Joined: Sat Dec 20, 2008 4:21 am

Re: Nor flash EN29LV160AB programing in h-jtag?

Post by esky-sh » Mon Nov 28, 2011 8:21 pm

esky-sh wrote:1. Here is a steps/guide for how to update nand flash for wince(You can also find it in your user guide)
viewtopic.php?f=6&t=406

giovaniluigi
Posts: 7
Joined: Fri Sep 30, 2011 6:17 pm

Re: Nor flash EN29LV160AB programing in h-jtag?

Post by giovaniluigi » Tue Nov 29, 2011 4:45 am

Problem remains,
Supervivi doesn't download NK.bin
DNW remains stopped instead sending file.

I flashed NOR with Supervivi-128M as it is in CD.

My question is why inside supervivi I have to download vivi [v] ?
I need to switch to NAND to download NK.bin ?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest