HI Eugene
The bootloader code is executed every time the part is powered-ON, is reset, or wakes up from a deep power-down while in a low power mode. So when MCU executes system reset and detects the related ISP pin low, it can go into ISP boot mode.
If you don’t power off MCU, just reset, RAM content keeps there. BUT, after reset, the code re-enter startup code, which includes initialize RAM and zero fill bss segment, etc. if you don't want this initialization, you need bypass this initialization code to avoid previous RAM content being overwritten.
Have a great day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------