2025-10-20, 09:32 PM
Ahhhh, I bet Generic.LC_COLLATE could be flashed manually too and get past this error. Yes, turns out it can!
For anyone else in this situation, you can flash the tangara.bin and lua.bin files as normal, then manually flash the rest of the firmware package thusly:
I got the flash address numbers from:
And the serial port number on macOS presents as a tty device:
The ESP doco has some good tips about serial port stuff here: https://docs.espressif.com/projects/espt...ort-port-p
For anyone else in this situation, you can flash the tangara.bin and lua.bin files as normal, then manually flash the rest of the firmware package thusly:
Code:
esptool.py --port /dev/tty.usbmodem201 write_flash 4096 bootloader.bin 32768 partition-table.bin 53248 ota_data_initial.bin 8454144 Generic.LC_COLLATE 15794176 repl.binI got the flash address numbers from:
Code:
% more tangaraflash.json
{
"version": 0,
"data": {
"firmware": {
"version": "1.5.0",
"images": [
{ "addr": 4096, "name": "bootloader.bin" },
{ "addr": 32768, "name": "partition-table.bin" },
{ "addr": 53248, "name": "ota_data_initial.bin" },
{ "addr": 65536, "name": "tangara.bin" },
{ "addr": 8454144, "name": "Generic.LC_COLLATE" },
{ "addr": 11599872, "name": "lua.bin" },
{ "addr": 15794176, "name": "repl.bin" }
]
}
}
}And the serial port number on macOS presents as a tty device:
Code:
% ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port /dev/tty.usbmodem201The ESP doco has some good tips about serial port stuff here: https://docs.espressif.com/projects/espt...ort-port-p




