codewarrior 10.5 flash erase failed

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

codewarrior 10.5 flash erase failed

420 Views
Anle1
Contributor II

 I using MPC8377CVRANGA ,write via Nor Flash.The following error is displayed when burning the program

fl::target -lc "8377-core00_RAM_8377_Connect"
fl::target -b 0x2000 0x30000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL064M(R3)" -o "4Mx16x1" -a 0xff800000 0xffffffff
cmdwin::fl::image -f "C:\\Users\\wly\\Desktop\\bootrom_uncmp.bin" -t "Auto Detect" -re on -r 0xff800000 0xffffffff -oe on -o 0xfff00000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Binary/Raw Format.

Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0xFFF00000 to 0xFFF0FFFF
Erasing Sector 0xFFF10000 to 0xFFF1FFFF
Erasing Sector 0xFFF20000 to 0xFFF2FFFF
Erasing Sector 0xFFF30000 to 0xFFF3FFFF
Erasing Sector 0xFFF40000 to 0xFFF4FFFF
Erasing Sector 0xFFF50000 to 0xFFF5FFFF
Erasing Sector 0xFFF60000 to 0xFFF6FFFF
Erasing Sector 0xFFF70000 to 0xFFF7FFFF
Erasing Sector 0xFFF80000 to 0xFFF8FFFF
Erasing Sector 0xFFF90000 to 0xFFF9FFFF
Erasing Sector 0xFFFA0000 to 0xFFFAFFFF
Erasing Sector 0xFFFB0000 to 0xFFFBFFFF
Erasing Sector 0xFFFC0000 to 0xFFFCFFFF
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

0 Kudos
Reply
1 Reply

401 Views
Anle1
Contributor II

I using MPC8377CVRANGA ,write via Nor Flash.The following error is displayed when burning the program

fl::target -lc "8377-core00_RAM_8377_Connect"
fl::target -b 0x2000 0x30000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL064M(R3)" -o "4Mx16x1" -a 0xff800000 0xffffffff
cmdwin::fl::image -f "C:\\Users\\wly\\Desktop\\bootrom_uncmp.bin" -t "Auto Detect" -re on -r 0xff800000 0xffffffff -oe on -o 0xfff00000
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Binary/Raw Format.

Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0xFFF00000 to 0xFFF0FFFF
Erasing Sector 0xFFF10000 to 0xFFF1FFFF
Erasing Sector 0xFFF20000 to 0xFFF2FFFF
Erasing Sector 0xFFF30000 to 0xFFF3FFFF
Erasing Sector 0xFFF40000 to 0xFFF4FFFF
Erasing Sector 0xFFF50000 to 0xFFF5FFFF
Erasing Sector 0xFFF60000 to 0xFFF6FFFF
Erasing Sector 0xFFF70000 to 0xFFF7FFFF
Erasing Sector 0xFFF80000 to 0xFFF8FFFF
Erasing Sector 0xFFF90000 to 0xFFF9FFFF
Erasing Sector 0xFFFA0000 to 0xFFFAFFFF
Erasing Sector 0xFFFB0000 to 0xFFFBFFFF
Erasing Sector 0xFFFC0000 to 0xFFFCFFFF
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

0 Kudos
Reply