akhen
Diesel Generator
Pogi/Ganda Points: 41
Offline
Gender: 
Posts: 1080
"Learning is good but application is 100x better!"
|
 |
« Reply #20 on: June 05, 2010, 06:33:57 PM » |
|
you might wanna try tiktaks codes first just to check if your board is working...
compile it using the hi-tech c of mplab
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
 |
« Reply #20 on: June 05, 2010, 06:33:57 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
Co0LėT♥
Hydroelectric
 
Pogi/Ganda Points: 362
Offline
Gender: 
Posts: 3330
|
 |
« Reply #21 on: June 05, 2010, 06:37:39 PM » |
|
or give sister X4ROY the hex file sis tiktak para alam agad problema 
|
|
|
|
|
Logged
|
Simpler designs are usually better.
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #22 on: June 05, 2010, 06:39:46 PM » |
|
ito na  :060000000A128A11D52F3F :100FAA0083010A128A11D92F8316860183128601B8 :100FBA00FF308312031386060A128A11E7270A12E0 :100FCA008A11DD2FF201F301F001F101F00A031990 :100FDA00F10A00307102FF3003197002031CEB2F73 :100FEA00F20A0319F30A00307302FF30031972027E :060FFA0003180800E92FB6 :02400E007A3FF7 :00000001FF
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
Co0LėT♥
Hydroelectric
 
Pogi/Ganda Points: 362
Offline
Gender: 
Posts: 3330
|
 |
« Reply #23 on: June 05, 2010, 06:44:01 PM » |
|
|
|
|
|
|
Logged
|
Simpler designs are usually better.
|
|
|
akhen
Diesel Generator
Pogi/Ganda Points: 41
Offline
Gender: 
Posts: 1080
"Learning is good but application is 100x better!"
|
 |
« Reply #24 on: June 05, 2010, 07:58:04 PM » |
|
ambait... hehe
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #25 on: June 05, 2010, 08:29:24 PM » |
|
hehe dahil nasa mood ako ito ang demo ng code on actual hardware  the only difference is that i'm using 20Mhz crystal but basically the same
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
X4ROY
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 13
|
 |
« Reply #26 on: June 05, 2010, 11:16:23 PM » |
|
what do you mean by use 5v all around the circuit  what are the connections .... sorry im a cting a bit dum cant help it .... i connect +ve of led to port b , -ve of led to resistor then free end of resistor to the terminal marked gnd u see in the pic ...
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #27 on: June 05, 2010, 11:35:03 PM » |
|
do not connect anything to 12V your PIC might get fried the connection should look something like these 
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
X4ROY
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 13
|
 |
« Reply #28 on: June 05, 2010, 11:43:54 PM » |
|
i put the code in hitech c of mplab then tried to upload the hex file . i am getting the following error on trying to program the ic i.e trying to upload the hex file into it using the programmer : error : ROM PROGRAMMING ERROR AT ADDRESS 0X0002 GOOD 0X2FB8 BAD 0X2F80
its a brand new ic i worked on it few times hope i didn screw it up im using pic pro software ..
|
|
|
|
|
Logged
|
|
|
|
X4ROY
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 13
|
 |
« Reply #29 on: June 05, 2010, 11:44:26 PM » |
|
guess my pic got fried
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #30 on: June 05, 2010, 11:48:40 PM » |
|
have you tried to full erase the PIC and upload the hex file again? if so I think it did get fried
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
X4ROY
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 13
|
 |
« Reply #31 on: June 06, 2010, 12:14:40 AM » |
|
yea i did chip erase .... actually everytime i program it it works like it erases on its own ... so how can i be sure its fried
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #32 on: June 06, 2010, 12:19:18 AM » |
|
what program are you using to upload the hex file? is your programmer a serial? parallel? or USB type?
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
X4ROY
CR2032 Battery

Pogi/Ganda Points: 0
Offline
Posts: 13
|
 |
