Flipper,
How did you set your OSC to work internally at 8Mhz?
I think, it should be OSCCON = %01110001Code:OSCCON = %01110000 ' Internal 8MHz osc set speed
Did you notice that?
========================
Flipper,
How did you set your OSC to work internally at 8Mhz?
I think, it should be OSCCON = %01110001Code:OSCCON = %01110000 ' Internal 8MHz osc set speed
Did you notice that?
========================
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
My 2 cents. From the datasheet
I don't feel this is the problem here, unless the config fuses aren't properly set. Default ones use the internal osc so far.Code:bit 0 SCS: System Clock Select bit 1 = Internal oscillator is used for system clock 0 = Clock source defined by FOSC<2:0> of the Configuration Word register
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ohh, umm, I took the speed value from another source code but I didnt double checked it...
good point that I should verify those kind of things!
All seems to run fine tough. It ran datatransfert at 19200baud using serout2, no prob.
And since I was sad about loosing a pin for a totally useless MCLR, my brain got spinning and I decided to try using one pin as A/D to read integer values of voltage(1to5). Then I will hook a 4-way switch with matching resistors and I'll get 4-5 *inputs* from that pin. uhuhuh.
I hope nothing come in my way this time...im so proud of this Einstein spark!!
Thanks Mister_E for enlightening my little knowledge of programmers.
I taught they were pretty much all equal, but now I see why mine was sold for cheap
but for now, my skills surely wouldn't make use of a 300$ programmer.
and I still have to try to overide the warning and see what happen!! 8)
Last edited by flipper_md; - 29th April 2008 at 01:54. Reason: typo
http://forum.microchip.com/tm.aspx?m...%2cMCLRᾬ
http://forum.microchip.com/tm.aspx?m...2cMCLR𱿃
this might explain why.... but as they say. If you power your PIC from the ICD2 and don't load it too much it might work anyway. And to get rid of this warning just use an older version on MPLAB.
/me
Last edited by Jumper; - 29th April 2008 at 02:40.
uhh, so steppin back in old version of MPlab would make it work fine... funny
thanks for digging that out!
Well, I have tried both MPlab 7.40 and 7.20 , and still get the warning 33 about using both Osc/master clr internal
The chip seems to take some hit when trying to force programming.
I have to erase it a couple times when I see a verify error, then it seems to work ok :O
So I assume I have to let go one pin away...
But now I got and little funny part to play with! Heart rate monitor chip strait from the maker, Polar. Got to find how to use the signal :P
Bookmarks