2015-11-25, 03:22:35
OK the plot thickens..............................
So i decided to test out the comms on the PIC16F1455 without the bootloader stuff. I wrote a small program to flash an LED and this works OK (written in PDS). As soon as i added a routine for the USART i get the same error "SPBRG unknown symbol". So i looked in the register defines for the 1455 and there is no SPBRG register, there is SPGRBL + SPGRBH.
So the upshot is i junked the 1455 and iv ordered some PIC16F1825's that i know work OK. Im guessing that the folks at Microchip went off there beaten path with the register names in the 1455 and hence will not compile correctly..............1 day of wasted time
Thanks
Ray
So i decided to test out the comms on the PIC16F1455 without the bootloader stuff. I wrote a small program to flash an LED and this works OK (written in PDS). As soon as i added a routine for the USART i get the same error "SPBRG unknown symbol". So i looked in the register defines for the 1455 and there is no SPBRG register, there is SPGRBL + SPGRBH.
So the upshot is i junked the 1455 and iv ordered some PIC16F1825's that i know work OK. Im guessing that the folks at Microchip went off there beaten path with the register names in the 1455 and hence will not compile correctly..............1 day of wasted time
Thanks
Ray