Register
Page 2 of 7 FirstFirst 1234567 LastLast
Results 16 to 30 of 102
  1. #16
    DK Veteran KenshinPT's Avatar
    Join Date
    Mar 2010
    Location
    PT
    Posts
    408
    Thanks Thanks Given 
    11
    Thanks Thanks Received 
    23
    Thanked in
    15 Posts

    Default

    Quote Originally Posted by potel View Post
    Can you please 'elaborate' a bit on it? That might be VERY interesting (and not at all offtopic).
    Have you particularly managed to program fuses (e.g. EESAV) on a locked atmega without destroying content of eeprom area? Could be possible?
    Thank you.
    If the ATMEGA is locked you can't read the content of the EEPROM.

    If you want to reset fuses the content of EEPROM will also be erased.

    To do this fuse reset and EEPROM erase you need to dessolde the uC from the PCB and then connect it to a HVP (High Voltage Programmer) thus the content of the memory is lost.

    You can read the content of the EEPROM if you have a laser to destroy the uC case and then with a microscope you can read the content of the memory bit by bit. Then you need a pen and a paper to write it down.


    Did it help? Push Thanks below

  2. The Following User Says Thank You to KenshinPT For This Useful Post:

    Col19 (2nd February, 2021)

  3. #17
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Wink

    Quote Originally Posted by KenshinPT View Post
    If the ATMEGA is locked you can't read the content of the EEPROM.

    If you want to reset fuses the content of EEPROM will also be erased.

    To do this fuse reset and EEPROM erase you need to dessolde the uC from the PCB and then connect it to a HVP (High Voltage Programmer) thus the content of the memory is lost.

    You can read the content of the EEPROM if you have a laser to destroy the uC case and then with a microscope you can read the content of the memory bit by bit. Then you need a pen and a paper to write it down.

    Yes,and no...

    First hack is the invasive attack...destroying some atmegas...by laser or some acid burning the housing

    But it seems,actually somebody has managed to create an external programmer able to confuse atmega lockbits...and read entire flash and eprom....by non ivasive attack...

    Atmega would not be destroyed....

  4. #18
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Wink

    Quote Originally Posted by potel View Post
    Can you please 'elaborate' a bit on it? That might be VERY interesting (and not at all offtopic).
    Have you particularly managed to program fuses (e.g. EESAV) on a locked atmega without destroying content of eeprom area? Could be possible?
    Thank you.

    I am actually too busy to play around on atmegas

    And avr are not really my favourite thing...there exists real experts for that kind of work...

  5. #19
    Newbie
    Join Date
    Oct 2010
    Posts
    3
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    good thank you

  6. #20
    DK Veteran
    ipejasinovic's Avatar
    Join Date
    Jun 2009
    Location
    Bosnia & Herzegovina
    Posts
    862
    Thanks Thanks Given 
    3
    Thanks Thanks Received 
    329
    Thanked in
    50 Posts

    Default

    Quote Originally Posted by potel View Post
    Can you please 'elaborate' a bit on it? That might be VERY interesting (and not at all offtopic).
    Have you particularly managed to program fuses (e.g. EESAV) on a locked atmega without destroying content of eeprom area? Could be possible?
    Thank you.
    Yes, it's possible to read locked atmega with special programmer. Even that atmage stays alive.
    Galletto 2012 v54 full with JTAG and Mini available



    Big Stars never dies:
    Colin McRae (1968 ***8211; 2007)
    Richard Burns (1971 ***8211; 2005)
    Georg Plasa (1960 - 2011

  7. #21
    Newbie
    Join Date
    Mar 2010
    Location
    RO
    Posts
    4
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Quote Originally Posted by ipejasinovic View Post
    Yes, it's possible to read locked atmega with special programmer.
    Yeahhh.... Go on! Don't stop here!
    Give us a hint... a track... WHICH PROGRAMMER ???

  8. #22
    DK Veteran
    ipejasinovic's Avatar
    Join Date
    Jun 2009
    Location
    Bosnia & Herzegovina
    Posts
    862
    Thanks Thanks Given 
    3
    Thanks Thanks Received 
    329
    Thanked in
    50 Posts

    Default

    Don't know. One of my friends have it and I know that he can unlock ATmega 8, 16, 64, 128 and 162. For other I didn't ask. But, don't forget, programming and reading AVR mcu's is his job. I doubt that he will give the name and source of programmer just like that.
    Galletto 2012 v54 full with JTAG and Mini available



    Big Stars never dies:
    Colin McRae (1968 ***8211; 2007)
    Richard Burns (1971 ***8211; 2005)
    Georg Plasa (1960 - 2011

  9. #23
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Wink

    Quote Originally Posted by ipejasinovic View Post
    Don't know. One of my friends have it and I know that he can unlock ATmega 8, 16, 64, 128 and 162. For other I didn't ask. But, don't forget, programming and reading AVR mcu's is his job. I doubt that he will give the name and source of programmer just like that.

    Yes...why should he loose lot of money?...for not even a thank youthats the world today....

    If i had infos about non invasive attacks for avr...


    I know some chins asking more than 900 USD for reading one only avr...so how much need you to pay getting infos about hardware and firmware to do it yourself...

    Let them do a good job..and hope that they continue doing it...

  10. #24
    DK Veteran
    tehnosoftex's Avatar
    Join Date
    Oct 2009
    Location
    Romania
    Posts
    675
    Thanks Thanks Given 
    216
    Thanks Thanks Received 
    302
    Thanked in
    124 Posts

    Default

    I think that all microcontrollers are sensitive to oscillator spikes or variations. As we can see there is programers which read protected motorola , micronas or even fujitsu. May be for atmel or pic can be made a such programmer but need some research to do.

  11. #25
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Question

    Quote Originally Posted by tehnosoftex View Post
    I think that all microcontrollers are sensitive to oscillator spikes or variations. As we can see there is programers which read protected motorola , micronas or even fujitsu. May be for atmel or pic can be made a such programmer but need some research to do.

    You are right...in the document i posted before..are some instructions...but not great stuff...

    What do we know...we need some powersource which can vary power peaks from 3 to 13 V...
    how many variations/second?

    Some fischls programmer:

    fischl.de - USBasp - USB programmer for Atmel AVR controllers

    But need some one able to write a great FW for it...check which power or oscillation peakes and changes where needet

  12. The Following User Says Thank You to rsibiza For This Useful Post:

    Col19 (2nd February, 2021)

  13. #26
    DK Veteran zoro1's Avatar
    Join Date
    May 2010
    Location
    Bulgaria,Sofia,Vidin
    Posts
    530
    Thanks Thanks Given 
    93
    Thanks Thanks Received 
    417
    Thanked in
    50 Posts

    Default

    Quote Originally Posted by ipejasinovic View Post
    Yes, it's possible to read locked atmega with special programmer. Even that atmage stays alive.
    If the fuse bit is set to 0xFC ,even God can not read Atmega with programmer.The China-man clones the ELM 327/a PIC microcontroler/with Grinding mashine and a electron microscope

  14. #27
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Default

    Quote Originally Posted by zoro1 View Post
    If the fuse bit is set to 0xFC ,even God can not read Atmega with programmer.The China-man clones the ELM 327/a PIC microcontroler/with Grinding mashine and a electron microscope
    Thats what atmel and they user are wanting,but not completely thrue.

    All avr or pic can be attacked...by power glitch,peakes oscillo peakes...it looses control...and let read the content.

    Grininding,laser and electron microscope is also very successfull,but not only choice.

  15. #28
    DK Veteran
    tehnosoftex's Avatar
    Join Date
    Oct 2009
    Location
    Romania
    Posts
    675
    Thanks Thanks Given 
    216
    Thanks Thanks Received 
    302
    Thanked in
    124 Posts

    Default

    I know that for secure microcontrollers, like these used in smart cards , there is a sensor which apply reset on mcu core when sense variations in oscillator frequency. Why they do that?

  16. #29
    DK Veteran rsibiza's Avatar
    Join Date
    Oct 2009
    Posts
    1,083
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    54
    Thanked in
    30 Posts

    Lightbulb Breaking AVR s micropics..etc...

    Here after hours i found back an article i read a zear ago..mazbee this can help understand a bit more about attacking avr s...

    http://www.cl.cam.ac.uk/~sps32/mcu_lock.html

    http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.pdf
    Last edited by rsibiza; 11th November, 2010 at 05:21 AM.

  17. The Following 2 Users Say Thank You to rsibiza For This Useful Post:

    Col19 (2nd February, 2021), Landcr (10th June, 2023)

  18. #30
    DK Veteran zoro1's Avatar
    Join Date
    May 2010
    Location
    Bulgaria,Sofia,Vidin
    Posts
    530
    Thanks Thanks Given 
    93
    Thanks Thanks Received 
    417
    Thanked in
    50 Posts

    Default

    intresting ,but i do not hawe a answer on my q.IS the code for atmega ?

 

 
Page 2 of 7 FirstFirst 1234567 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.