Hello; How can I use DPRAM in XC167? I mean: how to correctly link a RAM memory area (in this derivative, 0xE0'0000 - 0xE0'1FFF) into one of the *CODE target classes? My problem: I followed all the linking steps in AppNote #138, including the SROM class and the FLASH_CODE section directives:
SROM (0xC00000-0xC1FFFF)
?PR?PFLASH%FLASH_CODE (0xE00000) [!]
Use the MAP command as indicated in my answer to tell the uVision where you are using memory. uVision does not (yet) simuluation the in-System Flash programming feature of the XC16x devices.