Open Katzuno opened 4 years ago
There appear to be multiple issues, namely hardware and/or driver issues that prevent access to the programmer and missing support for your board.
The sduino MB is a prototypical board in Arduino Mega form factor designed by me and the matching board configuration has been written specifically for it. The STM8S208MBT6B and the STM8S207C8Tx have at least different pinouts and flash sizes and slightly different peripherals. I am therefore not sure how well a program compiled for one would run on the other.
If you cannot resolve your hardware or driver issue with the programming adapter, you could also try programming via TTL serial port adapter and the chip's integrated ROM bootloader. This is the preferred method on the sduino MB, because the board has its own USB-to-TTL-serial converter just like the Arduino boards.
Can you provide more details on the exact type of STM8S board you are using? A link, maybe?
Hello, I am using a new STB8S207C8T6 unmapped in a SIM808 application and I am using ST-Link V2 as a programmer.
Is there a possibility or a program to configure this STM8S and use the sduino library?
Thank you.
If you are using the STM8S207C8T6 in a custom hardware configuration, nothing will lead around a custom software configuration.
You can create a new entry for your setup in boards.txt
and add a matching new board variant with its own pins_arduino.h
.
Ideally, you would use mb208 as a template, because it is already quite similar.
You will have to consult the datasheet to figure out a sensible pinout, although you could perhaps borrow some of it from the stm8disco variant, because it has a 48-pin chip, as well.
But the very first thing you should do is figure out the driver situation. Unfortunately, I cannot help you with Windows configuration, because I do not use that operating system. Also keep in mind that Sduino is C-based and therefore not entirely Arduino compatible and that it is still highly experimental.
Hello, I am trying to upload an example sketch to my new STM8S Board. I connected it to my PC using STLink/V2 Programmer.
Even with the Bare Minimum sketch I get the following error:
I think I am doing something wrong or missed a step.
Tools -> Upload method is ST-Link/V2 I selected the board: sduino MB (STM8S208MB6TB).
I hope someone can help me.
Thank you.