cancel
Showing results for 
Search instead for 
Did you mean: 

Programming STM32L w/J-Link Compact

DRkidd22
Visitor

I have created the below circuit and build a PCBA. I'm using the J-Link Base Compact and Tag-Connect TC2030.

Using the Arduino IDE I created a simple sketch to drive the 4 LEDs shown on the schematic below and blink every second.

The code compiles ok and Arduino IDE reports that it has successfully upload to the SMT32 chip, but the LEDs won't blink. I tried enableling outputs to other pins as well, but the problem persists. Any ideas what might be causing this? I'm using the Generic STM32L4 series "board" from Arduino library.

 

LEDTest.png

1 REPLY 1
TDK
Super User

If BOOT0 is floating it may be booting into the bootloader instead of user code. Either ground BOOT0 or adjust option bytes using STM32CubeProgrammer to boot into the flash regardless of BOOT0 pin state.

If you feel a post has answered your question, please click "Accept as Solution".