|
|
View previous topic :: View next topic |
Author |
Message |
reash
Joined: 17 Sep 2007 Posts: 8
|
Problem with Tiny Bootloader - PIC16F1938 |
Posted: Thu Mar 22, 2012 11:41 am |
|
|
Hello,
Has anyone tried using the PIC16F1938 with the Tiny Bootloader? I've been successfully using it with code compiled with the CCS compiler for the PIC16F886 for years. Now we need to migrate to the PIC16F1938 for more memory, yet same package, pinouts, etc. I got the PIC/bootloader to talk with the Tiny Bootloader interface, but I get a warning:
Connected to \\.\COM4 at 9600
HEX: 6 days old, INHX32,16Fcode+cfg, total=13554 bytes.
Searching for PIC ...
Found:16F 1938
WARNING: PCLATH not fully initialised before GOTO! ... sucessfully repaired.,
WRITE OK at 9:00, time:26.752 sec
It says it writes ok there at the end, but if read back the contents of the PIC's program memory, it is definitely NOT ok. Most of the memory is still empty, with random locations programmed with random code. Anyone have any thoughts on this?
Thanks!
Ryan
Last edited by reash on Thu Mar 29, 2012 8:07 am; edited 1 time in total |
|
|
reash
Joined: 17 Sep 2007 Posts: 8
|
|
Posted: Fri Mar 23, 2012 7:34 am |
|
|
Well, now I have it writing some correct code, but only 1 block of 8 words for every 32 words of memory. So 8 good words, then 24 words of blank memory, then another 8 good words. So it's only writing every 4th memory block. Still get that warning, too. |
|
|
reash
Joined: 17 Sep 2007 Posts: 8
|
|
Posted: Thu Mar 29, 2012 5:27 am |
|
|
I got it all working now for the PIC16F1938. Lots of messing around, but it finally works! |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|