project-iron-off

Status
Not open for further replies.

jownstar

New Member
Electronics-lab website is down right now.
Is the IR circuit the one from Aaron Cake's site?
It is missing an important resistor in its receiver. Also its opamp is obsolete.
 

Attachments

  • Infrared receiver.PNG
    11.8 KB · Views: 1,106
audioguru said:
Electronics-lab website is down right now.
Is the IR circuit the one from Aaron Cake's site?
It is missing an important resistor in its receiver. Also its opamp is obsolete.

no....
a project use pic12f629

look in line 154 (CALL LADR_0x03FF) ,I don't understand ,where 0x3ff in program
 

Attachments

  • IrOn-Off250.jpg
    9.6 KB · Views: 487
  • IrOn-Off.gif
    6.6 KB · Views: 1,229
  • IrOn-Off.asm
    20.6 KB · Views: 343
jownstar said:
no....
a project use pic12f629

look in line 154 (CALL LADR_0x03FF) ,I don't understand ,where 0x3ff in program

How come that your asm file shows 16F chip while the original chip is 12F629?
perhaps you tried to disassemble on a programmer driver and forgot to change the chip to 12f629

please try again. this error would go off
 
mvs sarma said:
How come that your asm file shows 16F chip while the original chip is 12F629?
perhaps you tried to disassemble on a programmer driver and forgot to change the chip to 12f629

please try again. this error would go off



this correct,I'm sorry

will downlowd correct program for site
see line 154 ( CALL LADR_0x03FF)???
where address 0x3ff in memory
I'm no understanding ??????
please help me
no anyone make this project????
 

Attachments

  • IrOn-Off-dis.asm
    16.2 KB · Views: 289
Well, address 0x3FF is the last word of the programming memory inside the 12F629.

Microchip has placed a magical value inside that memory location for user to load into the PIC "OSCCAL" register so that the internal RC oscillator will then oscillate at the stated accuracy. All the user need to do to get that value is to simply CALL that memory location and W will contain the value afterwards.

This is documented in section 9.2.5 of the 12F629 datasheet.

Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.
 

Thanks L.Chung
I missed this info. Thanks and I stand corrected.
P S: I don't know how far I am correct, I modded the line 154as below

CALL 0X03FF

then, tried to assemble thinking that the address oxo3ff is not a predefined location by the software, but a feature of 12f629. it was successful. I am not much into software as still learning. could this approach be correct Please?
 
Last edited:
eblc1388 said:
Some *good* hardware programmer will go into the trouble of saving this value for you every time while erasing the chip and store it back afterwards. In most cases, the user will never know this value exists.

Exactly.A good programmer will do all the hardest part by itself.For sure the OP has a simple jdm type programmer.

I know many people will caught to this trap (internal OSC + MCLR = OFF).Thats why I use external RC type OSC configurations in my designs. So they can program any **** type of programmers.
 

Attachments

  • IRonoff.JPG
    33.7 KB · Views: 706

dear Gayan Soyza.........
your talking correct 100%
most my problem from this kind .....
I thing that problem this project (IRON_OFF) from this kind too...

please my brother Gayan give me asm program useing in this application
 


THANKS,new informations
(pic12f629)
I know that address 0x2007 is address CONFIGURATION WORD,
but address 0x2100 what is ???????????????
 
jownstar said:
THANKS,new informations
(pic12f629)
I know that address 0x2007 is address CONFIGURATION WORD,
but address 0x2100 what is ???????????????

It's the address of the data EEPROM area, but it's not directly addressable from a program.
 
Nigel Goodwin said:
It's the address of the data EEPROM area, but it's not directly addressable from a program.

thanks dear Nigel Goodwin....

now I become know what is address 0x2100

but address 0x2000 what is???
I search in datasheet pic12f629 but I no find thing!!!!!!!!!!

pardon me if my question is much
 
Try reading the 16F629 programming datasheet, that explains it all - and 0x2000 is just an area (4 bytes) where you can store a serial number during programming.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…