Author Topic: Problem programming BSide ESR02  (Read 5263 times)

0 Members and 1 Guest are viewing this topic.

Online perdrixTopic starter

  • Frequent Contributor
  • **
  • Posts: 815
  • Country: gb
Problem programming BSide ESR02
« on: April 01, 2020, 03:22:13 pm »
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-4

I have connected as follows:


Galep-4 Pin  ESR02 J6 Pin
18 GND  -->  2
19 MOSI -->  6
20 VTG  -->  1
21 MISO -->  5
22 SCK  -->  4
23 RST  -->  2   


Any hints on what I've done wrong gratefully received ...

David

« Last Edit: April 01, 2020, 03:28:59 pm by perdrix »
 

Online perdrixTopic starter

  • Frequent Contributor
  • **
  • Posts: 815
  • Country: gb
Re: Problem programming BSide ESR02
« Reply #1 on: April 01, 2020, 08:47:40 pm »
I understand the firmware in the unit as supplied is read protected (why?).  Would that stop me doing an Erase of the IC?

David
« Last Edit: April 01, 2020, 08:49:24 pm by perdrix »
 

Online perdrixTopic starter

  • Frequent Contributor
  • **
  • Posts: 815
  • Country: gb
Re: Problem programming BSide ESR02
« Reply #2 on: April 02, 2020, 09:50:49 am »
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/#msg1495258

What'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
« Last Edit: April 02, 2020, 09:53:42 am by perdrix »
 

Offline indman

  • Super Contributor
  • ***
  • Posts: 1443
  • Country: by
Re: Problem programming BSide ESR02
« Reply #3 on: April 02, 2020, 10:24:38 am »
perdrix,read carefully the manual from the author of this firmware ttester.pdf, in which he explained everything in detail
https://www.mikrocontroller.net/svnbrowser/transistortester/Doku/trunk/pdftex/english/
 

Online perdrixTopic starter

  • Frequent Contributor
  • **
  • Posts: 815
  • Country: gb
Re: Problem programming BSide ESR02
« Reply #4 on: April 03, 2020, 12:02:37 pm »
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 0x8000



And 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:



Cheers
David


« Last Edit: April 03, 2020, 01:17:50 pm by perdrix »
 

Offline glicos

  • Regular Contributor
  • *
  • Posts: 70
Re: Problem programming BSide ESR02
« Reply #5 on: August 01, 2020, 02:31:57 am »
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/#msg1495258

I'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..
 

Offline rjmusto

  • Contributor
  • Posts: 34
  • Country: ie
Re: Problem programming BSide ESR02
« Reply #6 on: June 07, 2025, 05:53:00 pm »
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 : DF
High : CE
Extend : FF

But 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 : FF
High : D8
Extend : FF

Can anybody confirm what the details, settings should be for the TL866 programmer?

Many thanks,
Ralph
 

Offline radit68i

  • Newbie
  • Posts: 5
  • Country: bg
Re: Problem programming BSide ESR02
« Reply #7 on: August 28, 2025, 09:05:38 pm »
You are wrong, look carefully.
Low: CE
High: DF
Ext: FF
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->