This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Program one flash sector from another sector.

Hi,

i want to write code resident in FLASH A sector that re-flash the other sectors.

1. is it possible to program flash sectors from different sector?

2.do i need to erase the wanted sector before the re-flash procedure?

3.the following Is possible ?

Uint32 Data;

Uint32 DestAddr ;

DestAddr  = FLASH_SEC_B_ENTRY_POINT;

 *(Uint32 *)DestAddr  = Data;

 

welcome any assistance.

Thanks in advance!