cancel
Showing results for 
Search instead for 
Did you mean: 

Just Start with PlatformIO & Nucleo F446RE

Swets
Associate II

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? :)

6 REPLIES 6
Jaroslav JANOS
ST Employee

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.

Swets
Associate II

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?

Perhaps there are videos or tutorials for the platforms you have chosen?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

What is SWD communication?

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.

Piranha
Chief II

> 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.