Hi,
following the description https://sourceforge.net/p/gputils/support-requests/7/#d425 I tried to add the new K83 MCUs to trunk 1312. I've patched gputils with:
M gputils/header/Makefile.am M gputils/header/Makefile.in M gputils/header/p18cxxx.inc A gputils/header/p18f25k83.inc A gputils/header/p18f26k83.inc M gputils/libgputils/gpcfg-table.c M gputils/libgputils/gpcfg.h M gputils/libgputils/gpprocessor.c M gputils/libgputils/gpreg-table.c M gputils/libgputils/gpregister.h A gputils/lkr/18f25k83_g.lkr A gputils/lkr/18f26k83_g.lkr M gputils/lkr/Makefile.am M gputils/lkr/Makefile.in
I'm facing two problems
1. The RAM location error:
[AS] gpasm -a inhx32 -e on -I ../include/ gbox2k83-system-led.asm -o gbox2k83-system-led.hex /usr/share/gputils/header/p18f25k83.inc:12277:Warning[219] Invalid RAM location specified. Bad end: 0x0036FF > MAXRAM: 0x001FFF /usr/share/gputils/header/p18f25k83.inc:12278:Warning[219] Invalid RAM location specified. Bad start: 0x003800 > MAXRAM: 0x001FFF /usr/share/gputils/header/p18f25k83.inc:12279:Warning[219] Invalid RAM location specified. Bad start: 0x003891 > MAXRAM: 0x001FFF
but it's defined correctly:
;========================================================================== ; ; RAM Definitions ; ;========================================================================== __MAXRAM H'3FFF' __BADRAM H'0800'-H'36FF' __BADRAM H'3800'-H'387F' __BADRAM H'3891'-H'389C' __BADRAM H'38A0'-H'395A'
000372 0107 00190 BANKSEL CIOCON # should be 000372 0137 00190 BANKSEL CIOCON # where the definition is correct in the include file: CIOCON EQU H'3700'
Any hint would be welcome to get gpasm working with the new k83 MCUs.
Regards
Gerd
Anonymous
Very rarely I have a little time to deal with this project.
The source code of gputils can not handle the PROC_CLASS_PIC16EV class at this time. The patch submitted by you is not enough for a successful compilation. I'm already dealing with the solution, but it takes more time.
Regards
Molnár Károly
was the 18F27Q43 class of chips ever added?