It turns out, that the problem does not occur if I use FlashMagic to write into a flash region, which is not part of a code section.
So I guess it was indeed the valid code checksum halting the program.
Instead of trying to overwrite a variable located in flash (with the compiler cmd __attribute__(at) ) like I did before, I will have to place my information somewhere in unused space and copy it from there during runtime. Then make sure this flash region stays unused in the future with the CODE compiler cmd.
However not related to FlashMagic anymore.
Thanks
So I guess it was indeed the valid code checksum halting the program.
Instead of trying to overwrite a variable located in flash (with the compiler cmd __attribute__(at) ) like I did before, I will have to place my information somewhere in unused space and copy it from there during runtime. Then make sure this flash region stays unused in the future with the CODE compiler cmd.
However not related to FlashMagic anymore.
Thanks