OK, I will try that.
In the gui I checked custom boot loader
placement 8 pages from the end
size 8 pages.
I also changed the timeout to 5000 from 3000 ms.
Occasionally it would timeout writing the user program and when it does the bootloader code seems to get overwritten.
Thanks !
I commented the line out in the .s
; Else, unknown command
;SendL UCMD <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
bra main1
I can't use BL size 192 because the source will not compile.
I get this error from MPLAB
MPLINK 4.40, Linker
Device Database Version 1.0
Copyright © 1998-2011 Microchip Technology Inc.
Error - section '.org_3' can not fit the absolute section. Section '.org_3' start=0x00000f40, length=0x00000182
Errors : 1
Link step failed.
----------------------------------------------------------------------
Release build of project `J:\ds30 Loader\firmware PIC12F PIC16F\ds30Loader.mcp' failed.
Language tool versions: MPASMWIN.exe v5.42, mplink.exe v4.40, mplib.exe v4.40
Thu Sep 22 12:02:40 2011
----------------------------------------------------------------------
BUILD FAILED
*************************************************
I commented this out of the .asm file also
; Else, unknown command
;SendL UCMD ;->bank?
Did you mean to comment it out of the .s and the .asm files ? It will now compile in 192 words !!!
In the gui I checked custom boot loader
placement 8 pages from the end
size 8 pages.
I also changed the timeout to 5000 from 3000 ms.
Occasionally it would timeout writing the user program and when it does the bootloader code seems to get overwritten.
Thanks !
I commented the line out in the .s
; Else, unknown command
;SendL UCMD <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
bra main1
I can't use BL size 192 because the source will not compile.
I get this error from MPLAB
MPLINK 4.40, Linker
Device Database Version 1.0
Copyright © 1998-2011 Microchip Technology Inc.
Error - section '.org_3' can not fit the absolute section. Section '.org_3' start=0x00000f40, length=0x00000182
Errors : 1
Link step failed.
----------------------------------------------------------------------
Release build of project `J:\ds30 Loader\firmware PIC12F PIC16F\ds30Loader.mcp' failed.
Language tool versions: MPASMWIN.exe v5.42, mplink.exe v4.40, mplib.exe v4.40
Thu Sep 22 12:02:40 2011
----------------------------------------------------------------------
BUILD FAILED
*************************************************
I commented this out of the .asm file also
; Else, unknown command
;SendL UCMD ;->bank?
Did you mean to comment it out of the .s and the .asm files ? It will now compile in 192 words !!!