reason is simple... you run out of memory...
PIC16F876 : 8K
PIC16F88: 4K
YourCode :4287 words
so you can for sure shrink it using internal or external EEPROM instead of arrays and few other things. It has to fit in a 4k memory space
reason is simple... you run out of memory...
PIC16F876 : 8K
PIC16F88: 4K
YourCode :4287 words
so you can for sure shrink it using internal or external EEPROM instead of arrays and few other things. It has to fit in a 4k memory space
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
...wow, that easy huh? Well, I removed some of the code, and it does run much better, indeed!! I still see some odd behavior however:
1. The voltage calculation is inaccurate
2. The 'initialize' subroutine does not fire, or only partially fires
3. The N, S, E, W Select Case does not appear to be working as the values are missing in the output
4. The Select Case routine for the lock flag (which is 1,2, or 3. is showing an ERROR - or something besides these values.
The other calculations look right...
I think all this may be convincing me not to try to port over, as this program runs really well on the other chip... arghhh
Post your new code here to see wha can it should be.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Here it is..
It won't do much unless you have this particular type of GPS that outputs the wierd data.. I captured some as a text file(which it is not).
Attached is a zip file with
1. shorter program files (Less the LST - it was too big)
2. the 16F88 include file I use
TG
probably i'm getting older and need to sleep after only 22 hours awake but, i can't see why it's not working. I really suspect an hardware problem now. 0.1 uF ceramic Capacitor close to the PIC.
i didn't get any compile error with the select case stuff.
did you install the PBP patch for the F88???
Here's the patch
about the calculation what about if you skip the hexa to decimal and do like Bruce propose few post ago!!!
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Thanks.. I'll try the patch and see what happens. Is the CAP from Gnd - + close to the V+ pin? I have nothing there.
What post about skipping the Hex conv? I don't see that post in this thread.
TG
Odd.. that patch does not work for me. It says the 16F88 file is an "unknown version"...
i thought it was on this post... sorryOriginally Posted by Tom Gonser
there you go
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks