Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help needed for 16F1827 bootloader [solved]
#1
Hello to all,

I have been trying in the last few days to get the ds30loader to work on the 16F1827, which to date I can not get to work, also this is my first attempt in using bootloaders.

In the uploaded zip file I have selected 16F1827 in the SETTINGS.INC file & 20mhz for FOSC as that is the clock frequency for my project, I also selected USE_TXENABLE to see if the ds30loader program was working as PORTB.B2 (TX pin) was not being set as output despite setting ANSELB in the USER_CODE.INC and adding clrf ANSELB.

Also using 20mhz resonator instead of cystal.

Also the USE_TXENABLE PORTB.B0 should be set as output but PORTB.B3
is the one that is set as output, I tried PORTB.B4 as well but PORTB.B3 keeps on being set as output.

The 16F1827 I am using is working as it works in my project with the onboard UART PORTB.B1(RX) & PORTB.B2(TX)

I use a USB - RS232 TTL cable with the TX connected to RX(PORTB.B1)
and RX connected to TX(PORTB.B2)

Using the GUI loader I get no response from the bootloader, on the 1827
there is nothing on the TX pin of the 1827 PORTB.B2 to indicate data being sent out from the PIC, which seems to be set as input.

MPLAB used is V8.90 and I use MikroC Pro as my compiler.

Any help to steer me in the right direction would be appreciated

regards Andrew


Attached Files Thumbnail(s)
   

.zip   firmware PIC12F PIC16F.zip (Size: 64.63 KB / Downloads: 26)
Reply


Messages In This Thread
Help needed for 16F1827 bootloader [solved] - by andcvi - 2013-03-17, 07:28:22
RE: Help needed for 16F1827 bootloader - by andcvi - 2013-03-19, 00:19:48
RE: Help needed for 16F1827 bootloader [solved] - by HavenTech - 2022-07-20, 14:06:00

Forum Jump:


Users browsing this thread: 1 Guest(s)