Hi NXP Support Team,
I am using NXP T2080 Processor with MT28FW02GBBA1HPC NOR Flash connected to T2080 IFC.
Using Hardcoded RCW I have successfully connected to processor using CodeWarrior tool and trying to load RCW and u-boot to NOR flash using CodeWarrior Target tasks Flash Programmer utility.
After selecting the device, added the require erase program and verify actions but we are getting "Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error" while running the execute icon.
Tried doing unprotect and then erase the sector still i am facing the same error.
But we tried running dump action and we were successfully able to get the flash contents(implies read is working)
Attaching the relevant screenshot for your reference
Please do help us resolve this issue
Thanks and Regards,
Arathi
1. Flash MT28FW02GBBA1HPC is not provided in CodeWarrior 10.5.1 IDE, you need to refer to the application note "C:\Freescale\CW_PA_v10.5.1\PA\PA_Tools\FlashToolKit\Documentation\AppNote-FlashProgrammer-PowerArchitecture.pdf to create a new flash algorithm and add new flash device to CodeWarrior IDE.
2. You need to modify the section "IFC Controller Setup" in C:\Freescale\CW_PA_v10.5.1\PA\PA_Support\Initialization_Files\QorIQ_T2\T2080RDB-PCIe_init_sram.tcl according to your Flash datasheet. Please refer to the attached file.
3. Please modify LAW and MMU configuration in T2080RDB-PCIe_init_sram.tcl for your 256M NOR flash.