how to read signature byte ?

Status
Not open for further replies.

debabrta kar

Member level 5
Joined
May 20, 2013
Messages
86
Helped
7
Reputation
16
Reaction score
5
Trophy points
1,288
Location
india
Activity points
1,858
what is signature byte of a mcu and how to read it....please guide
 

I assume this is the built-in ID byte(s).

It depends upon the individual processor but typically during the programming stage, one or more bytes that can not normally be read by the devices own code can be read by the programming unit. Usually, this is a manufacturers ID and one or more bytes to identify the actual device type. It is used by a programmer to tell if the wrong device has been selected. There is no standard method to read the bytes, you have to refer to the programming specification to see how it can be read for each device type.

Brian.
 
suppose i am working with at89s52 and i want know the location of signature byte in rom memory and can we use those location for other purpose plz guide thank you...
 

The data sheet says:
Code:
05 Miscellaneous Read Functions
:02xxxx05ffsscc
Where:
02 = number of bytes in the record
xxxx = required field but value is a ‘don’t care’
05 = function code for misc read
ffss = subfunction and selection code
0000 = read manufacturer id
0001 = read device id 1
0002 = read ISP/IAP version
0700 = read security bit (00000 SB 0 Double Clock)
cc = checksum
Example:
:020000050000F9 (display manufacturer id)

but I don't think this data is writable. That wouldn't make sense so I don't think you can use the address for anything else. I copied the text from the ICSP section on hex commands.

Brian.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…