Hello,
Quick questiin. Can I use MAP_FlashCtl_programMemory() function like this:
I've unprotected all sectors that I want to program and called MAP_FlashCtl_performMassErase()..
I want to program for example whole MAIN BANK0 with some data, can I do this:
length = 4096;
tmp = 0;
do{
tmp = MAP_FlashCtl_programMemory(src, dest, length);
}while(!tmp);
and so on in some for until I program MAIN BANK0..
I know that I can't program memory if I don't erase it first, so if this function fails at first attempt will it fail every other time or will it only program memory where it failed the first time and skip memory that it program at first attempt, or do I need to erase that sector every time it fails to program it ?
Regards,
Ugljesa Popovic