Hello,
I'm new with bootloader and I have problems.
I have modified the asm file for 16F876A, 16 Mhz and 9600 Bauds. Here
copy of the declaration in MPLAB.
list p=16f876a
#define ICD_DEBUG 0
#define FOSC D'16000000'
#define BAUD D'9600'
#define BAUD_ERROR D'4'
#define TIME
#define TRIGGER PORTB,7
#define TIMEOUT D'2'
#define WATCHDOGTIMER 0
I have copied the .hex file in the Pic.
When I start "Pic downloader 1.08" or "Picbootloader+" I have the
message "Searching for Bootloader" for a long time (a wait more than 1
minute) and nothing more. If I reset the Pic, the program says "time
out" and abort.
I have try with differents baudrate and the two last version (9-40 and
9-30).
With version 9-30 the MPLAB compiler give my a lot of error :
Clean: Deleting intermediary and output files.Clean:
Done.Executing: "C:\Microchip\MPASM
Suite\MPAsmWin.exe" /q /p16F876A "876a_16_96.asm" /l"876a_16_96.lst" /e
"876a_16_96.err"Message[305] C:\PROJETS\BOOTHEX\876A_16_96.ASM 458 :
Using default destination of 1 (file).Message[305]
C:\PROJETS\BOOTHEX\876A_16_96.ASM 570 : Using default destination of 1
(file).Message[305] C:\PROJETS\BOOTHEX\876A_16_96.ASM 572 : Using
default destination of 1 (file).Message[305]
C:\PROJETS\BOOTHEX\876A_16_96.ASM 573 : Using default destination of 1
(file).Message[305] C:\PROJETS\BOOTHEX\876A_16_96.ASM 574 : Using
default destination of 1 (file).Message[305]
C:\PROJETS\BOOTHEX\876A_16_96.ASM 575 : Using default destination of 1
(file).Message[305] C:\PROJETS\BOOTHEX\876A_16_96.ASM 585 : Using
default destination of 1 (file).Message[305]
C:\PROJETS\BOOTHEX\876A_16_96.ASM 619 : Using default destination of 1
(file).Message[305] C:\PROJETS\BOOTHEX\876A_16_96.ASM 621 : Using
default destination of 1 (file).Message[305]
C:\PROJETS\BOOTHEX\876A_16_96.ASM 622 : Using default destination of 1
(file).Loaded C:\Projets\BootHex\876a_16_96.COD.BUILD SUCCEEDED: Sat
Jan 07 17:02:17 2006
My application,loading without bootloader and using serial
communication, works with the terminal of "Picbootloader +".
Could you help to find my errors.
Thanks and regard.
Guy Detienne.