Unfortunately we do not accept new members for free, Now Registration cost 30€, if you are interesting Send Email to [email protected]

EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
15-09-2018, 09:52 AM, (This post was last modified: 15-09-2018, 09:56 AM by dil6222.)
Post: #1
EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
Hello all this should help users who have locked atmega64 on xprog and can not read or program chip anymore. smile 100% way of unlocking after hours/weeks of research and testing.

This is done off board with qfp64 breakout board should be able to  program onboard xprog also though.


easy fix all you need is:

1. UPA PROGRAMMER 

2. USBASP WITH SLOW CLOCK JUMPER ON  
     EXTREME BURNER SOFTWARE AND 10 TO 6PIN ADAPTER 

3. JUMPER WIRES FEMALE AND MALE

4.QFP64 BREAKOUT BOARD 

let's get started smile

 1.     First of all connect jumper wires between atmega and usbasp
       you will need to split vcc + into 3 wires and gnd - into 3 wires 

Connect vcc+ to pin 21,52 and (64 i believe optional as for avcc i test later) 

Connect gnd- to pin 22,53 and 63 

Connect SCK to SCK

Connect RESET to RESET

MOSI to PE0    (common problem is people using PB2 and PB3 as there listed as mosi and MISO but they are not )

MISO to PE1 

You should end up with something like this smile you can see I've split the and vcc 

   


2.   Next connect PIN2  from UPA DB9 SOCKET to XTAL 1.

Now connect everything else usbasp and upa to usb etc 

   

Now comes the fun bit  biggrin

3.   Open upa go on tools then pulse generator and you will see this:

   

Change frequency to 1000khz and click start and leave it running.

   

 4. Open extreme burner avr and go to fuse settings tab and click on read 
        atmega should connect as normal smile

   

5. Go on each set of fuses low, high, extended lock go on bit details and click load default value for each set
   Then tick all the write boxs and click write.   or you can manually enter the following  