« Reply #33 on: June 06, 2010, 12:46:04 AM » |
|
i am using the code u wrote i am using a locally made programmer that looks better than my dev board .... and it is usb interface type ....
|
|
|
|
|
Logged
|
|
|
|
|
webscatter
|
 |
« Reply #34 on: June 06, 2010, 12:50:42 AM » |
|
THE DEV BOARD IS MANUFACTURED BY AN INDIAN COMPANY CALLED HPS THEIR WEBSITE IS www.hpsindia.com and they are bad at after sale services they too have no clue .... well its tested and others say it works i dunno ... . this dev board has no separate pins for mclr , vss , vdd , gnd i see three sets of three pins near the ac/ dc power supply they are marked as 12 , 5 and gnd i connected the -ve terminal of the led to this gnd and the positive terminal to rb2 no response supply is on and no loose connections Dont buy "INDIAN" stuff, maraming probs later.... Made of "immitations"...  ....nosebleed ka dyan palagi.... check pcb layout....baka may putol....
|
|
|
|
|
Logged
|
|
|
|
tiktak
Gas Turbine

Pogi/Ganda Points: 171
Offline
Gender: 
Posts: 2498
|
 |
« Reply #35 on: June 06, 2010, 12:51:28 AM » |
|
I see, just try it with other PIC if you have, the code works as you can see on the demo I posted
|
|
|
|
|
Logged
|
Bakit andaming hindi marunong gumamit ng search? 
|
|
|
nucleus
Gas Turbine

Pogi/Ganda Points: 113
Offline
Gender: 
Posts: 2339
|
 |
« Reply #36 on: June 06, 2010, 12:58:14 AM » |
|
Dont buy "INDIAN" stuff, maraming probs later.... Made of "immitations"...  ....nosebleed ka dyan palagi.... check pcb layout....baka may putol.... indian ata yung ts, mahusay naman ang gawa nila, at kung babasahin itong buong thread maaring nasira yung mcu dahil sa mataas ng supply na naiapply
|
|
|
|
|
Logged
|
Hi! I'm nucleus and i carry the charge  Hindi ako nandito para makipagkumpitensya kanino man
|
|
|
|
webscatter
|
 |
« Reply #37 on: June 06, 2010, 01:04:54 AM » |
|
indian ata yung ts, mahusay naman ang gawa nila, at kung babasahin itong buong thread maaring nasira yung mcu dahil sa mataas ng supply na naiapply
indian n nanagalog..... basi sa error.... two possible causes: 1) posibleng sabay nagsupply ng 12v & 5v n ikinasira ng VR or MCU...Voltage/COntinuity Test muna 2) Nakita ko sa Dev ckt.....using DB9(Serial)....check DTR, RTS & CTS..baka may putol...(provided if they where active)
|
|
|
|
|
Logged
|
|
|
|
nucleus
Gas Turbine

Pogi/Ganda Points: 113
Offline
Gender: 
Posts: 2339
|
 |
« Reply #38 on: June 06, 2010, 01:09:47 AM » |
|
indian n nanagalog..... basi sa error.... two possible causes: 1) posibleng sabay nagsupply ng 12v & 5v n ikinasira ng VR or MCU...Voltage/COntinuity Test muna 2) Nakita ko sa Dev ckt.....using DB9(Serial)....check DTR, RTS & CTS..baka may putol...(provided if they where active) nasan yung post ni ts na tagalog?
|
|
|
|
|
Logged
|
Hi! I'm nucleus and i carry the charge  Hindi ako nandito para makipagkumpitensya kanino man
|
|
|
|
webscatter
|
 |
« Reply #39 on: June 06, 2010, 01:13:47 AM » |
|
nasan yung post ni ts na tagalog? ooppppppssss... Indian n pilipino.... malamang indian to....kanina pa nag ienglish....
|
|
|
|
|
Logged
|
|
|
|
|
The Philippine Electronics and Technology Forum
|
|
|
|
|
|
Logged
|
|
|
|
|