stameni
Computer
- Nov 15, 2001
- 9
I have been reading parts of the PIC16C84 datasheet. Unfortunately, I have not got the whole document and so I use 16F8X's, which seems pretty similar. However, some parts aren't extremely clear. Could anyone explain the following?
1. What are the differences between the Data EEPROM and Flash Program Memory? I think Data is 8-bit wide and Flash should be made of 14-bit memory words, but I'm not sure. I also don't know how to write in Program Memory (when considering chips which have Flash, not ROM): using an
EPROM programmer, or…? Writing to Data EEPROM is done in a way I could understand, but to a Flash Program Mem?
2. When an interrupt occurs, is it necessary to reset the GIE flag (INTCON<7>) manually, or this is done implicitly? According to the PIC16F8X datasheet it isn't necessary, but what about PIC16C84? I think it is done implicitly, but some people told me that it had to be done as a first instruction in an interrupt service routine.
Thank you all. Sorry if my questions are too easy.
Best wishes,
Ivan
1. What are the differences between the Data EEPROM and Flash Program Memory? I think Data is 8-bit wide and Flash should be made of 14-bit memory words, but I'm not sure. I also don't know how to write in Program Memory (when considering chips which have Flash, not ROM): using an
EPROM programmer, or…? Writing to Data EEPROM is done in a way I could understand, but to a Flash Program Mem?
2. When an interrupt occurs, is it necessary to reset the GIE flag (INTCON<7>) manually, or this is done implicitly? According to the PIC16F8X datasheet it isn't necessary, but what about PIC16C84? I think it is done implicitly, but some people told me that it had to be done as a first instruction in an interrupt service routine.
Thank you all. Sorry if my questions are too easy.
Best wishes,
Ivan