IAR sample apps ID code.....
Up to IAR
It appears that a default installation of IAR will use an ID code for some of the sample applications.
I had to replace a chip because I was used to just ignoring the 'ID code: XXXX' dialog, since I never explicitly set it.
I know the adc_repeat example locks the chip with the code 0000FFFF00FFFF. Hopefully this will help someone else with a locked chip.
--buddy
Good info. Thanks for posting it. I too have seen that ID code on some IAR project modules.
While we're trying to help people with locked chips, I'd also suggest the following two codes:
01020304050607
ff ff ff ff 00 ff ff
This behavior is due to that the E8 emulator is control over some of the ID code bytes and always write FF to them regardless of what your application says.
Example: If the application tries to write 00 you will end up with 0000FFFF00FFFF (like above) due to that E8 writes FF for certain ID code bytes.
The IAR linker files are now changed (since v3.30A) so that the default ID code is FF. Then, you will end up with FFFFFFFFFFFFFF which doesn't lock the chip.

