Re: How to start? Connection issue with Bluepill
Posted: Sun Apr 11, 2021 2:05 pm
to debug literally you only need arm-none-eabi-gdb and maybe st-link
https://github.com/stlink-org/stlink
or openocd
http://openocd.org/
maybe what you are running now already has all the tools
but if you 'can't live without an IDE', all the 'pro' IDE wikis are here:
https://github.com/stm32duino/wiki/wiki/How-to-debug
eclipse / vscode and all that let you do all that reference jumps to definitions / symbols / where used etc
and normally you don't need debug. Select USB (CDC) serial as in your previous screen print.
then you can do
USB Serial is 'there' all the while
you'd need to figure out which com: port it is at and need a serial monitor. Arduino IDE has a basic one in there.
other serial monitors are like putty
https://www.putty.org/
there are probably more around
https://github.com/stlink-org/stlink
or openocd
http://openocd.org/
maybe what you are running now already has all the tools
but if you 'can't live without an IDE', all the 'pro' IDE wikis are here:
https://github.com/stm32duino/wiki/wiki/How-to-debug
eclipse / vscode and all that let you do all that reference jumps to definitions / symbols / where used etc
and normally you don't need debug. Select USB (CDC) serial as in your previous screen print.
then you can do
Code: Select all
void setup() {
Serial.begin();
}
void loop() {
Serial.println("hello world");
delay(1000);
}
you'd need to figure out which com: port it is at and need a serial monitor. Arduino IDE has a basic one in there.
other serial monitors are like putty
https://www.putty.org/
there are probably more around