• AVR Freaks

Hot!PIC16f1789 EEPROM ASM-->XC8

Page: < 12 Showing page 2 of 2
Author
1and0
Access is Denied
  • Total Posts : 9977
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: PIC16f1789 EEPROM ASM-->XC8 2019/11/07 10:25:04 (permalink)
+2 (2)
mark.pappin
Because under the hood XC8 is still separate compilers for baseline/mid-range (PICC) and high-end (PICC-18), and the eeprom qualifier was never implemented in PICC-18.
 
The function and macro were in PICC-18 back in HI-TECH days so I can't answer your second question but it's likely "a directive came from Management (demanding something impossible) that meant PIC18 EEPROM support was sacrificed".

Here is Jeff's (mad_c) explanation in Post #9: https://www.microchip.com/forums/FindPost/927851  There also are responses to the issues.
 
Quoted that Post #9 here:
 
Adding support for the eeprom qualifier and to store such objects in EEPROM is relatively easy. The problem is that if the unthinkable should happen and the programmer actually write an expression that involved reading or writing those EEPROM objects. Such access requires routines to be called, and the problem with the PIC18 devices is that there are so many different routines that need to be present, maintained, and expanded with the release of new device families. Many devices did not have routines available, and since MCC would provide these routines in future for general access, the compiler's PIC18 EEPROM routines were dropped and the ability for the eeprom qualifier put on hold. The situation is less of an issue for mid-range devices, so the compiler currently maintains its own routines and the qualifier can still be used.
#21
Page: < 12 Showing page 2 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5