First off, I'm VERY new to microcontrollers and am trying to teach myself. So, I'm sorry for this (most likely very stupid) problem.
I've got an STM32L021K4Tx on a custom PCB I've made. I can upload the program fine and debug it, but when I remove power from the board (and reapply the power), it hangs and I have to re-program.
I'm powering it from a CR2032, and my plan is to just slip out the battery when I'm not using it (no power switch).
I'm pretty sure it's something to do with the NRST (Pulled high) and BOOT0 (Pulled low) pins, but I can't figure it out. I can't even find the data in the datasheet.
Just how stupid am I being?
Thanks.