- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
S29GL01GT10TFI010 NOR Flash is used in our design.
We were using a sector to write and read for about months.
Now while trying to do erase using U-Boot erase command, particular address in that sector throws error that erase operation reached time out.
Other sectors excluding which contains that address is working file with erase , write and read operation.
- Labels:
-
Parallel NOR
-
Part Number Query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We would like to know more details about this issue. Can you provide the log messages showing the error? What is the address of the sector in which this error happens?
Thanks and Regards,
Sudheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using MPC8548 processor and using U-Boot to load the files to flash using flash commands in it.
I used the erase command " erase 0xf8020000 0xf841ffff "
The error while doing erase is " flash erase timeout at address 0xf8300000 data 440044"
The base address for flash in the memory map is " 0xf8000000 ".
Arunkumar P
Design Engineer
CoreEL Technologies Pvt Ltd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We would like to know some more details about this issue. Could you please provide below information?
1) u-boot version
2) What is the timeout setting for sector erase in the u-boot?
3) The error always occurs on the same sector or random sector?
4) Sector protection status, if erase error occurs on the same sectors always.
Thanks and Regards,
Sudheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
1) u-boot version
UBOOT mpc8548 1.5 based version (It is customized)
2) What is the timeout setting for sector erase in the u-boot?
Will get you this data as soon as possible. But one information is we have multiple boards with same uboot. Only one board is having this issue that too after long time (approx. 8 months)
3) The error always occurs on the same sector or random sector?
The error occurs in the same sector and same location all the time.
4) Sector protection status, if erase error occurs on the same sectors always.
Sector protection is disabled.
Thank You,
Arunkumar P
Design Engineer
Mobile : (+91) 8072194473
Website : www.coreel.com<http://www.coreel.com/>
Ph: (+91)80-41970400
Fax: (+91)80-66885410
CoreEL Technologies,
#21, 7th Main, 1st Block , Koramangala,
Bangalore 560034
<https://www.facebook.com/CoreELTechnologies> <https://www.linkedin.com/company/coreel-technologies?trk=company_logo>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As per the data that you provided, you are observing this issue only in of of the boards, after 8 months of operation. One of the reasons for this behavior can be that, the erase time in our flash device got longer after 8 months of usage and the timeout in your application is not enough to handle it. How long do you wait for an erase operation to finish?
Thanks and Regards,
Sudheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The time out value in the U-Boot is 1ms. Which is more than 50us which is suggested in the NOR-flash datasheet.
Thank You,
Arunkumar P
Design Engineer
Mobile : (+91) 8072194473
Website : www.coreel.com<http://www.coreel.com/>
Ph: (+91)80-41970400
Fax: (+91)80-66885410
CoreEL Technologies,
#21, 7th Main, 1st Block , Koramangala,
Bangalore 560034
<https://www.facebook.com/CoreELTechnologies> <https://www.linkedin.com/company/coreel-technologies?trk=company_logo>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please see the section "Embedded Algorithm Performance Table" on page 46 of datasheet (https://www.cypress.com/file/218336/download ).
e.g. Typical sector erase time of industrial grade device is (-40°C to +85°C) 535 ms and maximum sector erase time is 3500 ms. So, the timeout period in your application should be more than 3500 ms for sector erase operation. Please increase the timeout period and test again.
The datasheet spec tSEA (Sector Erase Time-Out = 50us) is not for the erase operation to complete. This timeout period allows user to send additional sector erase commands to other sectors after sending first sector erase command. Please see the below paragraph from datasheet.
"After the command sequence is written, a sector erase time-out of tSEA occurs. During the time-out period, additional sector addresses and sector erase commands may be written. Invalid commands will be ignored during the time-out period. Loading the sector erase buffer may be done in any sequence, and the number of sectors may be from one sector to all sectors. The time between these additional cycles must be less than tSEA, otherwise erasure may begin. Any sector erase address and command following the exceeded time-out may or may not be accepted. It is recommended that processor interrupts be disabled during this time to ensure all commands are accepted. The interrupts can be re-enabled after the last Sector Erase command is written."
Please see the flowchart for sector erase operation given on page 31 of the datasheet for better understanding. Feel free to ask if you need any clarifications.
Thanks and Regards,
Sudheesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The log when "erase all" and "flinfo"command is issued using U-Boot:
U-Boot 1.3.4-mc8548_v5 (Oct 10 2014 - 10:52:40)
This is a test message
This is a test message
This is a test message
This is a test message
CPU: 8548E, Version: 3.1, (0x80390031)
Core: E500, Version: 2.2, (0x80210022)
Clock Configuration:
CPU: 800 MHz, CCB: 400 MHz,
DDR: 0 MHz (0 MT/s data rate), LBC: 50 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: X-ES MC8548BOARD 3U VPX SBC
I2C: ready
performing POST
DRAM: 512 MB
len = 3767044810204080100200400481020408010020040048102040801002004004810204080100200400FLASH: Executed from FLASH1
POST memory PASSED
FLASH: 128 MB
L2: 512 KB enabled
NAND: Chip select disabled
PCIE1 connected as End Point (x4)
PCIE1 on bus 00 - 00
In: serial
Out: serial
Err: serial
Net: eTSEC1, eTSEC2
POST i2c PASSED
Hit any key to stop autoboot: 10 9 8 7 6 0
=> erase all
Erase Flash Bank # 1 - Warning: 6 protected sectors will not be erased!
........................Flash erase timeout at address f8300000 data 440044
...............................................................Flash erase timeout at address f8b00000 data 888c888c
...............................................................Flash erase timeout at address f9300000 data 440044
...............................................................Flash erase timeout at address f9b00000 data 888c888c
...............................................................Flash erase timeout at address fa300000 data 440044
...............................................................Flash erase timeout at address fab00000 data 888c888c
...............................................................Flash erase timeout at address fb300000 data 440044
...............................................................Flash erase timeout at address fbb00000 data 888c888c
...............................................................Flash erase timeout at address fc300000 data 440044
...............................................................Flash erase timeout at address fcb00000 data 888c888c
...............................................................Flash erase timeout at address fd300000 data 440044
...............................................................Flash erase timeout at address fdb00000 data 888c888c
...............................................................Flash erase timeout at address fe300000 data 440044
...............................................................Flash erase timeout at address feb00000 data 888c888c
...............................................................Flash erase timeout at address ff300000 data 440044
...............................................................Flash erase timeout at address ffb00000 data 888c888c
................................. done
=>
flinfo
Bank # 1: CFI conformant FLASH (16 x 16) Size: 128 MB in 1024 Sectors
AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x227E
Erase timeout: 4096 ms, write timeout: 2 ms
Buffer write timeout: 2 ms, buffer size: 512 bytes
Sector Start Addresses:
F8000000 F8020000 F8040000 F8060000 F8080000
F80A0000 F80C0000 F80E0000 F8100000 F8120000
F8140000 F8160000 F8180000 F81A0000 F81C0000
F81E0000 F8200000 F8220000 F8240000 F8260000
F8280000 F82A0000 F82C0000 F82E0000 F8300000
F8320000 F8340000 F8360000 F8380000 F83A0000
F83C0000 F83E0000 F8400000 F8420000 F8440000
F8460000 F8480000 F84A0000 F84C0000 F84E0000
F8500000 F8520000 F8540000 F8560000 F8580000
F85A0000 F85C0000 F85E0000 F8600000 F8620000
F8640000 F8660000 F8680000 F86A0000 F86C0000
F86E0000 F8700000 F8720000 F8740000 F8760000
F8780000 F87A0000 F87C0000 F87E0000 F8800000
F8820000 F8840000 F8860000 F8880000 F88A0000
F88C0000 F88E0000 F8900000 F8920000 F8940000
F8960000 F8980000 F89A0000 F89C0000 F89E0000
F8A00000 F8A20000 F8A40000 F8A60000 F8A80000
F8AA0000 F8AC0000 F8AE0000 F8B00000 F8B20000
F8B40000 F8B60000 F8B80000 F8BA0000 F8BC0000
F8BE0000 F8C00000 F8C20000 F8C40000 F8C60000
F8C80000 F8CA0000 F8CC0000 F8CE0000 F8D00000
F8D20000 F8D40000 F8D60000 F8D80000 F8DA0000
F8DC0000 F8DE0000 F8E00000 F8E20000 F8E40000
F8E60000 F8E80000 F8EA0000 F8EC0000 F8EE0000
F8F00000 F8F20000 F8F40000 F8F60000 F8F80000
F8FA0000 F8FC0000 F8FE0000 F9000000 F9020000
F9040000 F9060000 F9080000 F90A0000 F90C0000
F90E0000 F9100000 F9120000 F9140000 F9160000
F9180000 F91A0000 F91C0000 F91E0000 F9200000
F9220000 F9240000 F9260000 F9280000 F92A0000
F92C0000 F92E0000 F9300000 F9320000 F9340000
F9360000 F9380000 F93A0000 F93C0000 F93E0000
F9400000 F9420000 F9440000 F9460000 F9480000
F94A0000 F94C0000 F94E0000 F9500000 F9520000
F9540000 F9560000 F9580000 F95A0000 F95C0000
F95E0000 F9600000 F9620000 F9640000 F9660000
F9680000 F96A0000 F96C0000 F96E0000 F9700000
F9720000 F9740000 F9760000 F9780000 F97A0000
F97C0000 F97E0000 F9800000 F9820000 F9840000
F9860000 F9880000 F98A0000 F98C0000 F98E0000
F9900000 F9920000 F9940000 F9960000 F9980000
F99A0000 F99C0000 F99E0000 F9A00000 F9A20000
F9A40000 F9A60000 F9A80000 F9AA0000 F9AC0000
F9AE0000 F9B00000 F9B20000 F9B40000 F9B60000
F9B80000 F9BA0000 F9BC0000 F9BE0000 F9C00000
F9C20000 F9C40000 F9C60000 F9C80000 F9CA0000
F9CC0000 F9CE0000 F9D00000 F9D20000 F9D40000
F9D60000 F9D80000 F9DA0000 F9DC0000 F9DE0000
F9E00000 F9E20000 F9E40000 F9E60000 F9E80000
F9EA0000 F9EC0000 F9EE0000 F9F00000 F9F20000
F9F40000 F9F60000 F9F80000 F9FA0000 F9FC0000
F9FE0000 FA000000 FA020000 FA040000 FA060000
FA080000 FA0A0000 FA0C0000 FA0E0000 FA100000
FA120000 FA140000 FA160000 FA180000 FA1A0000
FA1C0000 FA1E0000 FA200000 FA220000 FA240000
FA260000 FA280000 FA2A0000 FA2C0000 FA2E0000
FA300000 FA320000 FA340000 FA360000 FA380000
FA3A0000 FA3C0000 FA3E0000 FA400000 FA420000
FA440000 FA460000 FA480000 FA4A0000 FA4C0000
FA4E0000 FA500000 FA520000 FA540000 FA560000
FA580000 FA5A0000 FA5C0000 FA5E0000 FA600000
FA620000 FA640000 FA660000 FA680000 FA6A0000
FA6C0000 FA6E0000 FA700000 FA720000 FA740000
FA760000 FA780000 FA7A0000 FA7C0000 FA7E0000
FA800000 FA820000 FA840000 FA860000 FA880000
FA8A0000 FA8C0000 FA8E0000 FA900000 FA920000
FA940000 FA960000 FA980000 FA9A0000 FA9C0000
FA9E0000 FAA00000 FAA20000 FAA40000 FAA60000
FAA80000 FAAA0000 FAAC0000 FAAE0000 FAB00000
FAB20000 FAB40000 FAB60000 FAB80000 FABA0000
FABC0000 FABE0000 FAC00000 FAC20000 FAC40000
FAC60000 FAC80000 FACA0000 FACC0000 FACE0000
FAD00000 FAD20000 FAD40000 FAD60000 FAD80000
FADA0000 FADC0000 FADE0000 FAE00000 FAE20000
FAE40000 FAE60000 FAE80000 FAEA0000 FAEC0000
FAEE0000 FAF00000 FAF20000 FAF40000 FAF60000
FAF80000 FAFA0000 FAFC0000 FAFE0000 FB000000
FB020000 FB040000 FB060000 FB080000 FB0A0000
FB0C0000 FB0E0000 FB100000 FB120000 FB140000
FB160000 FB180000 FB1A0000 FB1C0000 FB1E0000
FB200000 FB220000 FB240000 FB260000 FB280000
FB2A0000 FB2C0000 FB2E0000 FB300000 FB320000
FB340000 FB360000 FB380000 FB3A0000 FB3C0000
FB3E0000 FB400000 FB420000 FB440000 FB460000
FB480000 FB4A0000 FB4C0000 FB4E0000 FB500000
FB520000 FB540000 FB560000 FB580000 FB5A0000
FB5C0000 FB5E0000 FB600000 FB620000 FB640000
FB660000 FB680000 FB6A0000 FB6C0000 FB6E0000
FB700000 FB720000 FB740000 FB760000 FB780000
FB7A0000 FB7C0000 FB7E0000 FB800000 FB820000
FB840000 FB860000 FB880000 FB8A0000 FB8C0000
FB8E0000 FB900000 FB920000 FB940000 FB960000
FB980000 FB9A0000 FB9C0000 FB9E0000 FBA00000
FBA20000 FBA40000 FBA60000 FBA80000 FBAA0000
FBAC0000 FBAE0000 FBB00000 FBB20000 FBB40000
FBB60000 FBB80000 FBBA0000 FBBC0000 FBBE0000
FBC00000 FBC20000 FBC40000 FBC60000 FBC80000
FBCA0000 FBCC0000 FBCE0000 FBD00000 FBD20000
FBD40000 FBD60000 FBD80000 FBDA0000 FBDC0000
FBDE0000 FBE00000 FBE20000 FBE40000 FBE60000
FBE80000 FBEA0000 FBEC0000 FBEE0000 FBF00000
FBF20000 FBF40000 FBF60000 FBF80000 FBFA0000
FBFC0000 FBFE0000 FC000000 FC020000 FC040000
FC060000 FC080000 FC0A0000 FC0C0000 FC0E0000
FC100000 FC120000 FC140000 FC160000 FC180000
FC1A0000 FC1C0000 FC1E0000 FC200000 FC220000
FC240000 FC260000 FC280000 FC2A0000 FC2C0000
FC2E0000 FC300000 FC320000 FC340000 FC360000
FC380000 FC3A0000 FC3C0000 FC3E0000 FC400000
FC420000 FC440000 FC460000 FC480000 FC4A0000
FC4C0000 FC4E0000 FC500000 FC520000 FC540000
FC560000 FC580000 FC5A0000 FC5C0000 FC5E0000
FC600000 FC620000 FC640000 FC660000 FC680000
FC6A0000 FC6C0000 FC6E0000 FC700000 FC720000
FC740000 FC760000 FC780000 FC7A0000 FC7C0000
FC7E0000 FC800000 FC820000 FC840000 FC860000
FC880000 FC8A0000 FC8C0000 FC8E0000 FC900000
FC920000 FC940000 FC960000 FC980000 FC9A0000
FC9C0000 FC9E0000 FCA00000 FCA20000 FCA40000
FCA60000 FCA80000 FCAA0000 FCAC0000 FCAE0000
FCB00000 FCB20000 FCB40000 FCB60000 FCB80000
FCBA0000 FCBC0000 FCBE0000 FCC00000 FCC20000
FCC40000 FCC60000 FCC80000 FCCA0000 FCCC0000
FCCE0000 FCD00000 FCD20000 FCD40000 FCD60000
FCD80000 FCDA0000 FCDC0000 FCDE0000 FCE00000
FCE20000 FCE40000 FCE60000 FCE80000 FCEA0000
FCEC0000 FCEE0000 FCF00000 FCF20000 FCF40000
FCF60000 FCF80000 FCFA0000 FCFC0000 FCFE0000
FD000000 FD020000 FD040000 FD060000 FD080000
FD0A0000 FD0C0000 FD0E0000 FD100000 FD120000
FD140000 FD160000 FD180000 FD1A0000 FD1C0000
FD1E0000 FD200000 FD220000 FD240000 FD260000
FD280000 FD2A0000 FD2C0000 FD2E0000 FD300000
FD320000 FD340000 FD360000 FD380000 FD3A0000
FD3C0000 FD3E0000 FD400000 FD420000 FD440000
FD460000 FD480000 FD4A0000 FD4C0000 FD4E0000
FD500000 FD520000 FD540000 FD560000 FD580000
FD5A0000 FD5C0000 FD5E0000 FD600000 FD620000
FD640000 FD660000 FD680000 FD6A0000 FD6C0000
FD6E0000 FD700000 FD720000 FD740000 FD760000
FD780000 FD7A0000 FD7C0000 FD7E0000 FD800000
FD820000 FD840000 FD860000 FD880000 FD8A0000
FD8C0000 FD8E0000 FD900000 FD920000 FD940000
FD960000 FD980000 FD9A0000 FD9C0000 FD9E0000
FDA00000 FDA20000 FDA40000 FDA60000 FDA80000
FDAA0000 FDAC0000 FDAE0000 FDB00000 FDB20000
FDB40000 FDB60000 FDB80000 FDBA0000 FDBC0000
FDBE0000 FDC00000 FDC20000 FDC40000 FDC60000
FDC80000 FDCA0000 FDCC0000 FDCE0000 FDD00000
FDD20000 FDD40000 FDD60000 FDD80000 FDDA0000
FDDC0000 FDDE0000 FDE00000 FDE20000 FDE40000
FDE60000 FDE80000 FDEA0000 FDEC0000 FDEE0000
FDF00000 FDF20000 FDF40000 FDF60000 FDF80000
FDFA0000 FDFC0000 FDFE0000 FE000000 FE020000
FE040000 FE060000 FE080000 FE0A0000 FE0C0000
FE0E0000 FE100000 FE120000 FE140000 FE160000
FE180000 FE1A0000 FE1C0000 FE1E0000 FE200000
FE220000 FE240000 FE260000 FE280000 FE2A0000
FE2C0000 FE2E0000 FE300000 FE320000 FE340000
FE360000 FE380000 FE3A0000 FE3C0000 FE3E0000
FE400000 FE420000 FE440000 FE460000 FE480000
FE4A0000 FE4C0000 FE4E0000 FE500000 FE520000
FE540000 FE560000 FE580000 FE5A0000 FE5C0000
FE5E0000 FE600000 FE620000 FE640000 FE660000
FE680000 FE6A0000 FE6C0000 FE6E0000 FE700000
FE720000 FE740000 FE760000 FE780000 FE7A0000
FE7C0000 FE7E0000 FE800000 FE820000 FE840000
FE860000 FE880000 FE8A0000 FE8C0000 FE8E0000
FE900000 FE920000 FE940000 FE960000 FE980000
FE9A0000 FE9C0000 FE9E0000 FEA00000 FEA20000
FEA40000 FEA60000 FEA80000 FEAA0000 FEAC0000
FEAE0000 FEB00000 FEB20000 FEB40000 FEB60000
FEB80000 FEBA0000 FEBC0000 FEBE0000 FEC00000
FEC20000 FEC40000 FEC60000 FEC80000 FECA0000
FECC0000 FECE0000 FED00000 FED20000 FED40000
FED60000 FED80000 FEDA0000 FEDC0000 FEDE0000
FEE00000 FEE20000 FEE40000 FEE60000 FEE80000
FEEA0000 FEEC0000 FEEE0000 FEF00000 FEF20000
FEF40000 FEF60000 FEF80000 FEFA0000 FEFC0000
FEFE0000 FF000000 FF020000 FF040000 FF060000
FF080000 FF0A0000 FF0C0000 FF0E0000 FF100000
FF120000 FF140000 FF160000 FF180000 FF1A0000
FF1C0000 FF1E0000 FF200000 FF220000 FF240000
FF260000 FF280000 FF2A0000 FF2C0000 FF2E0000
FF300000 FF320000 FF340000 FF360000 FF380000
FF3A0000 FF3C0000 FF3E0000 FF400000 FF420000
FF440000 FF460000 FF480000 FF4A0000 FF4C0000
FF4E0000 FF500000 FF520000 FF540000 FF560000
FF580000 FF5A0000 FF5C0000 FF5E0000 FF600000
FF620000 FF640000 FF660000 FF680000 FF6A0000
FF6C0000 FF6E0000 FF700000 FF720000 FF740000
FF760000 FF780000 FF7A0000 FF7C0000 FF7E0000
FF800000 FF820000 FF840000 FF860000 FF880000
FF8A0000 FF8C0000 FF8E0000 FF900000 FF920000
FF940000 FF960000 FF980000 FF9A0000 FF9C0000
FF9E0000 FFA00000 FFA20000 FFA40000 FFA60000
FFA80000 FFAA0000 FFAC0000 FFAE0000 FFB00000
FFB20000 FFB40000 FFB60000 FFB80000 FFBA0000
FFBC0000 FFBE0000 FFC00000 FFC20000 FFC40000
FFC60000 FFC80000 FFCA0000 FFCC0000 FFCE0000
FFD00000 FFD20000 FFD40000 FFD60000 FFD80000
FFDA0000 FFDC0000 FFDE0000 FFE00000 FFE20000
FFE40000 FFE60000 FFE80000 FFEA0000 FFEC0000
FFEE0000 FFF00000 FFF20000 FFF40000 RO FFF60000 RO
FFF80000 RO FFFA0000 RO FFFC0000 RO FFFE0000 RO
=>
Arunkumar P
Design Engineer
Mobile : (+91) 8072194473
Website : www.coreel.com<http://www.coreel.com/>
Ph: (+91)80-41970400
Fax: (+91)80-66885410
CoreEL Technologies,
#21, 7th Main, 1st Block , Koramangala,
Bangalore 560034
<https://www.facebook.com/CoreELTechnologies> <https://www.linkedin.com/company/coreel-technologies?trk=company_logo>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please check my response on September 9th. Maximum sector erase time is 3500 ms.
Please increase the timeout setting in your application and test again?
Thanks and Regards,
Sudheesh