i'll bet on
Code:OPTION_REG.5=0
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
@ Skimask:
I read that part. Thats why I put in the programm :OSCCAL.0 = 0
@ Mister_e:
You win the price. That helped.
I read also that the option reg bit 5 should be 0 , but I wrote at that time in my programm OPTION.5 = 0 , and the compile gave me an error. I forgot to type it in the correct way.
Thanks.
Regards
Mat
yup OPTION.5 won't work unless you decide to redefine it
Doesn't help if you don't know OPTION_REGCode:@OPTION=OPTION_REG OPTION VAR BYTE EXT ' or the simple one OPTION VAR OPTION_REG
In this case you could still open the filename.ASM file, there you'll have...
Code:R0 EQU RAM_START + 000h R1 EQU RAM_START + 002h R2 EQU RAM_START + 004h FLAGS EQU RAM_START + 006h R4 EQU RAM_START + 007h R3 EQU RAM_START + 008h GOP EQU RAM_START + 00Ah OPTION_REG EQU RAM_START + 00Bh RM1 EQU RAM_START + 00Ch RR1 EQU RAM_START + 00Dh SOFT_STACK_PTR EQU RAM_START + 00Eh TRISIO EQU RAM_START + 00Fh SOFT_STACK EQU RAM_START + 010h
Last edited by mister_e; - 7th January 2007 at 13:27.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I can not seem to program a 10f202 I always get "programming error at 0000" however if I read it I can write the info back to the chip?
Bookmarks