I am using the MPC5634 to develop the bootloader and application, the bootloader resetvector is 0x00000000, and the application resetvector is 0x00100000,they are in the same Bank0.
Now the problem is when I use bootloader to download the application always erase flash failed.But if the application resetvector is not in Bank0,it can erase flash success.
So I have the following 2 questions :
1.Why does the bootloader can't erase the flash area which is in the same Bank with the bootloader?
2.If can erase,what should I do?
Thanks and regards,
1) Read-While-Write (RWW) is supported between banks only. Thus, code performing flash programming must be either located in another bank or relocated to SRAM.
2) Relocate flash programming code to SRAM.
but the result is not ok, I still can't erase or write the bank0 area 0x00100000,so I want to ask you :
1.Whether My LCF file config is correct? if not,what is the correct configration?
2.Whether need the other config in other files?if need.could you tell me how to config ?
thank you for your support ,and I have another question about the SSD ,where can I find the MPC5634 flash driver and demo program?
the SSD :MPC56XX_C90LC_JDP_SSD_100_DEVD ,I am not sure it can use .it just support the following chips:
Do u have any suggestion ?