BIN file and program fllash for IAP

Newbie question:

Have generated a .BIN file using two user commands: elfdwt .\Debug\Target.axf fromelf --bin -o .\Output\Target.bin .\Output\Target.axf

Resulting .BIN file has size of 11,848 bytes.

Is it possible to divide these 11,848 by 4,096 (size of one flash sector) and use 'Copy RAM to Flash' three times to overwrite sector 0, 1 and 2 of program flash?

Of course, code doing this is located in f.e. sector 7 (or RAM).

Best regards, Juergen

More questions in this forum