nor flash verify

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nor flash verify

1,368 Views
jagxin
Contributor III

hello

             I have programmed the nor flash with the rcw generated from the pbl tool ,how to read the values that is in the nor flash

when i read 0XE8000000 I am finding 0xffffffff if when  i am executing the commands i was able to read the device id

change p:e8000000 00f0 16bit

change p:e8000aaa 00aa 16bit

change p:e8000554 0055 16bit

change p:e8000aaa 0090 16bit

display p:e8000000..e8000004

display p:e8100000..e8100004

pastedImage_0.png

pastedImage_1.png

pastedImage_2.png

how to find that the code is written to the flash?

Labels (1)
0 Kudos
9 Replies

1,079 Views
lunminliang
NXP Employee
NXP Employee

Hello agxin j,

You can either use dump of flash programer or ccs command to read back the flash content.

Regards

Lunmin

0 Kudos

1,079 Views
jagxin
Contributor III

Hello sir

I had dumped the flash from evm to my board but still  am getting 0 at the console port how to solve this why am I no getting any u boot comments  the serial console ?

0 Kudos

1,079 Views
jagxin
Contributor III

dear sir

thanks for your reply

i have programmed the flash now and i have reverted hard coded rcw to settings corresponding  to boot from nor flash now i have connected my serial console i am getting a 0 on the hyper terminal how to find where it is getting stuck

i have probed the cs of nor flash it is toggling  but some soc information that is appearing in evm is not appearing

how to find the boot code is executing

regards

agxin.j

0 Kudos

1,079 Views
jagxin
Contributor III

sorry sir the last  snap short attached is for nand flash here is the snap for nor flash

pastedImage_0.png

how to find that the code is written to the flash?

0 Kudos

1,079 Views
jagxin
Contributor III

Source flash poke.tcl file is given for reading from freescale how is this code working ? To read the flash id is there any way to find if the flash is locked or not by reading

0 Kudos

1,079 Views
sinanakman
Senior Contributor III

Hi Agxin

Did you try the mem command I mentioned above ?

Regards

Sinan Akman

0 Kudos

1,079 Views
jagxin
Contributor III

thank you sir

it is reading now with mem  command

How this commands are providing the flash id ?

change p:e8000000 00f0 16bit

change p:e8000aaa 00aa 16bit

change p:e8000554 0055 16bit

change p:e8000aaa 0090 16bit

display p:e8000000..e8000004

display p:e8100000..e8100004

regards

agxin

0 Kudos

1,079 Views
sinanakman
Senior Contributor III

Hi agxin

I don't have a CWTAP but you probably

have a "mem" command to display the

memory:

e.g.:

mem 0xe8000000 16

Let me know if this works.

Regards

Sinan Akman

0 Kudos

1,079 Views
sinanakman
Senior Contributor III

Hi

What is the flash you are trying to program.

MT29F4G08ABADAWP you show in the log seems

to be a NAND flash and not  a NOR flash.

What is the exact part number of the flash you

are trying to program.

Regards

Sinan Akman

0 Kudos