I am trying to flash into S32R274 Boot flash and Code flash areas. I am unable to understand how the memory is organised into low, mid, high and 256k blocks. Kindly provide me the memory organisation in terms of this arrangement.
I am using some library files to erase the sectors. Can you help me to figure out how to erase one particular block (say mid block 1)? #s32r274 #s32r274flash
there's an excel file S32R274_Flash_Block_Assignment_Rev7.xlsx attached inside the reference manual:
See tabs "NVM" and "Lock Register Def." which describes the memory map and bits in Lock and Select registers in detail.
In the attachment i am able to find only s32R274_Memory_map,but it does not contain block details
do you have the latest version 4?
Anyway, I will attach it also here to this post.
Actually using C55 flash libraries for erase and write operation.
When i am trying to erase sector 0x00FF0000,the erase and write operation happened
first time properly.But when i try to do the erase and write to same location second time.
durning write operation "Blank check" function is giving failure.
Thus ,flash write and erase is happening only once,next time if i try to erase and write to same location
its throwing error
have you tried to disable or invalidate data cache? This is the most common root cause.