Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC18F4680 - overwriting previous address contents
#1
hello,
trying to compile your bootloader using MPLABX 1.60 on linux to a pic18f4680
i have attached my 'settings.inc' file, please rename from zip to inc
other mods to files
1. commented out, lines 35,36,37 in user_code.inc. the ADCON1 comment
2. devices_PIC18F.inc - replaced p18F4680.inc with P18F4680.INC, linux is case sensitive.

Now when i compile i get this output below.
i don't know how to resolve this, can you help?

CLEAN SUCCESSFUL (total time: 55ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X'
make -f nbproject/Makefile-default.mk dist/default/production/ds30Loader.X.production.hex
make[2]: Entering directory `/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X'
"/opt/microchip/mplabx/mpasmx/mpasmx" -q -p18f4680 -u \"/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm\"
Message[303] /home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm 592 : Program word too large. Truncated to core size. (F76B409C)
Error[118] /home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm 592 : Overwriting previous address contents (0000)
Error[118] /home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm 592 : Overwriting previous address contents (0001)
Message[303] /home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm 592 : Program word too large. Truncated to core size. (2F73656C)
Message[303] /home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.asm 592 : Program word too large. Truncated to core size. (0009C011)
make[2]: Leaving directory `/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X'
make[1]: Leaving directory `/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X'
mv: cannot stat `/home/kp/store/projects/bootloaders/ds30_loader/ds30_loader_kp_version_pic18f4680/ds30Loader.X/../src/ds30loader.O': No such file or directory
make[2]: *** [build/default/production/_ext/1360937237/ds30loader.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 410ms)


Attached Files
.zip   settings.zip (Size: 6.53 KB / Downloads: 4)
Reply


Messages In This Thread
PIC18F4680 - overwriting previous address contents - by lambcutlet - 2013-01-29, 23:49:26

Forum Jump:


Users browsing this thread: 1 Guest(s)