Difference: MecrispCubeFlipper (10 vs. 11)

Revision 112023-12-02 - PeterSchmid

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
%DASHBOARD{ section="banner"
Line: 57 to 57
 

Getting Started

These instructions will get you a copy of the project up and running on your local

Changed:
<
<
machine Flipper Zero for development and testing purposes.
>
>
machine (Flipper Zero) for development and testing purposes.
 

Prerequisites

Changed:
<
<
  • Flipper Zero with STM32WB55 MCU (Cortex ARM M4) runs at a 32 MHz (the Bluetooth stack runs on a Cortex ARM M0+ core). Optional ST-Link debugger/programmer.
>
>
 
  • Terminal emulator application for PC, e.g.:
Line: 70 to 71
 
    • Use the built in Eclipse console (but no LF)
  • STM32CubeProgrammer or qFlipper

Added:
>
>

Flash the Mecrisp-Cube Firmware

 Flash the Mecrisp-Cube binary (MecrispCubeFlipper.bin) or the util-binary (MecrispCubeFlipperUtil.bin) to the Flipper Zero. Using the built-in USB DFU bootloader, see also firmware recovery.

  1. Press and hold the OK and the back buttons for 30 s (you should see a blank screen)
Changed:
<
<
  1. Connect the Flipper Zero USB to the PC
  2. Program the binary (MecrispCubeFlipper.bin or MecrispCubeFlipperFS.bin) with the STMCubeProgrammer (select USB Device) for Linux sudo /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer
  3. Reboot your device by pressing and holding the left and back buttons
>
>
  1. Connect the Flipper Zero USB to the PC
  2. Program the binary (MecrispCubeFlipper.bin or MecrispCubeFlipperFS.bin) with
    1. the STMCubeProgrammer (select USB Device), for Linux
      sudo /usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer
    2. or the qFlipper with install from file
  3. Reboot your device by pressing and holding the left and back buttons
 
Changed:
<
<
Start the terminal emulator application on the PC.
>
>

Use the Terminal (USB CDC)

Connect the Flipper Zero USB to the PC. Start the terminal emulator application on the PC.

 Check for the serial communication port (e.g. for Linux /dev/ttyACM0). I set the putty terminal configuration to
Line: 89 to 97
 
  • Keyboard Function: Keys VT100
  • Remote character set: CP850
Added:
>
>
You should see something like this in your terminal:
 

Changed:
<
<
reset Mecrisp-Stellaris RA 2.5.4 by Matthias Koch.
>
>
Mecrisp-Stellaris RA 2.5.4 by Matthias Koch.
  Mecrisp-Cube 1.5.0 for STM32WB Flipper, 63/128 KiB RAM/FLASH dictionary (C) 2023 peter@spyr.ch * Firmware Package STM32Cube FW_WB V1.17.3, USB-CDC, BLE Stack 5.3 (C) 2023 STMicroelectronics
Line: 96 to 105
  * Firmware Package STM32Cube FW_WB V1.17.3, USB-CDC, BLE Stack 5.3 (C) 2023 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
Deleted:
<
<
 include 0:/etc/rc.local
Added:
>
>

Use the interpreter:


 23 5 / .[CR] 4 ok.
Added:
>
>

Type in your first Forth program:


 : hello ." World" ;[CR] ok. hello[CR] World ok.
Line: 178 to 194
 08040608: F847 str r6 [ r7 #-4 ]!
Added:
>
>

Flash the original Flipper Firmware

If you want to go back to the original firmware, do the following

  1. Press and hold the OK and the back buttons for 30 s (you should see a blank screen)
  2. Connect the Flipper Zero USB to the PC
  3. Flash the Flipper firmware with qFlipper REPAIR
  4. Reboot your device by pressing and holding the left and back buttons
 

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback