How to read chip signature from software?

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it possible to read the chip signature from software?
If YES, how?
***
What about writing the Lock Bits? Is it possible from software?

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You don't say which chip, but for the ATmega8, the bootloader section describes reading and writing the lock bits. As for the signature bits, I have never found a way other than serial or parallel programing. They reside in a seperate address space, with no mention of how to address it.

Laurence Boyd II

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ooopss! I forgot to mention:
- chip: ATmega8;
- and …operation (read/write) from app. section, not from BL section! :-)

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can only read from the app section. How to do so is discussed in the bootloader setcion of the data sheet.

Laurence Boyd II

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Laurence Boyd II wrote:
You can only read from the app section. How to do so is discussed in the bootloader setcion of the data sheet.

Hmmm, I searched but... I didn't find anything about "reading signature bytes from app. section" in the datasheet.

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

you CANNOT read the signature bytes from your application. The only Fuses/Lockbits that CAN be accessed from your application are the bootloader lock bits.

This has been discussed before, try using the Search.

Writing code is like having sex.... make one little mistake, and you're supporting it for life.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok, thx for help...
***
Hmm, I imagine that reading the signature bytes from bootloader section is also impossible...

Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies.