P2040: Sector protection error

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

P2040: Sector protection error

1,114 Views
gouravjain
Contributor IV

Hello,

My board is based on P2040RDB board. While fusing pbl,f-man and U-Boot files in NOR flash via Code Warrior-10.5 i'm getting Sector protection error. 

Note: NOR flash is fresh one. going to fuse files first time.

fl::target -lc "P2040_gourav_se0-core00_SRAM_P2040_Connect"
fl::target -b 0x0 0x100000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::protect all off
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Diagnostics Driver ...
Reading flash ID ...
Unprotecting all sectors...
Unprotecting ...
Unprotecting ....
Unprotecting .....
Unprotecting ......
Unprotect Command Succeeded
cmdwin::fl::device -sd all
cmdwin::fl::device -se 1018
cmdwin::fl::erase list
-------------------------
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0xEFF40000 to 0xEFF5FFFF
Erasing ...
Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error
Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error

Kindly help me to resolve this issue.

regards,

Gourav

0 Kudos
Reply
1 Reply

932 Views
ufedor
NXP Employee
NXP Employee

Please ensure that you are using the latest CodeWarrior version and use "Help -> Install New Software..." to check for updates.

Which board initialization script is executed?

Please provide the processor connection schematics for inspection.

To perform that it may be convenient to create a Technical Case:

https://community.nxp.com/thread/381898 

0 Kudos
Reply