Skip to content

roger-/bside-firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

NOTE: This is a WIP, things don't work perfectly.

Overview

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).

Compiling firmware

Following assumes your're using a Linux and have Docker installed.

  1. Download the latest firmware source (note as of 1.51m there is a fix for cap.c that also needs to be downloaded)
  2. Unpack the gzip file and overwrite the existing files with the ones in modified/ in this repo
  3. Compile using a Docker-ized toolchain (saves needing to install it locally):
    docker run --rm --privileged -v $(pwd):/build lpodkalicki/avr-toolchain make
    
  4. If that works, you should be left with some ComponentTester.* files (you can also use the files in firmware/ on this repo)

Note there are various options in config.h you can play with, but some won't fit on the AVR flash.

Soldering connections for flashing

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:

image

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.

Flashing

Now you should be able to flash it using

docker run --rm --privileged -v (pwd):/build lpodkalicki/avr-toolchain upload

Final steps

Make sure your unsolder the wires you used for flashing and recalibrate your unit.

References

About

Guide to updating the BSIDE ESR02 Pro firmware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages