March 21, 2004

TACTICAL RETREAT

Coincidental with getting a bad cold and disorienting dreams with psuedo computer & electronic stuff woven in, I have considered it time to take
a tactical retreat and an assessment of where I am working with the
PIC microcontroller.

Some of my accomplishments at the present time are as follows. I will begin with QBASIC programs that I have developed:

1. a load prm which reads from a hex file onto the PIC. It is slow but it works.

2. a verify pgm which reads out the instructions that have been written onto the EEPROM memory

3. a pgm which writes a new configuration word

4. a pgm which reads the pgm IDENT area and the config word

5. a pgm that creates a table or series of bytes in the EEPROM data memory area

6. a pgm to reads out EEPROM mem data & creates disk file called tableout.dat

7. Certainly not least, I have created an ASSEMBLER for appropriate text files written in PIC16F628 assembler language. Constraints: labels must begin in loc 1, opcodes in loc 9, & operands in 17. There are 2 out files: a .hex file and a .prt file which also includes the hex obj data

In the area of assembler code, I have come up with the following

1. dlymin, dlymed & dlymax which creates delays from 0 to 114 usecs,
from 114 usecs to 2 msecs, and from 2 msecs to about 45 secs respectively

2. I've installed code (not trivial) for accessing EEPROM data mem by PIC pgms

3. I've set up 2 PICS to talk to each other. One creates musical tones, the other
provides the delay controlling the duration of the tones

Posted by larrykeegan at March 21, 2004 11:56 AM