AnsweredAssumed Answered

i'm getting problem when i fill "0xDEADBEEF" in unused space in code section.

Question asked by Upendra Kumar on May 27, 2019
Latest reply on May 30, 2019 by Jiri Kral

please help me when i try to fill code section with "0xDEADBEEF" and then by help of bootloader i flash the mcu then it's not working.

but without fill its working fine.

 

the fill code i have written in linker file.

 .fill :
{
FILL(0xDEADBEEF);
. = ORIGIN(m_text) + LENGTH(m_text) - 1;
BYTE(0xAA)
___ROM_AT = .;
} > m_text

Outcomes