Not applicable
May 03, 2012
02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 03, 2012
02:54 AM
XC878 UM 1.1 states in section 4.4:
[quote="XC878 UM 1.1"]The Flash Timer has 2 operating modes, Program Timer and Erase Timer modes, which
are selectable using the bit FTVAL.MODE. In Program Timer mode (FTVAL.MODE=0),
a 7-bit counter is used to count up to the designated overflow value stored in
FTVAL.OFVAL. Once this value is reached, the associated overflow flag FCS.FTOV is
set.
But section 4.9 (Register Description) doesn't know about a bit named FTOV. I'd guess it's FCS.4. It also could be FCS.7. Is there an official answer?
[quote="XC878 UM 1.1"]The Flash Timer has 2 operating modes, Program Timer and Erase Timer modes, which
are selectable using the bit FTVAL.MODE. In Program Timer mode (FTVAL.MODE=0),
a 7-bit counter is used to count up to the designated overflow value stored in
FTVAL.OFVAL. Once this value is reached, the associated overflow flag FCS.FTOV is
set.
But section 4.9 (Register Description) doesn't know about a bit named FTOV. I'd guess it's FCS.4. It also could be FCS.7. Is there an official answer?
Labels
- Labels:
-
XC800
1 Reply
Not applicable
May 11, 2012
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 11, 2012
05:03 AM
A little update. After some testing I have come to the conclusion that the FTOV bit does not exist, or at least it is not located in the FCS register. However I just confirmed my first successful non-blocking flash write (0x23) to the address 0xf000, by using the NMIFLASH interrupt instead of polling for the timer.