Newly-erased Block...
Hi Artem,
do you remember about my flash problem?
Quoted 3 lines
Quoted 3 lines
/>mount -t jffs2
/dev/mtdblock5/mnt
/>Newly-erased block contained word0x4c004cat offest0x00040000Newly-erased block contained word0x4c004cat offest0x00030000
I have found the cause : the Samsung S3C4510b when access to the memory use the "cache" by default.
If you have to disable it (like while you program the flash) you have to 'or 0x4000000 to the base address.
So I have modifyed the file "cfi_cmdset_0002.c" as follow :
for esample: "do_erase_chip" function ... chip->start |= 0x4000000; //my modify!!!!!!!!!!!!! chip->state = FL_ERASING; ENABLE_VPP(map);
cfi_send_gen_cmd(0xAA,cfi->addr_unlock1,chip->start,map,cfi,......
I did the same for every "cfi_send_gen_cmd" : the 3rd parameter has been ored to 0x4000000.
What do you think about this modify? Do you know a better way?
Now I still have one warning msg :
"Warning: DQ5 raised while program operation was in progress,
however operation completed OK"
Can I ignore this msg?
Thanks!
Massimo.
Quoted 1 line · Calò Massimo
What do you think about this modify? Do you know a better way?
I'm sorry Carlo, I have never used CFI and have no comments. But there are compitent people present here, the may comment this.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.