![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| There seems to be something wrong with one the dsPIC's i have... The programmer seems to read and write to the controller successfully without any problem but the chip doesn't seem to work at all in a circuit. Is it dead or is something else wrong with my circuit (which was working fine previously)? | |
| |
| | (permalink) |
| You have provided absolutly no information on what is going on with your circuit or chip or changes you've made to hardware or code. In short, no one can answer your question.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) |
| hi.. i am sure.. the circuit might be having some problem... some pin is not getting voltage or other may not be grounded... but.. try to reset it again and again.. till it works.. it it doesnt works then.. surely.. the microcontroller is having some problem... Remember.. " ever thought of programmer having a problem ? .. but very less chances are there " Regards, Simran..
__________________ Simran.. 8051 Specialist.. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
thanks..
__________________ Simran.. 8051 Specialist.. | ||
| |
| | (permalink) |
| The microcontroller works fine when i debug it in my development board using ICD but it doesn't work when i plug it into my own circuit.... Maybe's its coz of a faulty cap or something.. how do i check Can anyone give a schematic just required to run the PIC Mcu.. is it same for all of them? Also what should be the values of the capacitors used in the circuit.. do they matter? | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| I believe microchip has some examples on their website. Check there. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Heres what i am doin | |
| |
| | (permalink) |
| I assume you program it out of circuit as MCLR is tied to power. Which dsPIC is it, is the powersupply well regulated and filtered? Post the pinnumbers too. | |
| |
| | (permalink) | |
| Quote:
comes from faulty wiring or dodgy chinese breadboards! When the pic doesnt seem to be working, I make a simple circuit (and firmware) to test whether or not the pic is working at all. I.e pulse one of the ports, and nothing more. This allows you to scope the port and see if your pic is executing instructions properly. Last edited by HerbertMunch; 26th September 2007 at 11:07 PM. | ||
| |
| | (permalink) | |
| Quote:
Lefty
__________________ Measurement changes behavior | ||
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
Meantime try to put the hardware schematic that you are using for your design -- also please indicate whether you have a PCB layout or used a general purpose Board-- or a breadboard. because thease issues do matter. clocke oscillation methodology is important subject matter and Microchip themselves have published specific articles and dedicated subsections for each chip in their datasheets. for example , breadboarded circuit would behave erratic at these frequencied -perhaps same may be the case with dsPIC.
__________________ Regards, Sarma. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| stk500 clock source atmel microcontroller | hani_a | General Electronics Chat | 5 | 2nd January 2008 06:19 AM |
| microcontroller selection | ssylee | Micro Controllers | 11 | 9th June 2007 05:23 AM |
| TCP implementation using microcontroller | chintan_jagani | Micro Controllers | 5 | 19th September 2006 01:46 AM |
| Programming the Mini-Max 8051 microcontroller | blimon | Micro Controllers | 8 | 13th July 2005 03:42 AM |
| Connection of Siemens c167 microcontroller to peripherals. | Roslan | Electronic Projects Design/Ideas/Reviews | 3 | 23rd March 2004 07:52 PM |