Olimex Support Forum

ARM => ST => Topic started by: ouilogique on August 19, 2019, 09:07:18 PM

Title: STM32-E407: “Hello World” example on PlatformIO
Post by: ouilogique on August 19, 2019, 09:07:18 PM
I am trying to make a "Hello World" example for the STM32-E407 board on PlatformIO with the Arduino framework but it doesn't work.

I am able to upload the project, but the LED never blinks.

I followed the instruction in the user manual to set the jumpers and everything I have made is detailed on this page: https://github.com/NicHub/STM32-E407-BLINK.

Can someone help me to make this simple project work?
Title: Re: STM32-E407: “Hello World” example on PlatformIO
Post by: LubOlimex on August 21, 2019, 08:12:48 AM
I replied similar over the e-mail. The upload completes successfully which means that it is likely a software or jumper position info.

The code looks alright, though I can't say about black_f407zg config, it might be not suitable. Maybe try other configs with 407 chip too.

Another problem that might be would be improper jumper position for code execution. You said you changed it but double check that if possible with multimeter tool in short circuit mode.

Aside from that maybe test directly with the Arduino IDE and our JSON package instead of PlatformIO (as described in chapter 7 of the user's manual of STM32-E407). Also report your problem and findings to the PlatformIO community directly.
Title: Re: STM32-E407: “Hello World” example on PlatformIO
Post by: ouilogique on August 31, 2019, 04:26:17 PM
The problem was in the STM32 platform in PlatformIO. They solved the issue and you can see the working example here:

https://github.com/NicHub/STM32-E407-BLINK

and the thread in the PlatformIO forum here:

https://community.platformio.org/t/stm32-e407-doesn-t-work-on-pio/9303
Title: Re: STM32-E407: “Hello World” example on PlatformIO
Post by: LubOlimex on September 02, 2019, 08:31:43 AM
Thank you very much for the update! Glad this got figured out!