Mecrisp Stellaris Unofficial User Documentation¶
To read this UserDoc in nicely formatted html webpages go to: https://mecrisp-stellaris-folkdoc.sourceforge.io/
File Contents
stm32fxx-diagnostics-v1.5.bin¶
Designed to determine if your chip/board has the ‘hidden’ extra 64kB Flash and tell you if your chip is a fake STM32F103 (CS32F or a APM32) or even a ‘compatible’ GD32F103. This is the same as V1.4 but now has fully robust menues. See https://mecrisp-stellaris-folkdoc.sourceforge.io/stm32f1xx-diagnostics.html
swdcom-demo-xxxx.zip¶
Forth on Cortex-M using SWD for a FAST terminal, with many advantages over a usart : https://mecrisp-stellaris-folkdoc.sourceforge.io/swdcom.html
STM32F0-Discovery-TouchSensor-377b5b56c2.tar.gz¶
Full project tarball of the STM32F0-Discovery-TouchSensor-Demo.bin demo below, including full Fourth source and readme etc.
tp-allpatch-stm32f103ra-2.5.3.patch¶
See: https://mecrisp-stellaris-folkdoc.sourceforge.io/patches.html#stm32f103-patch for full details.
f103-developer-image.tar.gz¶
STM32F103 BluePill ‘Developer’ image. It’s a bootable binary, requires a 128kB STM32F103C8 or STM32F103CB MCU and a 3.3v USB/serial dongle with CTS. See the README for full details: https://sourceforge.net/projects/mecrisp-stellaris-folkdoc/files/f103-developer-image.c9ebc3e9d6.README.html
STM32F0-Discovery-TouchSensor-Demo.bin¶
This project supplies a binary file ready to run on a STM32F0 Discovery Board. It provides a fully configured Touch Sensor and Menu so that various user created touch sensors may be tested and calibrated.
Complete information¶
https://mecrisp-stellaris-folkdoc.sourceforge.io/touch-sensor.html
svd2forth-STM32L4x6.tar.gz¶
Mecrisp-Stellaris Memory Mapped Forth and GAS support prebuilt for the STM32L4x6 MCU
stm32f1xx-diagnostics-vx.bin¶
https://mecrisp-stellaris-folkdoc.sourceforge.io/stm32f1xx-diagnostics.html#stm32f103xx-diagnostics
This is the new version of STM32F103C8-DIAGNOSTICS.bin which was my first exploratory program to explore what actual MCU was in any of the infamous Blue Pill boards. The Blue Pill suffered from many issues but the most serious was the use of ‘fake’ and ‘compatible’ non genuine STM32F103 chips.
The new stm32f103xx-diagnostics contains lessons learned from the above and adds new features such as :-
Attempts to tell if the MCU is a STM32F,CS32F or APM32F or a GB32F
Simpler, cleaner Main Menu
Extra Menu
Generates a XML dump of all the data with suggested unique filename. This can then be uploaded to a database, used for your records etc. See the “FAQ” for details.
Should work with the Maple Mini board
Halts nicely with a error message if the second 64kB Flash block fails
Plus the old capabilities:
Under 64kB in size so it can be loaded and run from any STM32F1xx class with 64kB Flash
Bootable
Creates a “Mecrisp STM32F10x Forth Serial Port, class 2/0, rev 2.00/2.00, “ virtual serial port device on your PC
Dump the contents of the first 64kB Flash block
Dump the contents of the second 64kB Flash block
FAQ’s, Credits, and Liucense are in the “Extra” menu
Serial can be connected to USART2 instead of USB.
Changelog¶
V1.5: Minor change, more robust menu, should only quit on “q” entry now.
V1.4: Changed PB9 to permanent LOW for Maple Mini, menu is run from boot, Version number is automatically displayed in the menu
V1.3: Changed GD32F103 ID string from 0x76F to 0x412
f103-diagnostics-image-blinky.fs¶
https://mecrisp-stellaris-folkdoc.sourceforge.io/bluepill-blinky.html#bluepill-blinky
Gentle introduction to Forth via a PC13 LED Blinky for use with STM32F103C8-DIAGNOSTICS.bin running on a generic Blue Pill Board
STM32F103C8-DIAGNOSTICS.bin¶
https://mecrisp-stellaris-folkdoc.sourceforge.io/stm32f103c8-diags.html#stm32f103c8-diags
Check for ‘hidden 64kB Flash’ and test it, read ID’s in BluePill Boards. Bootable binary, flash-n-go, uses the USB connector as a virtual serial port with your choice of serial terminal. Works on Windows, Linux, BSD etc. Simple menu interface.
bluepill-128kb-usb.tar.gz¶
Bootable Forth USB image. Memstats, ChipID, most Peripheral registers, stack sensitive red-prompt, can switch live between USB and USART2 with hardware handshaking. Details in the tarball readme.
mecrisp-unofficial-doc-xxxxxxx.tar.gz¶
Complete copy of everything on this site. Updated infrequently due to file size, see date of file for last update.
MecrispStellarisUnofficial.epub¶
Automatic Epub conversion of the documents on this site, not everything translates properly. Updated infrequently due to file size, see date of file for last update.
Note
Copyrights: All Open Source, either GPL or FreeBSD as indicated.