Dear Brain,
I presume you are using the .s19 file appearing earlier in this thread?
The BDM will boot into ICP mode if any of the following are true:
1. PTA.1 is held low
2. The Flash image checksum is incorrect
3. There is a loopback from BKGD to RESET pins on the BDM connector.
So things to check:
1. PTA.1 should be open.
2. Make sure when programming the flash that the appropriate configuration file is used. If in doubt use the one attached. Use the verify option to confirm that it's programmed correctly.
3. Not much chance of something wrong here!
I tried the above .s19 file with a 28 pin device and it booted correctly. I don't have a 20p device to check but it would be unlikely to be different as it is the same chip in a different package (I believe).
Let me know if any of the above helps.
Good luck.
pgo
initial_programming_masserase.zip
Message Edited by t.dowe on 2009-10-26 01:53 PM