cancel
Showing results for 
Search instead for 
Did you mean: 

LEDs blink when I write to the stm32103c8 flash

valter_meconi
Associate III

Hello, good afternoon.
I'm using a stm32103c8, and I'm having a serious error when writing to the flash. I'm working on a project where I use timer4 and I'm doing a multiplexing between 8 pins where I control the LED and button, but when I write the LEDs, a flicker occurs (flag) and they blink. I used a native Mikroc library, and one that I created, but without success. Could someone help me?

2 REPLIES 2

Writing or Erasing Flash will stall the MCU, you could run the code, vectors and interrupts from RAM.

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

Do you have any code showing how I can write using interrupt?