Skip to main content
Diego Colombo
Associate III
April 9, 2021
Question

AC6-How to preserve some flash area containing data during programming for debug?

  • April 9, 2021
  • 2 replies
  • 865 views

I have to use the good old AC6,but I can't find any debugger option to preserve,say,the last Flash sector from being erased.

Thanks.

Diego,Italy

    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    April 9, 2021
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    April 9, 2021

    Shrink the visible memory in the linker script (.LD) or related settings, and then park you're critical stuff in that region.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..