Hi Andrew,
Can you share your complete modified version of the bootloader folder with us? I am trying to make it work with PIC16F1847 with an external 20 MHz resonator, and having the similar problem.
Thanks,
Raj
I was able to make the bootloader work for PIC16F1827 with the modifications suggested by Andrew. However, when I tried to do the same with PIC16F1847, the GUI returns the following error.
Searching for bl .
Found PIC16F1513 fw ver. 1.0.2
Wrong pic detected(499)/selected(468), aborting
Any suggestion, why the GUI is detecting a wrong PIC.
Thanks,
Raj
sds
Can you share your complete modified version of the bootloader folder with us? I am trying to make it work with PIC16F1847 with an external 20 MHz resonator, and having the similar problem.
Thanks,
Raj
(2013-03-19, 00:19:48)andcvi Wrote: Hello Mikael,
I got the bootloader to work last night, I had to add the following code into user_code.inc
Code:ifdef ANSELB
;error Do you need to configura uart pins to be digital? If not, remove this line
banksel ANSELB
clrf ANSELB
banksel TRISB
movlw B'11110011' ; hardware-UART Tx/Rx direction
movwf TRISB
banksel PORTB
movlw B'11111111'
movwf PORTB
endif
now the bootloader works
I also set the config bits in settings.inc for my setup
regards Andrew
I was able to make the bootloader work for PIC16F1827 with the modifications suggested by Andrew. However, when I tried to do the same with PIC16F1847, the GUI returns the following error.
Searching for bl .
Found PIC16F1513 fw ver. 1.0.2
Wrong pic detected(499)/selected(468), aborting
Any suggestion, why the GUI is detecting a wrong PIC.
Thanks,
Raj
sds
(2013-05-15, 05:11:08)rajbex Wrote: Hi Andrew,
Can you share your complete modified version of the bootloader folder with us? I am trying to make it work with PIC16F1847 with an external 20 MHz resonator, and having the similar problem.
Thanks,
Raj
(2013-03-19, 00:19:48)andcvi Wrote: Hello Mikael,
I got the bootloader to work last night, I had to add the following code into user_code.inc
Code:ifdef ANSELB
;error Do you need to configura uart pins to be digital? If not, remove this line
banksel ANSELB
clrf ANSELB
banksel TRISB
movlw B'11110011' ; hardware-UART Tx/Rx direction
movwf TRISB
banksel PORTB
movlw B'11111111'
movwf PORTB
endif
now the bootloader works
I also set the config bits in settings.inc for my setup
regards Andrew