If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Yes, PM will definately "choke" on Instant Interrupts.
What I'm saying is that ... since it appears he's using MPASM, he's looking at the wrong configs.
<br>
DT
ohh you got a point here!
Modified the __config line and it's definitely using it...
__config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_OFF & _CP_OFF
but then I get
ICDWarn0033: MPLAB ICD 2 does not support programming this device if both the internal oscillator and internal MCLR are selected. You may continue programming, but you are encouraged to cancel, reconfigure your device, and try again.
ICD0200: Operation Aborted (Warning 32).
so basically I assume I cannot have all pins as digital IO.
still It's better for me to set MCLRE on and get GPIO.4/5 working, and leave MCLRE pin alone.
Unless there's a way to bypass this...
It's also great to know which compiler i"m usingLOL
edit: setting MCLRE_ON I can get access to GPIO 4 and 5 now..
Still I wonder if it's possible to get rid of MCLR
Last edited by flipper_md; - 24th April 2008 at 08:51. Reason: typo
Hmmm, It must be a limitation of your programmer.
I just tested it here with a 12F683 and an meLabs U2 programmer.
It works fine with the internal oscillator and MCLR either ON or OFF.
<br>
DT
humm, it means ICD2 (clone) is less powerfull/featured than yours...
would never expected that!
or maybe I can try to let it program the chip anyways, and see what happen.
i'll try it tonight.
Thanks for testing
Maybe be not less powerful... but has it's own way to work. ICD2 is more a debugger than a programmer. Melabs's one is a Programmer, period.
Cheap alternative.. the endless Microchip's PICKIT 2 suggestion.... which can also be used as a debugger on some PIC.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
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
Bookmarks