Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Pic16F877 & Pic16F877A

Status
Not open for further replies.

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
Hi

I made a programme for PIC16F877 .
it's working correctly on Proteus Simulator.
but I found Pic16F877A in the market.
When programed Pic16F877A with the program of Pic16F877 and test it in circuit , it's not working propaply.
My queston is how to modify my work to be workable with PIC16F877A

Salam
Hossam Alzomor
 

philba

Full Member level 2
Joined
Jan 26, 2006
Messages
132
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Activity points
3,102
From your post, I can't tell if you debugged it on a real 877. The 877A and 877 code should be identical. If it worked of a real 877, is should also work on the 877A but a simulator isn't good enough. There are many things that will prevent it from working.

Things to look at:
- read the program back to make sure it actually got programmed
- verify your hardware (+5V, gnd connections, mclr pulled to +5, crystal/caps or resonator)
- if you have an o'scope, check the oscillator pins (osc1 or osc2) with a high impedence probe.
- write a super simple program that toggles 1 pin on and off every second or so and check the output with a dvm or led.
 

    alzomor

    points: 2
    Helpful Answer Positive Rating

Lykos1986

Member level 4
Joined
Jan 30, 2006
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,876
What is the different between the normal PIC and the PIC-A devices
 

philba

Full Member level 2
Joined
Jan 26, 2006
Messages
132
Helped
13
Reputation
26
Reaction score
1
Trophy points
1,298
Activity points
3,102
there is no single answer. the 877 and 877A differ in their programming algorithms. This means that you need a different boot loader. Other than that, I believe they are the same. Code that doesn't deal with the flash will work on both. Often the A parts are a die shrink version so they cost less to make and are thus cheaper.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top