2022-12-23 02:20 AM
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x080078ec msp: 0x20020000
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
shutdown command invoked
============================== [SUCCESS] Took 14.62 seconds ==============================
* Terminal will be reused by tasks, press any key to close it.
and now? :)
2022-12-23 02:42 AM
Hi @Swets ,
could you please add more details about your project? What are you trying to achieve?
What are the settings of the PlatformIO? Have you reconfigured pins for the SWD communication?
BR,
Jaroslav
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-12-23 12:17 PM
ehh.. I have built something in an Arduino.. but I need a faster microcontroller...
and they told me to use an STM32 ......
and also, normally I work with the Arduino IDE, and now I also start with PlatformIO... so everything is new for me...
I did some test programs, "blink a led ", and Upload went well, and the led was flashing.
so I started with the arduino project... but the arduino project has more tabs.. so busy for a while to get it in PlatformIO...
So now I can build, and I can upload, but now I get this error/warning.. and de controller is not running....
But I don't know what to do, because it is all new...
maybe I can make a zip from the project directory? and put it to download somewhere?
2022-12-23 02:11 PM
Perhaps there are videos or tutorials for the platforms you have chosen?
2022-12-23 02:56 PM
What is SWD communication?
2022-12-29 01:11 AM
SWD is an interface for flashing the firmware and debugging. If you have accidentally reconfigured pins PA13 and/or PA14 (normally used for this communication) in your code, it would explain the error you posted.
Otherwise, it appears to me to be a problem with the PlatformIO or some other 3rd party library. For STM32 development, I would recommend you STM32CubeIDE.
BR,
Jaroslav
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-12-29 04:46 PM
> I have built something in an Arduino.. but I need a faster microcontroller... and they told me to use an STM32 ......
https://github.com/stm32duino/Arduino_Core_STM32
Also beginners often think that they need a faster MCU when their trivial software cannot do, for example, data capture and saving to SD card without dropouts. In such cases a faster MCU will not solve anything, but learning FIFO buffers, asynchronous processing, using interrupts properly, maybe using RTOS and other software design principles will.