Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use pic microcontrollers?

Status
Not open for further replies.
Connecting probes directly to the crystal might stop it working even when there is no problem. You should be able to do it if you have high impedance or "x10" probes which have less loading effect on the signal. Do not expect 5V square waves, you should see maybe 1V of rounded edged signal at most but it should be at the crystal frequency.

Data protection and code protection are bits that prevent the RAM or code memory being read back by a programmer so it makes the code more secure. You can still write new programs to the PIC but only by erasing it first. ID bytes are for anything you like but in most PICs they can't be writen or read back by the program itself, normaly they are used for such things as marking the PIC with a serial number or program version number. They can be written and read by the programming device.

Brian.
 

Send your HEX file
 

Hi, i solved the problem. it was with the wrong programming. now the circuit responds, but some times the 7 segment display gets stuck at some point, why?
 

here is the hex file sir.
 

Attachments

  • rxx hex.rar
    1.1 KB · Views: 39

I think your main problem is solved, therefore looking at HEX file should not valuable
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top