Closed wingedrhino closed 3 years ago
There is boards with disconnected GND - did you checked that?
There is boards with disconnected GND - did you checked that?
Wow disconnected GND? Where? You mean between the ground on the parallel legs and the ground on the programming pins tail?
Are you still having problems with the flash tool? The description definitely sounds like a permission issue. Are you member of the plugdev group? (check with id
) And did you unplug/replug the stlink after changing and reloading the udev rules?
Ahoy!
I stopped attempting to use that breakout board. I shall try again this weekend, with the grounds connected manually!
I added an FAQ page and mentioned the faulty GND connection for stm8blue boards. https://tenbaht.github.io/sduino/usage/faq/ If you still have problems with your board, please re-open this issue.
Hi,
I get the following error when I try to upload a sketch on my STM8:
and a similar error when I attempt to upload a bootloader:
At first I thought it's my crappy ST-Link V2 (fake) dongle - the default blink program wasn't always running when I connecrted 3.3V, SWM, GND, and NRST pins respectively to 3.3V, SWIM, GND, and RST. But I managed to get it working when I removed the 3.3V connection, and powered the board through an external USB cable (I see a blinking red LED and a steady blue one).
Just to be safe, I also added udev rules for stlink, following the instructions here: https://www.codementor.io/@hbendali/getting-started-with-stm8-development-tools-on-gnu-linux-zu59yo35x#usb-troubleshooting
But I am still unable to upload anything to the microcontroller.
Any other tips on debugging this issue?