t-edson / PicPas

Compilador en Pascal para microcontroladores PIC / Pascal compiler for PIC microcontrollers
GNU General Public License v2.0
88 stars 27 forks source link

Fixed config words and RAM mappings in mid-range PICs #48

Closed cuistax closed 6 years ago

t-edson commented 6 years ago

Commited. Thanks.

t-edson commented 6 years ago

Some observations: The Max frequency for PIC16F84 is 20Mhz. You set to 4MHz. There are some wrong mapped address, in some file like PIC16F84:

{$SET_MAPPED_RAM '08C-0CF:bnk1'} // maps to area 00C-04F (bank 0)

This is wrong because the mapped must be to bank0.