Programming using Keil uvision does not work vs STM32 programmer works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 4:26 PM
Hello all,
I am using keil uvision to direct download the code in a STM32L552MEY6P MCU. My code just toggles a pin. The MCU is connected to a V3 programmer using SWDIO,SWCLK,NRST,GND and VCC. Every time I program with Keil, I am not able to initiate the program and I don't see the pin toggling. It works every time with a cube program software.
These are setting on my keil uvision
This is my settings on cube programmer
Any recommendations what settings can be wrong on Keil?
Thank you
- Labels:
-
Keil
-
STM32L5 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 10:57 PM
Try lowering the SWCLK frequency to 1..2 MHz. What is the exact error message you get from Keil? Make sure to close all the other programs that could use the ST-Link while programming with Keil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-02 12:15 AM
Try to update Keil and st-link
