arduino on fysetc s6 board-STM32F446VE

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
s6 noob
Posts: 15
Joined: Mon Apr 05, 2021 1:45 pm

arduino on fysetc s6 board-STM32F446VE

Post by s6 noob »

Hi all,

being a noob, I come looking for help with this board........

added the STM Cores boards package to arduino and am able to select the S6 board from the Tools section- so far so good......

but there are a number of other settings on the communication settings that elude me- what should these settings be?
sofar no successful connection (I use both Mac and Win environments)
I add a picture

everything below "Board part number: "Fysetc S6" is a mystery....

thx for your help

C
Attachments
screen print.jpg
screen print.jpg (77.75 KiB) Viewed 5534 times
by fpiSTM » Wed Apr 14, 2021 12:12 pm
The board has no LED_BUILTIN defined which could simply means it does not have USER LED. That's all.

For Arduino it seems the easiest way is to use DFU. So select DFU in the upload method then follow those step to put your board in DFU mode.

https://wiki.fysetc.com/FYSETC_S6/#2enter-dfu-mode
2.Enter DFU mode

S6 v1.2

First power off the board , then push the Boot0 button and hold it , then connect the USB to the board and your computer , it will enter DFU mode . Now you can loose you hand from Boot0 button.

S6 v2.0

First power off the board , then jumper the Boot0 to 3.3v, then connect the USB to the board and your computer , it will enter DFU mode .

REMEMBER to remove the jumper if you finish uploading or it will enter DFU mode again.
Go to full post
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: arduino on fysetc s6 board-STM32F446VE

Post by fpiSTM »

I never tested the fysect, it was added by a contributor who have tested it.
You should first have a look in the wiki which describe some options.
https://github.com/stm32duino/wiki/wiki/Getting-Started

Optimize is the best compromise so keep it, same for newlib. Other are enough precise, if you need USB enable it else keep it to none.
USART support enable by default one Serial, which is defined on PA10/PA9 (Rx/Tx).
by default upload is the SWD, which means STLink. You have to install the STM32CubeProgrammer as described in the wiki.
Keep the default options then it should works.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: arduino on fysetc s6 board-STM32F446VE

Post by ag123 »

our of curiosity, i googled for that as a keyword
it kind of lands me here
https://www.fysetc.com/
https://www.fysetc.com/pages/about-us-1
https://www.aliexpress.com/store/3480083

the links ddn't seem to work very well, but trying rather hard navigating around i run into these links
https://www.fysetc.com/products/s6-v1-2 ... 9641123989
https://www.fysetc.com/products/s6-v1-2 ... 9641123989
https://www.aliexpress.com/item/4000346434362.html

hence you may like to contact the vendors if after all you have bought their board

mcu specs form st
https://www.st.com/en/microcontrollers- ... 446ve.html
and mcu reference manuals from st
https://www.st.com/resource/en/referenc ... ronics.pdf
are probably things that is likely useful and detailed.

you may also like to browse in boards.txt and the relevant variant files etc, that would probably help you understand the codes better.
a thing is beyond some close up photos of the boards and various basic specs, i didn't seem to find things like schematic diagrams on those same pages. hence, you may after all need to confact the vendors in that case.

either way the usual basic arduino 'hello world' tricks - blink a led on the board and Serial.print() are normally the baby steps. Quite likely Usb-serial (CDC) virtual comm port is used, as the better stm32 mcus normally have usb on chip including that stm32f446
s6 noob
Posts: 15
Joined: Mon Apr 05, 2021 1:45 pm

Re: arduino on fysetc s6 board-STM32F446VE

Post by s6 noob »

fpiSTM wrote: Thu Apr 08, 2021 6:41 am I never tested the fysect, it was added by a contributor who have tested it.
You should first have a look in the wiki which describe some options.
https://github.com/stm32duino/wiki/wiki/Getting-Started

Optimize is the best compromise so keep it, same for newlib. Other are enough precise, if you need USB enable it else keep it to none.
USART support enable by default one Serial, which is defined on PA10/PA9 (Rx/Tx).
by default upload is the SWD, which means STLink. You have to install the STM32CubeProgrammer as described in the wiki.
Keep the default options then it should works.
Hi

thx for your help, about the STM32Cubeprogrammer- which wiki do you refer to?
I have it installed, should it be in a special directory?


best

C
s6 noob
Posts: 15
Joined: Mon Apr 05, 2021 1:45 pm

Re: arduino on fysetc s6 board-STM32F446VE

Post by s6 noob »

