Added a --term (terminal mode flag to the flasher for convenience)
If you are using newer PIC18 chips w/ PPS module, note that software reset command when going "between" bootloader and application or vice-versa does not un-map your HW associated pins by #pin_select including UART ones.
Also note that the fuses are only taken from your bootloader code so you can review carefully for example
#FUSES RSTOSC_HFINTRC_64MHZ // Internal clock
#FUSES WDT_SW // Use SW by wdt_setup() or NOWDT
#FUSES NOMCLR // MCLR to Vcc internally
#FUSES PUT_64MS // Power_up Timer
#FUSES PROTECT // Code and EEPROM protect from reading
// Confirm protected size >= to LOADER_END 0x7FF "bootloader.h"
#FUSES BBSIZ1K // Boot sector size 1K = 0 to 7FF,
#FUSES BOOTBLOCK // Boot sector enable - to not erase itself
#FUSES WRTB // Boot sector write protected
#FUSES NOPPS1WAY // Allow PPS multiple lock-unlock pins
And all other stuff - I/O pins, periphery - they may be dependent between bootloader and the application (bootloader is not so generic)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum