Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Angelo Dureghello
Dear Ramesh, you're welcome, happy to help. Anyway, i suggest you to update to ALL the last "master" git tree, since overwriting a single file can bring you to some other misalignment/malfunction. You can find eventually instructions here: http://www.denx.de/en/Software/GIT Best Regards, Ange

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-23 Thread Ramesh K Khokhani
Dureghello [mailto:sysa...@gmail.com] Sent: Wednesday, January 16, 2013 3:56 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-22 Thread Ramesh K Khokhani
ause of our M29W128GL has interface code = 2 (X8X16). Please help me. Thanks a lot. -Original Message- From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Sunday, January 20, 2013 7:59 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-20 Thread Ramesh K Khokhani
From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Sunday, January 20, 2013 7:59 PM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, i am using last u-boot form git / master. You can get the file fome there, just go

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-20 Thread Angelo Dureghello
Dear Ramesh, i am using last u-boot form git / master. You can get the file fome there, just go to u-boot site, custodians, click "master", selct tree and click on the file. Still, some questions: How is the flash connected, as 8 or 16 bit data port ? Is the flash connected stirght D0/D15 to D0

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-18 Thread Ramesh K Khokhani
lash Not Erased Problem with M29W128GL Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing works fine. >From your debug trace seems the correct erasing command (0x30) is sent. But the function you mentioned detect that flash is not erase

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-16 Thread Angelo Dureghello
Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing works fine. >From your debug trace seems the correct erasing command (0x30) is sent. But the function you mentioned detect that flash is not erased. Are you using a 16bit port for data co

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Ramesh K Khokhani
& Warm Regards, Ramesh -Original Message- From: Angelo Dureghello [mailto:sysa...@gmail.com] Sent: Wednesday, January 16, 2013 5:09 AM To: u-boot@lists.denx.de Cc: Ramesh K Khokhani Subject: Re: [U-Boot] Flash Not Erased Problem with M29W128GL Dear Ramesh, this issue could be conn

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Angelo Dureghello
Dear Ramesh, this issue could be connected to a patch i recently posted to the list, where the erase command is now allowed to be customizable for CFI AMD compatible chips only. Are you using board_flash_get_legacy in your board files ? If yes, could you just add after line 1834 in cfi_flash.c

[U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-15 Thread Ramesh K Khokhani
Hi Friends, I have my custom board with MCF5329 processor and M29W128GL (16MB NOR). I have LTIB package from freescale of M5329EVB board. I am using this package and modified according M29W128GL NOR. Like * FLASH organization */ #define CONFIG_SYS_FLASH_CFI #ifdef CONFIG_SYS_FLASH_CFI # def