Problem programming BSide ESR02 - Page 1
Forum section: electronics / testgear

author: perdrix
author_rank: Frequent Contributor
timestamp: April 01, 2020, 03:22:13 pm
content: I'm probably getting this quite wrong but when I tried to ISP program my ESR02 I get a "Synchronization Error" reported by my Galep-4I have connected as follows:Galep-4 Pin ESR02 J6 Pin18 GND --> 219 MOSI --> 620 VTG --> 121 MISO --> 522 SCK --> 423 RST --> 2Any hints on what I've done wrong gratefully received ...David

author: perdrix
author_rank: Frequent Contributor
timestamp: April 01, 2020, 08:47:40 pm
content: I understand the firmware in the unit as supplied is read protected (why?). Would that stop me doing an Erase of the IC?David

author: perdrix
author_rank: Frequent Contributor
timestamp: April 02, 2020, 09:50:49 am
content: Some progress - it really does help to tell the programmer to provide Vcc to the device! Once I'd done that I was able to flash the device just fine!The firmware I was loading is the hex file from the 8x15 folder in the firmware download in this post:https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg1495258/#msg1495258What's the eep file for BTW???The fuses.png file in that folder looks like:So I set the fuses in the programmer dialog like this:And it appeared to programme OK, but when I powered it on, this is what I saw:Clearly I've set something incorrectly, but what?Dave

author: indman
author_rank: Super Contributor
timestamp: April 02, 2020, 10:24:38 am
content: perdrix,read carefully the manual from the author of this firmware ttester.pdf, in which he explained everything in detailhttps://www.mikrocontroller.net/svnbrowser/transistortester/Doku/trunk/pdftex/english/

author: perdrix
author_rank: Frequent Contributor
timestamp: April 03, 2020, 12:02:37 pm
content: Well I read the manual and wasn't much the wiser until I talked to another Galep-4 user who pointed me in the right direction to burn the EEPROM as well as the flash.First of all I didn't have the fuse setting quite right. It should have been like this:The next thing was to include the EEPROM image into the storage buffer for the programmer.The Flash image was loaded at location zero in the programming software's buffer, and the ATMega328P flash extends to 0x7fff.So switched to the File/Buffer Options screen and set the buffer start address to the start address of EEPROM which is 0x8000And then pressed "Load" to load the EEP file. This populated the back end of the buffer (starting at location 0x8000) as you can see:I then had to switch to the Action Options settings dialogue and make sure the EEPROM check box was selected to ensure the programmer would burn the EEPROM image as well as the Flash:I could then programme the device and it worked fine:CheersDavid

author: glicos
author_rank: Regular Contributor
timestamp: August 01, 2020, 02:31:57 am
content: Hope anyone can help me. I'm not yet familliar with AVR programming. I'm trying to program BSide ESR02 since i replaced the MEGA 328P Chip due to overheating. I have obtain the necessary files from this link:https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg1495258/#msg1495258I'm using a MiniPro TL866A with ICSP connector and check it support the ATMEGA 328P Chip but no idea what are the proper configuration bit and proper way to program it. Appreciate any help from expert user of TL866a..

author: rjmusto
author_rank: Contributor
timestamp: June 07, 2025, 05:53:00 pm
content: I know this thread is a bit old now, but am looking for advice on the correct fuse settings for the ATMEG328.I have a Bside ESR02 with a dead processor, so have been trying to get a new one programmed using the Karl-Heinz firmware, so far unsuccessfully. I'm using a TL866 programmer.The screenshot included with the firmware shows the fuse settings as:Low : DFHigh : CEExtend : FFBut this is not working for me - unless I've got some other setting wrong of course. The image shows what I get on-screen when powering on.(I have loaded the EPROM and the Flash files.)ChatGPT by the way tells me to set the fuses as:Low : FFHigh : D8Extend : FFCan anybody confirm what the details, settings should be for the TL866 programmer?Many thanks,Ralph

author: radit68i
author_rank: Newbie
timestamp: August 28, 2025, 09:05:38 pm
content: You are wrong, look carefully.Low: CEHigh: DFExt: FF