(  Low E1,  HIGH 99, EXTENDED FD, LOCK FF then click write these are factory lockbits. see photo

   

6. Go on low fuses and check the following clksel settings are  there

Cksel0   (1)
Cksel1   (0)
Cksel2   (0)
Cksel3   (0)

   

Now erase chip and then disconnect upa  smile

That's it all done it should be able to program/ read as normal without upa sending signal to xtal1 on mega.


 Hope this helps many  CT members to unlock atmega 64 so it can be reused not tossed into the bin  biggrin

I've spent many hours tearing out my hair to bring this guide so PLEASE leave thanks and rep if it helps smile

Many thanks dil6222

under If mine or others posts and info are helpful please give thanks/rep smile yes
Reputation: +24 - 23Andi23 [+1] , Johnner [+2] , volavka [+2] , CHIKODIAG [+1] , McMihai [+1] , ROD-BENDERS [+1] , ivoo [+1] , cubica [+1] , Enabled [+1] , ocostel [+1] , raffy haddad [+1] , skyrimzz [+1] , evgenijj [+1] , Gmmdi911 [+1] , BS68 [+1] , Cowboy [+1] , tester2009 [+1] , al70 [+1] , rafikvw [+1] , svukov21 [+1] , cristofir [+1] , angel29 [+1]
Quote this message in a reply
[+] 44 users say Thank You to dil6222 for this post
18-09-2018, 18:38 PM,
Post: #2
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
Good work M8, I know you've spent months on this, most people would have given up like I did, and thumbs to share this for free...

underunder
IF YOU ARE SATISFIED THANKS AND REP WILL BE NICE
Quote this message in a reply
[+] 2 users say Thank You to spanaz1 for this post
19-09-2018, 02:29 AM,
Post: #3
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
Nice work !!! Congratulations!
Is there a way to read content from locked Atmega,,,32, 64..I need to read locked content from white goods MCUs.

Thanks for nice post,
regards,
cuby
Quote this message in a reply
[+] 1 user says Thank You to cubica for this post
19-09-2018, 03:36 AM,
Post: #4
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
An alternative, if someone found the above setup is hard in practical or hard to reach by you. Another well known fix that frequently used among those AVR enthusiasts is external clock source by an oscillator.

You could find such oscillator unit from an old board, any frequency of no more than 10 MHz should be fine but you could success with one of higher frequency as I did. Consult the datasheet or following the track of the old board for pinout. There are four pins but usually used as three, +5v, GND and output signal.     

Simply connect it onto Xprog PCB as per the images, which is the setup prepared on Xprog in circuit. When ready, now power up Xprog by USB then you can proceed with usual ATmega programming smile  


Note: check carefully to ensure that the part acquired is an oscillator and not just a TYPICAL X-TAL of the same shape, which will never work on this!. The two small SMD packages in the photo can be found as they are either an oscillator or an X-tal. If in doubt, searching and comparing to the datasheet can tell.

           
Reputation: +9 - 23Andi23 [+1] , dil6222 [+1] , Johnner [+2] , tiguan [+1] , ocostel [+1] , raffy haddad [+1] , evgenijj [+1] , al70 [+1]
Quote this message in a reply
[+] 13 users say Thank You to zmann for this post
19-09-2018, 06:46 AM,
Post: #5
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
(19-09-2018, 03:36 AM)zmann Wrote:  An alternative, if someone found the above setup is hard in practical or hard to reach by you. Another well known fix that frequently used among those AVR enthusiasts is external clock source by an oscillator.

You could find such oscillator unit from an old board, any frequency of no more than 10 MHz should be fine but you could success with one of higher frequency as I did. Consult the datasheet or following the track of the old board for pinout. There are four pins but usually used as three, +5v, GND and output signal.     

Simply connect it onto Xprog PCB as per the images, which is the setup prepared on Xprog in circuit. When ready, now power up Xprog by USB then you can proceed with usual ATmega programming smile  


Note: check carefully to ensure that the part acquired is an oscillator and not just a TYPICAL X-TAL of the same shape, which will never work on this!. The two small SMD packages in the photo can be found as they are either an oscillator or an X-tal. If in doubt, searching and comparing to the datasheet can tell.
Hello zmann thanks for adding helpful info here m8 much appreciated  biggrin

under If mine or others posts and info are helpful please give thanks/rep smile yes
Quote this message in a reply
[+] 1 user says Thank You to dil6222 for this post
10-09-2022, 03:16 AM,
Post: #6
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
(15-09-2018, 09:52 AM)dil6222 Wrote:  Hello all this should help users who have locked atmega64 on xprog and can not read or program chip anymore. smile 100% way of unlocking after hours/weeks of research and testing.

This is done off board with qfp64 breakout board should be able to  program onboard xprog also though.


easy fix all you need is:

1. UPA PROGRAMMER 

2. USBASP WITH SLOW CLOCK JUMPER ON  
     EXTREME BURNER SOFTWARE AND 10 TO 6PIN ADAPTER 

3. JUMPER WIRES FEMALE AND MALE

4.QFP64 BREAKOUT BOARD 

let's get started smile

 1.     First of all connect jumper wires between atmega and usbasp
       you will need to split vcc + into 3 wires and gnd - into 3 wires 

Connect vcc+ to pin 21,52 and (64 i believe optional as for avcc i test later) 

Connect gnd- to pin 22,53 and 63 

Connect SCK to SCK

Connect RESET to RESET

MOSI to PE0    (common problem is people using PB2 and PB3 as there listed as mosi and MISO but they are not )

MISO to PE1 

You should end up with something like this smile you can see I've split the and vcc 




2.   Next connect PIN2  from UPA DB9 SOCKET to XTAL 1.

Now connect everything else usbasp and upa to usb etc 



Now comes the fun bit  biggrin

3.   Open upa go on tools then pulse generator and you will see this:



Change frequency to 1000khz and click start and leave it running.



 4. Open extreme burner avr and go to fuse settings tab and click on read 
        atmega should connect as normal smile



5. Go on each set of fuses low, high, extended lock go on bit details and click load default value for each set
   Then tick all the write boxs and click write.   or you can manually enter the following  
(  Low E1,  HIGH 99, EXTENDED FD, LOCK FF then click write these are factory lockbits. see photo



6. Go on low fuses and check the following clksel settings are  there

Cksel0   (1)
Cksel1   (0)
Cksel2   (0)
Cksel3   (0)



Now erase chip and then disconnect upa  smile

That's it all done it should be able to program/ read as normal without upa sending signal to xtal1 on mega.


 Hope this helps many  CT members to unlock atmega 64 so it can be reused not tossed into the bin  biggrin

I've spent many hours tearing out my hair to bring this guide so PLEASE leave thanks and rep if it helps smile

Many thanks dil6222

HI.. is this applicable for my xprog-m 5.84 with the same mcu(atmega64a)?..
Quote this message in a reply
10-09-2022, 05:56 AM,
Post: #7
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
Yes it should be same
as all xprog
regards

[Image: OxNUyuy.jpg]  time  Always new stuff to learn  biggrin
Skype: raffy.haddad
File services : multi brand ecu immo off , VW solutions : immo transfer immo off ,  pcr 2.1 immo , BMW EDC16 IMMO OFF , ....
Yamaha smart key supply pin code from dump ( TMAX , XMAX  ) 
Chevrolet simens sirus D3x D4x D5x
delphi MR 140  IMMOOFF


I DO MY BEST HERE TO HELP YOU MAKE SOME $$$ BUT ON PRIVATE IS DIFFERENT 
Members who not report back they're name will be black listed on my list









Quote this message in a reply
[+] 2 users say Thank You to raffy haddad for this post
10-09-2022, 07:20 AM,
Post: #8
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
(10-09-2022, 05:56 AM)raffy haddad Wrote:  Yes it should be same
as all xprog
regards

i think too.. because its the same atmega64.. but  im looking for someone who had experience on this version..
Quote this message in a reply
11-09-2022, 09:34 AM,
Post: #9
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
(10-09-2022, 07:20 AM)relly_boy Wrote:  
(10-09-2022, 05:56 AM)raffy haddad Wrote:  Yes it should be same
as all xprog
regards

i think too.. because its the same atmega64.. but  im looking for someone who had experience on this version..

relly they are the same mcu the only difference with 5.84 is firmware that is programmed into mcu is different [Image: wink2.gif]

under If mine or others posts and info are helpful please give thanks/rep smile yes
Quote this message in a reply
[+] 1 user says Thank You to dil6222 for this post
12-09-2022, 01:44 AM,
Post: #10
RE: EASY GUIDE REPAIR/UNLOCK ATMEGA64 ON XPROG :)
(11-09-2022, 09:34 AM)dil6222 Wrote:  
(10-09-2022, 07:20 AM)relly_boy Wrote:  
(10-09-2022, 05:56 AM)raffy haddad Wrote:  Yes it should be same
as all xprog
regards

i think too.. because its the same atmega64.. but  im looking for someone who had experience on this version..

relly they are the same mcu the only difference with 5.84 is firmware that is programmed into mcu is different [Image: wink2.gif]
do you have any procedure to do it?.. thanks
Quote this message in a reply


Possibly Related Threads…
Thread Author Replies Views Last Post
0Immo NEW EASY IMMO DOCTOR 2.1 Multi Immo Tool.+ KG ROD-BENDERS 48 10,895 11-04-2024, 21:26 PM
Last Post: nemerei
ZTAudi Audi Q5 bcm2 repair houssam13 1 109 02-04-2024, 01:58 AM
Last Post: sindy
ZTAudi BCM2 Flash Repair/Check in Need karabzn 6 272 30-03-2024, 09:45 AM
Last Post: 23Andi23
HPorshe Taycan Battery LiFePO4 9J1915105MY 40Ah need unlock hubert81 1 131 16-03-2024, 10:17 AM
Last Post: rezt
  Audi A8 D4 bcm2 dump repair fault 02811 kuki88 1 85 13-03-2024, 18:00 PM
Last Post: ROD-BENDERS
  Solved ✔ BMW 318i FRM REPAIR Black Alien 5 192 11-03-2024, 12:51 PM
Last Post: Black Alien
  BCM2 Touareg 7P 2012 repair - DTC 02811 vopi 2 166 23-02-2024, 16:49 PM
Last Post: ROD-BENDERS
HPorshe Porsche key fob 433mhz unlock renew drhg 6 230 04-02-2024, 23:34 PM
Last Post: drhg
XZBMW BMW FRM 2 REPAIR e87 1 series Black Alien 1 150 04-02-2024, 08:51 AM
Last Post: sixcode
  Cas3 E84 Repair mapino 3 219 31-01-2024, 09:47 AM
Last Post: cipi gutuie

Forum Jump:


Users browsing this thread:
1 Guest(s)

Return to TopReturn to Content