Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
16F87 BL compile issues ? [solved]
#19
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 !!!
Reply


Messages In This Thread
16F87 BL compile issues ? [solved] - by KiloBravo - 2011-09-09, 20:19:34
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-10, 01:47:37
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-11, 01:59:51
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-11, 15:35:50
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-11, 20:20:44
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-11, 21:25:02
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-12, 21:56:56
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-12, 23:59:13
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-15, 02:01:25
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-15, 03:11:42
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-18, 00:29:18
RE: 16F87 BL compile issues ? - by KiloBravo - 2011-09-22, 17:48:25

Forum Jump:


Users browsing this thread: 1 Guest(s)