If I insert a programmed 16C505 into a programmer and read it, can I then write the image to a PIC16F505 and just plug it into the existing circuit?
Would I be correct in thinking that if I try to read a protected 16C505 I will get a nastygram from my programmer?
Thanks
David
Not sure that you will get any warnings if the part is read protected. The easiest way to find out is to check the hex file read from the part and see if the address range 0x0000 to 0x00FF contains anything else than 00 or FF.
No its not zero or FF. So I *think* it read OK. However still want to know if I can replace with PIC16F505.
Thanks
Show the sample of readed data.
Did you copy configuration bits?
Show the sample of readed data.
Did you copy configuration bits?
Data: Intel hex format
:100000002500090C24000A0C0A09A304A50B84018D
:100010006000A40284011F0E4307070A0008FF0FB7
:10002000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F60
:10003000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F50
:10004000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F40
:10005000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F30
:10006000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F20
:10007000FF0FFF0FFF0FFF0FFF0FFF0FFF0FFF0F10
:100080000000000000000000000000000000000070
:100090000000000000000000000000000000000060
Config bits - Dunno - just told the rommer to read the IC
I think that this may be a non starter as the config word is 0400 AFAICT which I think says "Write Protected" and "INTRC Osc/GP4"
All memory from x'80' to x'7ff' is read as zeros
Dave
It is protected.
From datasheet:
7.10 Program Verification/Code Protection
If the code protection bit has not been programmed,the on-chip program memory can be read out forverification purposes.
The first 64 locations and the last location (OSCCAL)can be read, regardless of the code protection bit setting.