How can I visualise the memory (SRAM) usage of an AVR program?

前端 未结 8 1035
不知归路
不知归路 2020-12-14 08:40

I have encountered a problem in a C program running on an AVR microcontroller (ATMega328P). I believe it is due to a stack/heap collision but I\'d like to be able to confirm

8条回答
  •  时光说笑
    2020-12-14 09:04

    The usual approach would be to fill the memory with a known pattern and then to check which areas are overwritten.

提交回复
热议问题