2015-04-29 04:32 PM
First time using an STM8L MCU. I am drawing a schematic and I am not sure if my programming connector is wired right. I will use an ST-LINK/V2 programmer. Do I simply connect the 4-pin connector as shown below? PA0 is the SWIM pin and PA1 is NRST. According to the datasheet, both of these pins have internal pull-up resistors.
Is it this simple or am I missing something?? #stm8l #swim2015-05-08 01:39 PM
I have searched and Googled but I have been unable to figure out if my programming interface is correct. No response yet from the ST Micro technical support ticket that I opened. Looks like they don't read or respond to the forums either?
I looked at the STM8L Discovery board schematic but it is complicated and appears to have multiple ways to program it. And I don't know why there is an STM32 on the STM8L Discovery board, is that for programming?2015-05-09 05:02 PM
Attached is a snippet from one of my recent projects, it's a different processor, but should work the same. I didn't have time to research the differences between the two processors, but this circuit worked the first time and every time since. The only difference that I see is the pull-up resistor. Hope this helps.
Best that I can tell is that the STM32 is on the eval boards for controlling the USB interface.And I agree, ST-M does not seem to monitor this forum, at least they are not a lot of help. Good luck,Rick