ag123 wrote: Fri Apr 09, 2021 1:47 pm our of curiosity, i googled for that as a keyword
it kind of lands me here
https://www.fysetc.com/
https://www.fysetc.com/pages/about-us-1
https://www.aliexpress.com/store/3480083

the links ddn't seem to work very well, but trying rather hard navigating around i run into these links
https://www.fysetc.com/products/s6-v1-2 ... 9641123989
https://www.fysetc.com/products/s6-v1-2 ... 9641123989
https://www.aliexpress.com/item/4000346434362.html

hence you may like to contact the vendors if after all you have bought their board

mcu specs form st
https://www.st.com/en/microcontrollers- ... 446ve.html
and mcu reference manuals from st
https://www.st.com/resource/en/referenc ... ronics.pdf
are probably things that is likely useful and detailed.

you may also like to browse in boards.txt and the relevant variant files etc, that would probably help you understand the codes better.
a thing is beyond some close up photos of the boards and various basic specs, i didn't seem to find things like schematic diagrams on those same pages. hence, you may after all need to confact the vendors in that case.

either way the usual basic arduino 'hello world' tricks - blink a led on the board and Serial.print() are normally the baby steps. Quite likely Usb-serial (CDC) virtual comm port is used, as the better stm32 mcus normally have usb on chip including that stm32f446
Hello

thx for your input, the Fysetc wiki page is the most detailed here, but for questions "tech support" you wind up in a kind of forum page, where I posted some questions, but the answers, if any, come from other users....

the lack of support is quite surprising, as the S6 (and F6) are very capable 3d printing boards

best,


C
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: arduino on fysetc s6 board-STM32F446VE

Post by ag123 »

what you are looking for may after all be here
https://wiki.fysetc.com/FYSETC_S6/
the vendor has apparently maintained a github repository here
https://github.com/FYSETC/FYSETC-S6
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: arduino on fysetc s6 board-STM32F446VE

Post by fpiSTM »

s6 noob wrote: Tue Apr 13, 2021 8:28 am
Hi

thx for your help, about the STM32Cubeprogrammer- which wiki do you refer to?
I have it installed, should it be in a special directory?


best

C
Maybe this one...
https://github.com/stm32duino/wiki/wiki ... programmer
s6 noob
Posts: 15
Joined: Mon Apr 05, 2021 1:45 pm

Re: arduino on fysetc s6 board-STM32F446VE

Post by s6 noob »

thx for your help, so far not much of a success

in the mean time installed Platformio as alternative
selected the Arduino environment, installed the S6 package, should work just fine, as shown in the youtube videos.......error loading...pffff
even the "bare minimum" example- no succes- compiling yes, uploading no..
Blink no succes- LED_BUILTIN apparently not specified???? - btw I don't know if the S6 board has a led for this
Power leds are on

I know that my noob-ness is not helping here, but is difficult to get a handle on
the F6 boards (AVR) run fine on Arduino IDE

best

C
Last edited by s6 noob on Wed Apr 14, 2021 12:18 pm, edited 1 time in total.
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: arduino on fysetc s6 board-STM32F446VE

Post by fpiSTM »

The board has no LED_BUILTIN defined which could simply means it does not have USER LED. That's all.

For Arduino it seems the easiest way is to use DFU. So select DFU in the upload method then follow those step to put your board in DFU mode.

https://wiki.fysetc.com/FYSETC_S6/#2enter-dfu-mode
2.Enter DFU mode

S6 v1.2

First power off the board , then push the Boot0 button and hold it , then connect the USB to the board and your computer , it will enter DFU mode . Now you can loose you hand from Boot0 button.

S6 v2.0

First power off the board , then jumper the Boot0 to 3.3v, then connect the USB to the board and your computer , it will enter DFU mode .

REMEMBER to remove the jumper if you finish uploading or it will enter DFU mode again.
s6 noob
Posts: 15
Joined: Mon Apr 05, 2021 1:45 pm

Re: arduino on fysetc s6 board-STM32F446VE

Post by s6 noob »

SUCCESS!!!!!!!!!!!!!!!!



Merci beaucoup!!


------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------



USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 BOOTLOADER
SN : STM32FxSTM32
FW version : 0x011a
Device ID : 0x0421
Device name : STM32F446xx
Flash size : 512 KBytes (default)
Device type : MCU
Device CPU : Cortex-M4



Memory Programming ...
Opening and parsing file: BareMinimum.ino.bin
File : BareMinimum.ino.bin
Size : 25980 Bytes
Address : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
erasing sector 0000 @: 0x08000000 done
erasing sector 0001 @: 0x08004000 done
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:01.321

RUNNING Program ...
Address: : 0x8000000
Post Reply

Return to “IDE's”