Hello everyone,
I just started collecting documentation on bootloaders and I remember reading somewhere that certain configs must be included in the bootloader.
Below is my set of configs and defines. I would like to match the bootloaders communication speed with my future Debug communication.
My question is which of them must go in the bootloader and which can be part of the new .HEX file to be loaded.
Any input on that will be greatly appreciated.Code:@__config_device_pic16f819 @__config_wdt_off @__config_hs_osc @__config_pwrt_on @__config_mclr_off @__config_lvp_off @__config_protect_on @__config_CCP1_RB2 DEFINE OSC 8 DEFINE DEBUG_REG PORTB DEFINE DEBUGIN_REG PORTB DEFINE DEBUG_BIT 6 DEFINE DEBUGIN_BIT 7 DEFINE DEBUG_MODE 1 DEFINE DEBUG_BAUD 38400 DEFINE ADC_BITS 8 DEFINE ADC_CLOCK 3 DEFINE ADC_SAMPLEUS 50 ADCON1=%01001110 CCP1CON = %00001100 PR2 = 15 CCPR1L = 0 CCP1CON.5 = 0 CCP1CON.4 =0
Nick




Bookmarks