- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Design Overview
We are using 2- Spansion 16 bit parallel NOR flash S29GL512S11DHI010 for one of our application. The address and data lines from the PowerPC(MPC8548E) are connected to the flash through BUS TRANSCEIVERS. 32 bit data from powerPC to be stored into the flash. WE to the flash generated by PowerPC which is routed through a bus switch. And CE to the flash is directly connected from PowerPC.
Problem Statement
We could download the program to the RAM where as the issue is in downloading program to the flash. We are able to write/read the data into/from the flash through shell commands. Because of which we could read the Manufacturer id, device id, protection verification state and basic feature set information from the device. We are able to perform sector erase, where as chip erase, PPB lock bit read commands are not working.
Error Message
During flashing the chip we are getting an error "Could not unlock block 496 Flash programming terminated" as shown in the attachment.
Requirements of the Device
Power supply to all the devices are intact.
CE to the Flash is getting asserted before the WE is asserted and CE is de-asserted after WE is de-asserted.
Address and data are stabilized before CE & WE are asserted.
OE, RST and WP of the device are intact.
- Labels:
-
Parallel NOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know the shell commands that you use?
Please send the log for both working and not working cases.
Thanks and Regards,
Sudheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please find image attached showing the address and data line connections to the flash. since A29 is connected to A0 of the flash, actual address has to be left shifted by 2.
/Sector Erase
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000aa8 0x55555555
target mw 0xf8001554 0x80808080
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000AA8 0x55555555
target mw 0xf8000000 0x30303030
target mw 0xffc01554 0xAAAAAAAA
target mw 0xffc00aa8 0x55555555
target mw 0xffc01554 0x80808080
target mw 0xffc01554 0xAAAAAAAA
target mw 0xffc00AA8 0x55555555
target mw 0xffc00000 0x30303030
//Write command
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000aa8 0x55555555
target mw 0xf8001554 0xA0A0A0A0
target mw 0xf80000a0 0x99999999
target mw 0xffc01554 0xAAAAAAAA
target mw 0xffc00aa8 0x55555555
target mw 0xffc01554 0xA0A0A0A0
target mw 0xffc00050 0xA5A5A5A5
//Chip Erase
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000aa8 0x55555555
target mw 0xf8001554 0x80808080
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000aa8 0x55555555
target mw 0xf8001554 0x10101010
target mw 0xffc01554 0xAAAAAAAA
target mw 0xffc00aa8 0x55555555
target mw 0xffc01554 0x80808080
target mw 0xffc01554 0xAAAAAAAA
target mw 0xffc00aa8 0x55555555
target mw 0xffc01554 0x10101010
//ID-CFI Entry
target mw 0xf8001554 0xAAAAAAAA
target mw 0xf8000aa8 0x55555555
target mw 0xf8001554 0x90909090
target mw 0xf8000154 0x98989898
target mr 0xf8000000
target mr 0xf8000004
target mr 0xf800000c
target mr 0xf8000038
target mw 0xf8000000 0xF0f0f0f0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the delay to get back to you. Are you still facing this issue? If yes, could you please provide us the schematic diagram for your application. It will help us to understand how are the 2 flash devices connected in your application.
Thanks and Regards,
Sudheesh