Where is my BIN file for a UIFLOw2 (online) project
-
I have a project built in UIFlow2 (online version) and want the BIN file to use in M5Launcher. I know project files are saved to the "cloud" but are BIN files also saved. Where? Are BIN files only created on the fly when downloading the project to my device (CardPuter)? I need my BIN file.
-
@BigAl2301 There are no bin files. the projects are micropython files.
-
Yes, I have also encountered the same issue. The MicroPython program compiled through Uiflow2 does not provide the option to directly package and release as a .bin file. However, it can be downloaded to the device, and then the packaged .bin file can be exported using the Firmware export feature in M5burner.
However, after performing this operation, the .bin file I exported can be successfully installed on the SD card via M5Lancher, but it does not run successfully. There are two possible scenarios:
The firmware fails to run, causing M5Lancher to restart infinitely.
The firmware runs but does not execute main.py, resulting in an infinite black screen with no error messages visible.
This issue may be due to the fact that the MicroPython firmware requires multiple files to be flashed simultaneously, such as bootloader.bin, spiffs.img, and partitions_mpy.bin, in addition to the micropython.bin file. If these files are not flashed correctly, it can lead to a boot failure. It is possible that M5Lancher encounters issues when flashing the exported .bin file, or the packaging itself may be incomplete. I hope the M5Stack team can address this issue and provide clarification.
-
@AdventKylin
hey...I don't know why you do that, but I just tried it on my CoreS3, and it works fine, it dumps my entire flash into a 16M bin file, then I erased the CoreS3's flash and flashed the bin to address 0x00 with esptool, and the device works perfectly fine, I don't know where your accusation comes from. -
@AdventKylin
Why don't you use the official esptool but the third-party M5Launcher? This is not convincing, you don't know how M5Launcher flashes the firmware. The export function in M5Burner packages the entire flash into a bin, so of course there is no bootloader.bin or spiffs.bin.