![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I write program for PIC in MPLAB, test simulation in Proteus, all compiling and simulation is okey.
Before load the program for PIC (.hex file) I test voltage's value of all pins. After load program to PIC, I see that which pins have high value voltage is unchanged, which pin has low voltage have the new value greater than before a little (before: 0.7V then after : 1.03V) and no pins change value from high to low or vice versa. I check and see that the program is loaded successfully to PIC, but seem that it is mostly like before ??? Could you tell me what problem with it ??? Thanks so much !!! |
|
|
|
|
|
|
(permalink) |
|
Either your hardware is faulty, or your software is faulty - or both!. As you give neither there's not much help we can offer?.
|
|
|
|
|
|
|
(permalink) |
|
When I verify my .hex file it says "error verifying address 0x000000 verified 2805 read 3fff"
in this case, when I continue to "Program all" to charge for PIC, does it accept charging ? I am using winPic800 (GTP-USB programmer) When I plug my GTP-USB by cable adaptador USB, I measure the voltage in between Vpp and GND of ICSP connector, it is about 7.86V ??? Here is my circuit in Orcad http://img214.imageshack.us/img214/9985/23284114xk1.jpg Here is simulation in Proteus http://img158.imageshack.us/img158/613/68078519tx5.jpg |
|
|
|
|
|
|
(permalink) |
|
It's not programming at all then, 0x3FFF is what a completely blank PIC reads - it's most probably not getting switched to programming mode.
|
|
|
|
|
|
|
(permalink) |
|
so that is the error that PIC charged nothing ?!!
Could you tell me the way to stop this error to enable entering to programming mode, modify my assembly code or using another version of winpic800 or ... Thanks !!! edit: I do searching and see that maybe I have to change these parameter of my code __CONFIG _CP_OFF & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _RC_OSC & _WRT_OFF & _LVP_ON & _CPD_OFF but don't sure how Last edited by eleceyes; 21st November 2007 at 08:07 AM. |
|
|
|
|
|
|
(permalink) |
|
Sounds like your programmer isnt working? - Vpp needs to be 13V to switch the PIC to programming mode, so that sounds like an obvious problem?.
|
|
|
|
|
|
|
(permalink) |
|
well, follow what you say I think I found a problem on the GTP-USB circuit, that is in Voltage multiplier, as you see in this image http://img211.imageshack.us/img211/4945/gtpusbjj8.gif, it says it output two 13.5VDC but when I measure, it just output 7.7V and 9.4V. Check the circuit I see that the parameters of components is correct, the circuit is right connecting, RA0-RA3 output 2.2V.
Any ideas about this |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| JDM programmer problem | krvavizmaj | Micro Controllers | 3 | 2nd October 2007 08:35 AM |
| Big problem!! | zezito | Electronic Projects Design/Ideas/Reviews | 4 | 29th October 2004 02:05 AM |
| Problem with My A/D readings. Any suggestions? | cubdh23 | Micro Controllers | 4 | 24th September 2004 04:21 AM |
| Mysterious Problem! | matasoft | Micro Controllers | 15 | 11th September 2004 07:49 PM |
| 12F675 Problem | brodin | Micro Controllers | 10 | 29th December 2003 09:40 PM |