Firmware Work | La104
# Enter DFU mode on LA104 (usually Hold 'SEL' + Power)
dfu-util -l # verify device found
dfu-util -a 0 -D la104_firmware.bin -s 0x08000000:leave
If DFU fails (common on clones), use ST-Link:
st-flash write la104_firmware.bin 0x08000000
The original firmware limited capture depth to 4K samples per channel. By tweaking the SDRAM initialization (the LA104 has an external 8MB SDRAM), I reallocated a larger ring buffer. Suddenly, I could capture 64K samples at 100MHz. The trade-off? UI responsiveness dropped while the buffer filled—but that’s a problem for future me. la104 firmware work
Before diving into source code or hex files, one must understand the device’s architecture. # Enter DFU mode on LA104 (usually Hold
Compile, flash via DFU, and test on a breadboard. If DFU fails (common on clones), use ST-Link:
The stock LA104 supports basic UART, I2C, and SPI. Through firmware work, you can add:
How it’s done: You modify decoders/decoder_table.c and add a new state machine in decoders/decoder_xxxx.c. The decoder processes raw sample buffers and extracts bits/bytes.