CE-124FIRE is a device based on M5Stack FIRE and created by @nomatan373. The original instructions at pcketpc.f5 did not include Linux as an operating system and were only available in Japanese. (2023-03-31)
In order to convert an M5StackFIRE to a CE-124FIRE, the firmware must be installed onto the M5stackFIRE.
If needed install the serial driver for the operating system following the instructions on M5Stack’s website:
https://docs.m5stack.com/en/core/fire
Linux has the drivers already installed.
Download the latest firmware from http://pocketpc.f5.si/2023/03/16/ce-124fire, for example ce124firev26f.bin. Then move the zip-file into a directory and unzip it.
Go to https://github.com/espressif/esptool/releases and download the latest win64
release. Unzip it somewhere and copy esptool.exe
in the same directory where the firmware
file was unzipped.
Open a terminal and run python3 -m pip install –upgrade pip:
Then run python3 -m pip install esptool
.
Open a terminal and run sudo pip install esptool
.
Open a command prompt and navigate to the location where you extracted esptool and the firmware. Remove all unnecessary USB devices from the computer, leaving only M5Stack FIRE connected.
Now run esptool flash_id
on the command line. After a short time, all available information
about the connected M5Stack will be printed on the screen.
The used serial port (COM5 in the example) will be used to program the M5StackFIRE device. To do so, run the following command and replace the serial port, as well as the firmware file name, with their appropriate values:
esptool –port COM5 -b 230400 write_flash ce-124firev26e.bin
Information appears as the device is programmed finally "Hard resetting via RTS pin..." will be displayed and the M5Stack restarts with the CE-124FIRE application installed.
Open a terminal, enter ls /dev/tty.S
and press the tab key to display the serial port name,
for example /dev/tty.SLAB_USBtoUART
. If the autocompletion doesn’t show, please run
ls /dev/tty.u
press the tab key and look for a device ending in
usbserial-XXXXXX
. Make a note of the used serial port.
Now navigate to the directory where the firmware file was unziped and run
python3 -m esptool –port /dev/tty.SLAB_USBtoUART -b 230400 write_flash 0x00000ce-124firev26e.bin
,
name, with their appropriate values:
Information as the device is programmed appears and finally "Hard resetting via RTS pin..."will be displayed and the M5Stack restarts with the CE-124FIRE application installed.
Open a terminal and run esptool.py flash_id
. After short time all available information
about
the connected M5Stack will be printed on the screen.
The used serial port (/dev/ttyACM0
in the example) will be used to program the M5StackFIRE
device. To do so run the following command and replace the serial port, as well as the firmware file
name, with their appropriate values:
esptool.py --port /dev/ttyACM0 -b 230400 write_flash 0x00000 ce-124firev26e.bin
Information as the device is programmed appears and finally "Hard resetting via RTS pin..." will be displayed and the M5Stack restarts with the CE-124FIRE application installed.