NOTE: This is a WIP, things don't work perfectly.
Here's a quick guide to updating the BSIDE ESR02 Pro component tester firmware to version 1.51m.
It requires compiling firmware, opening your device and soldering wires and then flashing the microcontroller with an AVR programmer (you can also use an Arduino for this).
Following assumes your're using a Linux and have Docker installed.
- Download the latest firmware source (note as of 1.51m there is a fix for
cap.c
that also needs to be downloaded) - Unpack the gzip file and overwrite the existing files with the ones in
modified/
in this repo - Compile using a Docker-ized toolchain (saves needing to install it locally):
docker run --rm --privileged -v $(pwd):/build lpodkalicki/avr-toolchain make
- If that works, you should be left with some
ComponentTester.*
files (you can also use the files infirmware/
on this repo)
Note there are various options in config.h
you can play with, but some won't fit on the AVR flash.
Now open your device and identify which PCB version you have. If yours does not have all the ICSP pins exposed on the unpopulated headers, then you have the same version as me and need to solder as in the picture below:
Then you need to connect the pins to your programmer. I used an AVR ISP mkII, which doesn't supply the required 5V, so I modded it as per here except with momentary switch after the diode.
Now you should be able to flash it using
docker run --rm --privileged -v (pwd):/build lpodkalicki/avr-toolchain upload
Make sure your unsolder the wires you used for flashing and recalibrate your unit.