Search found 10 matches

by hennep
Mon May 15, 2023 11:56 am
Forum: General discussion
Topic: Upload error with clone ST-Link and clone device F103
Replies: 0
Views: 4189

Upload error with clone ST-Link and clone device F103

For quite some time I am getting error messages when I compile and upload a STM32 project with the Arduino IDE. Sketch uses 14148 bytes (43%) of program storage space. Maximum is 32768 bytes. Global variables use 2064 bytes (20%) of dynamic memory, leaving 8176 bytes for local variables. Maximum is ...
by hennep
Sun Jan 23, 2022 1:22 pm
Forum: STLink
Topic: ST-Link_V2_clone to SWD pinout
Replies: 2
Views: 7838

Re: ST-Link_V2_clone to SWD pinout

Maybe I should have mentioned that the board is also a clone. :-) STM32F07RBT.jpg I tried programming using the USB port a few times and noticed that it is not reliable. Since I am using a much shorter USB cable (about. 10", 25cm), performance has improved. Using USB, I have to press the button...
by hennep
Sun Jan 23, 2022 10:54 am
Forum: STLink
Topic: ST-Link_V2_clone to SWD pinout
Replies: 2
Views: 7838

ST-Link_V2_clone to SWD pinout

I'm trying connect to a Nucleo STM32F072 board using the SWD interface. I can program the board with the blink program but I need to disconnect the SWD cable after programming every time and connect a different cable (USB) to power the board to test the new program. What I would like to know, is it ...
by hennep
Wed Jul 28, 2021 10:49 am
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

Re: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]

You tried: $ st-flash --reset write ~/Desktop/gpio.bin 0x8000000 Are you sure there is only one such script on your system? To be sure that you use the right script from stlink-tools try: $ /usr/bin/st-flash --reset write ~/Desktop/gpio.bin 0x8000000 I'm not an expert in this matter. It was sheer lu...
by hennep
Wed Oct 14, 2020 9:14 am
Forum: STLink
Topic: STLink Install Fails
Replies: 4
Views: 11460

Re: STLink Install Fails

I can help you with the contents of the file $ ls /etc/udev/rules.d 45-maple.rules 49-stlinkv1.rules 49-stlinkv2-1.rules 49-stlinkv2.rules 60-openrgb.rules 70-snap.core.rules 70-snap.mc-installer.rules $ cat 49-stlinkv2-1.rules # stm32 nucleo boards, with onboard st/linkv2-1 # ie, STM32F0, STM32F4. ...
by hennep
Thu Oct 01, 2020 2:05 pm
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

Re: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]

You are right, I installed stlink-tools to have the st-info command available.
I found this in my command history: "sudo apt install stlink-tools"
by hennep
Thu Oct 01, 2020 12:40 pm
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

[Blue Pill] Unknown coreid 2ba01477 [SOLVED]

There are several tools on my disk named "st-flash" $ locate st-flash /home/hennep/Arduino/hardware/Arduino_STM32/tools/linux/stlink/st-flash /home/hennep/Arduino/hardware/Arduino_STM32/tools/linux64/stlink/st-flash /home/hennep/Arduino/hardware/Arduino_STM32/tools/macosx/stlink/st-flash /...
by hennep
Thu Oct 01, 2020 12:26 pm
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

Re: [Blue Pill] Unknown coreid 2ba01477

I had already installed that programmer but I could not make it work with the Arduino_STM32 software from Roger Clark. So I dug a little deeper in the scripts. When I try to upload from the Arduino IDE, I get a different location every time I compile Sketch uses 14212 bytes (10%) of program storage ...
by hennep
Thu Oct 01, 2020 11:31 am
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

Re: [Blue Pill] Unknown coreid 2ba01477

The st-info program shows that it is a 128k F1 Medium-density device Is there a way to check whether the board has the right microcontroller or not? [quote]$ st-info --probe Found 1 stlink programmers serial: 503f6f065265565031111067 openocd: "\x50\x3f\x6f\x06\x52\x65\x56\x50\x31\x11\x10\x67&qu...
by hennep
Wed Sep 30, 2020 4:22 pm
Forum: STLink
Topic: [Blue Pill] Unknown coreid 2ba01477 [SOLVED]
Replies: 9
Views: 15925

[Blue Pill] Unknown coreid 2ba01477 [SOLVED]

I'm trying to upload the blink sketch to a blue pill board with the ST-link-V2 programmer. I bought 5 new boards on eBay and these show the same error all five. photo_2020-09-30_18-55-09.jpg Sketch uses 14212 bytes (21%) of program storage space. Maximum is 65536 bytes. Global variables use 3128 byt...

Go to advanced search