https://github.com/WeActStudio/WeActStu ... _CoreBoard
this board is a little pricy, I'd guess it is due to the new chip which is a Cortex M33
https://www.aliexpress.com/item/1005007502799023.html
this board works nicely out of the box in Arduino IDE 2.x (I'm using Arduino IDE 2.3.4)
and using stm32duino version 2.9.0 - current version
https://github.com/stm32duino/Arduino_Core_STM32
Weact installed a default sketch in the chip which is basically a blinky. One can backup the flash like the 1st 1MB (actually 64k would do for now after I examined the exported bin) of flash if one wants to keep it.
flashing the sketch using USB DFU works just fine. Initially, it didn't work for me, I originally mistook it to be related to those secure boot stuff (new in these new soc). It turns out incorrect, simply flip the usb c cable over and it works !
updating using dfu-util can be done via
https://dfu-util.sourceforge.net/
Code: Select all
dfu-util -a 0 -s 0x8000000 -D sketch.bin
the sketch can be exported using Sketch > export compiled binary, and it'd be in the sketch folder in the build directory.
then one can use the usual tools or with STM32Cube programmer that'd be integrated in the ide.
it is necessary to press the boot and reset buttons as usual
- press both boot0 and reset
- hold boot0 release reset
- release boot0 1 secs later
if compiled with -O2 optimizations, this is a pretty fast chip, the Wheatstone benchmark looks like this
spec sheets says it is 250 MhzHello stm32h562
Beginning Whetstone benchmark at default speed ...
Loops:10000, Iterations:1, Duration:3075.36 millisec
C Converted Single Precision Whetstones:325.17 Mflops
Hello stm32h562
Beginning Whetstone benchmark at default speed ...
Loops:10000, Iterations:1, Duration:3075.36 millisec
C Converted Single Precision Whetstones:325.17 Mflops
https://www.st.com/en/microcontrollers- ... 562rg.html
I think the apparent high floating point speeds > 1 fp per clock is due to vector SIMD computations
This chip has a lot of sram and flash !
I'd guess one can just go ahead and make fat binaries -O2 etc

it can probably run pretty big RTOS and can use things like malloc() to do memory management, I'd guess.
select usb-cdc-serial for the built