Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 32 to 32 | ||||||||
The standard Mecrisp-Cube features like RTOS, Filesystem, USB, etc. | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 82 to 82 | ||||||||
Mecrisp-Stellaris RA 2.5.4 by Matthias Koch. | ||||||||
Changed: | ||||||||
< < | Mecrisp-Cube 1.4.3 for STM32F405, 31/768 KiB RAM/FLASH dictionary (C) 2021 peter@spyr.ch | |||||||
> > | Mecrisp-Cube 1.5.0 for STM32H7 Nucleo, 288/1024 KiB RAM/FLASH dictionary (C) 2022 peter@spyr.ch * Firmware Package STM32Cube H7 V1.10.0, USB-CDC (C) 2021 STMicroelectronics * CMSIS-RTOS V2 FreeRTOS wrapper, FreeRTOS Kernel V10.3.1 (C) 2020 Amazon.com * FatFs for internal flash and microSD - Generic FAT fs module R0.12c (C) 2017 ChaN * tiny vi - part of BusyBox (C) 2000, 2001 Sterling HuxleyMecrisp-Cube 1.4.3 for STM32F405, 31/768 KiB RAM/FLASH dictionary (C) 2021 peter@spyr.ch | |||||||
* Firmware Package STM32Cube F4 V1.26.0, USB-CDC (C) 2021 STMicroelectronics * CMSIS-RTOS V2 FreeRTOS wrapper, FreeRTOS Kernel V10.3.1 (C) 2020 Amazon.com * FatFs for serial flash and microSD - Generic FAT fs module R0.12c (C) 2017 ChaN |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 250 to 250 | ||||||||
Schematics![]() ![]() | ||||||||
Added: | ||||||||
> > | ||||||||
Wio Lite AI Single Board | ||||||||
Line: 277 to 278 | ||||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 249 to 249 | ||||||||
Schematics![]() | ||||||||
Added: | ||||||||
> > | The much smaller board Arduino Nicla Vision![]() | |||||||
Wio Lite AI Single BoardNo Board Support Package yet. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 34 to 34 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 33 to 33 | ||||||||
The standard Mecrisp-Cube features like RTOS, Filesystem, USB, etc.
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 97 to 97 | ||||||||
Additional Tools and Local Filesystem | ||||||||
Changed: | ||||||||
< < | Populate a microSD with the contents of sdcard![]() | |||||||
> > | Populate a microSD with the contents of sdcard![]() | |||||||
The directory should look like this:
| ||||||||
Line: 172 to 172 | ||||||||
Get the sources from github:
| ||||||||
Changed: | ||||||||
< < | psi@homer:~> git clone --branch F405 https://github.com/spyren/Mecrisp-Cube![]() | |||||||
> > | psi@homer:~> git clone --branch H743 https://github.com/spyren/Mecrisp-Cube![]() | |||||||
Import the project into the IDE: | ||||||||
Line: 190 to 191 | ||||||||
Browse to Mecrisp-Cube directory | ||||||||
Changed: | ||||||||
< < | Generate code from the STM32CubeMX MecrispCubeF405.ioc file: | |||||||
> > | Generate code from the STM32CubeMX MecrispCubeH743.ioc file: | |||||||
Project -> Generate Code |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Changed: | ||||||||
< < | image="/twiki/pub/MecrispCube/MecrispCubeH7/NUCLEO-H743ZI2-header.jpg" title="Mecrisp-Cube for the STM32H74x Powerhouse (NUCLEO-H743ZI, Arduino Portenta STM32H747)" | |||||||
> > | image="/twiki/pub/MecrispCube/MecrispCubeH74x/NUCLEO-H743ZI2-header.jpg" title="Mecrisp-Cube for the STM32H74x Powerhouse" | |||||||
titlestyle="color:#F00000;" }% | ||||||||
Changed: | ||||||||
< < | Intro
| |||||||
> > | Intro MecrispCubeH74x
| |||||||
DRAFT | ||||||||
Changed: | ||||||||
< < | A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI![]() ![]() | |||||||
> > | New flavors for Mecrisp-Cube:
| |||||||
Changed: | ||||||||
< < | If you need a really fast MCU (ARM Cortex M7 @ 480 MHz) then the Mecrisp-Cube-H74x could be the right Mecrisp Forth for you. | |||||||
> > | If you need a really fast MCU (ARM Cortex M7 @ 480 MHz) then the MecrispCubeH74x could be the right Mecrisp-Cube Forth for you. The STM32H747 has even a second Core, a Cortex M4. | |||||||
Changed: | ||||||||
< < | Instant real-time programming with Forth. | |||||||
> > | Mecrisp-Cube Instant real-time programming with Forth. | |||||||
Sources on | ||||||||
Line: 25 to 27 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Features | ||||||||
Added: | ||||||||
> > | The standard Mecrisp-Cube features like RTOS, Filesystem, USB, etc. | |||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Deleted: | ||||||||
< < | For more BSP details see BoardSupportPackageH743 for STM's Nucleo Board or BoardSupportPackageH747 for the Arduino Portenta Development Board. | |||||||
Line: 231 to 217 | ||||||||
STM32H743 H743ZI2 Nucleo Board | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find NUCLEO-H743ZI2.jpg at /MecrispCube.MecrispCubeH7 | |||||||
> > | ||||||||
Line: 240 to 226 | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find pinout_legend_2017-06-28-2.png at /MecrispCube.MecrispCubeH7 | |||||||
> > | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find nucleo_h743zi2_zio_left_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_zio_right_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_morpho_left_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_morpho_right_2019_10_9.png at /MecrispCube.MecrispCubeH7 | |||||||
> > | ||||||||
STM32H747 Arduino Portenta H7 Development Board | ||||||||
Line: 258 to 244 | ||||||||
https://docs.arduino.cc/hardware/portenta-h7![]() | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find portenta-h7-pinout.png at /MecrispCube.MecrispCubeH7 | |||||||
> > | ||||||||
Schematics![]() | ||||||||
Line: 276 to 262 | ||||||||
![]() This work by Peter Schmid is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. | ||||||||
Deleted: | ||||||||
< < |
| |||||||
| ||||||||
Line: 289 to 273 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Changed: | ||||||||
< < | image="/twiki/pub/MecrispCube/MecrispCubeH743/NUCLEO-H743ZI2-header.jpg" title="Mecrisp-Cube for the STM32H743 Powerhouse (NUCLEO-H743ZI)" | |||||||
> > | image="/twiki/pub/MecrispCube/MecrispCubeH7/NUCLEO-H743ZI2-header.jpg" title="Mecrisp-Cube for the STM32H74x Powerhouse (NUCLEO-H743ZI, Arduino Portenta STM32H747)" | |||||||
titlestyle="color:#F00000;"
}%
Intro
DRAFT | ||||||||
Changed: | ||||||||
< < | A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI![]() | |||||||
> > | A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI![]() ![]() | |||||||
Changed: | ||||||||
< < | If you need a really fast MCU (ARM Cortex M7 @ 480 MHz) then the MecrispCubeH743 could be the right Mecrisp Forth for you. | |||||||
> > | If you need a really fast MCU (ARM Cortex M7 @ 480 MHz) then the Mecrisp-Cube-H74x could be the right Mecrisp Forth for you. | |||||||
Instant real-time programming with Forth. | ||||||||
Changed: | ||||||||
< < | Sources on GitHub![]() | |||||||
> > | Sources on | |||||||
Contents
| ||||||||
Line: 35 to 38 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 56 to 57 | ||||||||
| ||||||||
Changed: | ||||||||
< < | For more BSP details see BoardSupportPackageH743. | |||||||
> > | For more BSP details see BoardSupportPackageH743 for STM's Nucleo Board or BoardSupportPackageH747 for the Arduino Portenta Development Board. | |||||||
Line: 230 to 231 | ||||||||
STM32H743 H743ZI2 Nucleo Board | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find NUCLEO-H743ZI2.jpg at /MecrispCube.MecrispCubeH743 | |||||||
> > | Error: (1) can't find NUCLEO-H743ZI2.jpg at /MecrispCube.MecrispCubeH7 | |||||||
Line: 239 to 240 | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find pinout_legend_2017-06-28-2.png at /MecrispCube.MecrispCubeH743 | |||||||
> > | Error: (1) can't find pinout_legend_2017-06-28-2.png at /MecrispCube.MecrispCubeH7 | |||||||
Changed: | ||||||||
< < | Error: (1) can't find nucleo_h743zi2_zio_left_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_zio_right_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_morpho_left_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_morpho_right_2019_10_9.png at /MecrispCube.MecrispCubeH743 | |||||||
> > | Error: (1) can't find nucleo_h743zi2_zio_left_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_zio_right_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_morpho_left_2019_10_9.png at /MecrispCube.MecrispCubeH7 Error: (1) can't find nucleo_h743zi2_morpho_right_2019_10_9.png at /MecrispCube.MecrispCubeH7 | |||||||
STM32H747 Arduino Portenta H7 Development Board | ||||||||
Line: 257 to 258 | ||||||||
https://docs.arduino.cc/hardware/portenta-h7![]() | ||||||||
Changed: | ||||||||
< < | Error: (1) can't find portenta-h7-pinout.png at /MecrispCube.MecrispCubeH743 | |||||||
> > | Error: (1) can't find portenta-h7-pinout.png at /MecrispCube.MecrispCubeH7 | |||||||
Schematics![]() | ||||||||
Line: 288 to 289 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 257 to 257 | ||||||||
https://docs.arduino.cc/hardware/portenta-h7![]() | ||||||||
Added: | ||||||||
> > | Error: (1) can't find portenta-h7-pinout.png at /MecrispCube.MecrispCubeH743
Schematics![]() | |||||||
Wio Lite AI Single Board | ||||||||
Line: 272 to 275 | ||||||||
![]() This work by Peter Schmid is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. | ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 281 to 287 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 255 to 255 | ||||||||
No Board Support Package yet. | ||||||||
Added: | ||||||||
> > | https://docs.arduino.cc/hardware/portenta-h7![]() | |||||||
Deleted: | ||||||||
< < | Wio Lite AI Single Board | |||||||
Changed: | ||||||||
< < | https://docs.arduino.cc/hardware/portenta-h7![]() | |||||||
> > | Wio Lite AI Single Board | |||||||
No Board Support Package yet. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 53 to 53 | ||||||||
Added: | ||||||||
> > |
| |||||||
For more BSP details see BoardSupportPackageH743. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 51 to 51 | ||||||||
| ||||||||
Deleted: | ||||||||
< < |
| |||||||
For more BSP details see BoardSupportPackageH743. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 254 to 254 | ||||||||
Why should I use this board? It is less powerful than a Raspberry Pi and is even more expensive! The Raspi draws much more current and therefore cannot be operated with a battery. | ||||||||
Added: | ||||||||
> > | No Board Support Package yet.
Wio Lite AI Single Board | |||||||
https://docs.arduino.cc/hardware/portenta-h7![]() | ||||||||
Added: | ||||||||
> > | ||||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 77 to 77 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Flash the Mecrisp-Cube binary![]() MecrispCubeF405.bin ) or the util-binary![]() MecrispCubeF405Util.bin ) to the Feather Board. | |||||||
> > | Flash the Mecrisp-Cube binary![]() MecrispCubeH743.bin ) or the util-binary![]() MecrispCubeH743Util.bin ) to the Feather Board. | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Start the terminal emulator application on the PC.
Check for the serial communication port (e.g. for Linux /dev/ttyACM0 ). |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner"
image="/twiki/pub/MecrispCube/MecrispCubeH743/NUCLEO-H743ZI2-header.jpg" | ||||||||
Changed: | ||||||||
< < | title="!MecrispCube for the STM32H743 Powerhouse (NUCLEO-H743ZI)" | |||||||
> > | title="Mecrisp-Cube for the STM32H743 Powerhouse (NUCLEO-H743ZI)" | |||||||
titlestyle="color:#F00000;"
}%
Intro
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 239 to 239 | ||||||||
Added: | ||||||||
> > | ||||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 25 to 25 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Added: | ||||||||
> > |
| |||||||
| ||||||||
Line: 46 to 47 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 233 to 234 | ||||||||
STM32H743 H743ZI2 Nucleo Board | ||||||||
Changed: | ||||||||
< < | ![]() | |||||||
> > | Error: (1) can't find NUCLEO-H743ZI2.jpg at /MecrispCube.MecrispCubeH743 | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 36 to 36 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Line: 237 to 237 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1 to 1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | |||||||||||
Line: 11 to 11 | |||||||||||
A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI![]() | |||||||||||
Changed: | |||||||||||
< < | If you need a really fast MCU (ARM Cortex M7 @ 550 MHz) then the MecrispCubeH743 could be the right Mecrisp Forth for you. | ||||||||||
> > | If you need a really fast MCU (ARM Cortex M7 @ 480 MHz) then the MecrispCubeH743 could be the right Mecrisp Forth for you. | ||||||||||
Instant real-time programming with Forth. | |||||||||||
Line: 25 to 25 | |||||||||||
Changed: | |||||||||||
< < |
| ||||||||||
> > |
| ||||||||||
| |||||||||||
Changed: | |||||||||||
< < |
| ||||||||||
> > |
| ||||||||||
| |||||||||||
Changed: | |||||||||||
< < |
| ||||||||||
> > |
| ||||||||||
| |||||||||||
Line: 235 to 235 | |||||||||||
![]() | |||||||||||
Changed: | |||||||||||
< < | |||||||||||
> > | |||||||||||
Changed: | |||||||||||
< < | |||||||||||
> > | Error: (1) can't find pinout_legend_2017-06-28-2.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_zio_left_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_zio_right_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_morpho_left_2019_10_9.png at /MecrispCube.MecrispCubeH743 Error: (1) can't find nucleo_h743zi2_morpho_right_2019_10_9.png at /MecrispCube.MecrispCubeH743 | ||||||||||
STM32H747 Arduino Portenta H7 Development Board | |||||||||||
Line: 271 to 272 | |||||||||||
| |||||||||||
Added: | |||||||||||
> > |
|
Line: 1 to 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | |||||||||
Changed: | |||||||||
< < | image="/twiki/pub/MecrispCube/BoardSupportPackageF405/feather-stm32f405-head.jpg" | ||||||||
> > | image="/twiki/pub/MecrispCube/MecrispCubeH743/NUCLEO-H743ZI2-header.jpg" | ||||||||
title="!MecrispCube for the STM32H743 Powerhouse (NUCLEO-H743ZI)" titlestyle="color:#F00000;" }% | |||||||||
Line: 16 to 16 | |||||||||
Instant real-time programming with Forth. | |||||||||
Deleted: | |||||||||
< < | Arduino Portenta H7? | ||||||||
Sources on GitHub![]() | |||||||||
Line: 230 to 228 | |||||||||
Added: | |||||||||
> > | STM32H7 Development BoardsSTM32H743 H743ZI2 Nucleo Board![]()
STM32H747 Arduino Portenta H7 Development BoardThis Arduino Portenta H7 development board follows the Arduino MKR form factor, but enhanced with the Portenta family 80 pin high-density connector. Why should I use this board? It is less powerful than a Raspberry Pi and is even more expensive! The Raspi draws much more current and therefore cannot be operated with a battery. https://docs.arduino.cc/hardware/portenta-h7![]() | ||||||||
Line: 237 to 266 | |||||||||
-- ![]() ![]() This work by Peter Schmid is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. \ No newline at end of file | |||||||||
Added: | |||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | ||||||||
Line: 7 to 7 | ||||||||
titlestyle="color:#F00000;"
}%
Intro
| ||||||||
Added: | ||||||||
> > | DRAFT | |||||||
A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI![]() |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
MecrispCube for the STM32H743 Powerhouse (NUCLEO-H743ZI)
Intro
A new flavor for Mecrisp-Cube: Mecrisp-Cube-H743 for STM's NUCLEO-H743ZI
![]() ![]() Features
Getting StartedThese instructions will get you a copy of the project up and running on your local machine (STM's NUCLEO-H743ZI board) for development and testing purposes.Prerequisites
![]() MecrispCubeF405.bin ) or the util-binary![]() MecrispCubeF405Util.bin ) to the Feather Board.
/dev/ttyACM0 ).
I set the putty terminal configuration to
Mecrisp-Stellaris RA 2.5.4 by Matthias Koch. Mecrisp-Cube 1.4.3 for STM32F405, 31/768 KiB RAM/FLASH dictionary (C) 2021 peter@spyr.ch * Firmware Package STM32Cube F4 V1.26.0, USB-CDC (C) 2021 STMicroelectronics * CMSIS-RTOS V2 FreeRTOS wrapper, FreeRTOS Kernel V10.3.1 (C) 2020 Amazon.com * FatFs for serial flash and microSD - Generic FAT fs module R0.12c (C) 2017 ChaN * tiny vi - part of BusyBox (C) 2000, 2001 Sterling Huxley include 0:/etc/rc.local 23 5 / .[CR] 4 ok. : hello ." World" ;[CR] ok. hello[CR] World ok. Additional Tools and Local FilesystemPopulate a microSD with the contents of sdcard![]() ls -l 1:[CR] drw- 0 2021-04-18T18:12:38 boot drw- 0 2021-03-21T18:47:52 etc drw- 0 2021-03-21T18:47:54 fsr drw- 0 2021-03-21T18:47:54 home drw- 0 2021-03-21T18:47:56 man -rwa 7219 2021-01-08T19:42:36 README.md ok.You can use the local CLI commands like mkfs , mkdir and cp to create a filesystem on the serial flash and fill it with files and folders. But this is tedious job because I haven't yet implemented a recursive copy for MecrispCube. But there is prepared disk image
(for details see MicroSdBlocks#Serial_Flash) on microSD and the tool dd . You can copy the disk image to the drive 0: (this takes about 2 Minutes):
dd 1:/boot/fd-2MiB.img 0:[CR] ok. mount 0:[CR] ok. ls 0:[CR] man fsr README.md boot etc home ok.The Mecrisp have some tools bundled in its distribution e.g. assembler, disassembler, dump, float. I put those tools and some more into the folder /fsr . With the "init.fs script" I compile my favorite ones into the flash directory:
compiletoflash[CR] ok. include /etc/init.fs[CR] init.fs Loading started RAM Dictionary: 392991 KiB utils.fs loading ... conditional.fs loading ... dump.fs loading ... disassembler-m3.fs loading ... float.fs loading ... threads.fs loading ... RAM Dictionary: 392981 KiB init.fs finished ok.For example, the word disassember is available now: see dump[CR] 080405F0: B500 push { lr } 080405F2: F7C2 bl 08002A3E --> cr 080405F4: FA24 080405F6: CF08 ldmia r7 { r3 } 080405F8: F013 ands r2 r3 #F 080405FA: 020F 080405FC: F847 str r3 [ r7 #-4 ]! 080405FE: 3D04 08040600: 2A00 cmp r2 #0 08040602: D000 beq 08040606 08040604: 3610 adds r6 #10 08040606: CF08 ldmia r7 { r3 } 08040608: F847 str r6 [ r7 #-4 ]! InstallingA step by step series of examples that tell you how to get a development env running Install the IDE STM32CubeIDE![]() ![]() psi@homer:~> git clone --branch F405 https://github.com/spyren/Mecrisp-Cube Klone nach 'Mecrisp-Cube' ... remote: Enumerating objects: 1157, done. remote: Counting objects: 100% (1157/1157), done. remote: Compressing objects: 100% (620/620), done. remote: Total 3183 (delta 720), reused 934 (delta 525), pack-reused 2026 Empfange Objekte: 100% (3183/3183), 41.60 MiB | 6.96 MiB/s, Fertig. Löse Unterschiede auf: 100% (2100/2100), Fertig.Import the project into the IDE: File -> Import -> General -> Existing Projects into Workspace -> Select root directory Copy project into workspace Browse to Mecrisp-Cube directoryGenerate code from the STM32CubeMX MecrispCubeF405.ioc file:
Project -> Generate CodeRestore changed source files $ git status {list of changed files} $ git restore {files to restore}Select the Build Configuration (Debug if you want to debug the project) and Build the project: Project -> Build Configurations -> Set Active -> Debug/Release Project -> Build Project ![]() ![]() This work by Peter Schmid is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. |