-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I spent a lot of time reading PIC documents today. I am full of disjointed facts, no cross referencing, and a subtle lack of coherency. The On Chip Debugger Specification document, 51249a.pdf, mentions the In-Circuit Serial Programming (ICSP) Guide (DS30277). At the Microchip site this morning, the search engine was down and I could not find it. Does anyone have a good URL to a copy of DS30277? I read in 39025.pdf, EEPROM Memory Programming Specification, that the EEPROM memory is at word address 2100-21FF, and that this can be put into the HEX files. With some search, I may have produced an .asm file that makes this happen. Can anyone give a URL for a .hex file which has EEPROM data in it, or confirm that their programmer will write EEPROM from my .hex file, URL below? There is occasionally a reference to "Test Memory". This is mentioned in paragraph 2.4.7.2 of 39025.pdf. The file "MPLAB IDE\Device\pic16f874.dev" mentions 2000-20FF as the address for "test memory" I happen to have a 16F874 part in my project right now. The same part Olin questioned the need of last summer. This is a limited memory part. The On Chip Debugger documentation says, in part, that the OCD uses the last 100H words of memory, but other documents say that it uses the addresses at 1F00-1FFF. Guess what? I programmed code at 1F00-1FFF, read back code from 0000-1FFF, and I get that code back, without aliasing. I interpret this to mean that the 16F874 does have 100H words at 1F00-1FFF. Does anyone know a way to write RAM locations with the In Circuit Serial Programmer? With a homebrew OCD, after setting the ICKBUG and BIGBUG registers, BKBUG in the config word, and have the goto vector at word address 2004 set correctly, how can I possibly handle PCLATH? Has anyone made a homebrew OCD to go with their in circuit programmer? The files in this directory are exploratory. They may not ever make sense. They may change. Other files in this directory may be better suited to this discussion. http://www.jump.net/~vima/PIC/OCD/harddebug.asm http://www.jump.net/~vima/PIC/OCD/harddebug.lst http://www.jump.net/~vima/PIC/OCD/OCD.lkr - -- Aubrey McIntosh, Ph.D. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBQCmQkQKlSw8yssF7EQK+7ACeIDjaQXVAqZ5/MCfrj7D8TSuPy0gAn0fA q1yOPflzDXwAbkAbApVb0s3Y =Sn4g -----END PGP SIGNATURE----- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu