Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - PIC16F628A doesn't work

(you are viewing a thread; or go back to list of threads)

PIC16F628A doesn't work (by Diego)
PIC16F628A doesn't work

I was doing a program that will control some inputs, however when I write into the pic16F628A it didn't work, what problem? I believe that's problem is from selected microcontroller, because in the program LDmicro 2.2 we can't have an option to select pic16F628A, only pic16F628. this letter "A" is possible cause the trouble?

Someone had same problem?

Attached follows my program .ld

Diego
Sat Jul 21 2012, 01:04:48, download attachment c'd'a.ld
(no subject) (by MGP)
Try this one, it's not the 16F628A
Sat Jul 21 2012, 02:19:14, download attachment cda (2).ld
(no subject) (by diego)
The program cda (2) was modificated didn't work too, I don't now why?
Do you have other sugestion?

thanks!
Wed Jul 25 2012, 11:33:27
(no subject) (by Boris)
16F628A works without any problem.
Do You program pic correctly.
Wed Jul 25 2012, 16:35:11
(no subject) (by diego)
If I program pic 16F877A the logic program work, I'll buy a new PIC16F628,after testing with the new microcontroller I will inform the result.

Thanks
Thu Jul 26 2012, 10:20:54
Resolved!? (by Diego)
The problem was as follows: I was used the pic 16F628 setting pin 4 (RA5) to output, but in datasheet of pic have an information about this pin: RA5(1) is a Schmitt Trigger
input only and has no output drivers. Also the pin 4 (RA5) is MCRL too. So, when I changed the pin and put 5V on the pin 4(RA5) the pic run!!!
But I have another question:
If I make a program with another program( Ex: MPlab), i can set the pin 4 to output, and is not necessary put 5V on MCLR.
Does someone know how to make this in the LDmicro? Is it Possible?
Because I want use the Ldmicro!!!

Thanks
Diego
Mon Sep 3 2012, 23:16:18
PIC16F628A device ID problem (by Sant)
I'm not able to program 16F628A, it is giving device ID problem with PICkit3 programmer.

Initially reading the PIC it is showing ID as 01100000
when start to program it gives error as " PROGRAM FAILED AT PROGRAM MEMORY ADDRESS 0x000000 "

Attached follows my ld program
Wed Oct 10 2012, 08:58:42, download attachment ows inputs1 .c
(no subject) (by Chris)
But I have another question:
If I make a program with another program( Ex: MPlab), i can set the pin 4 to output, and is not necessary put 5V on MCLR.
Does someone know how to make this in the LDmicro? Is it Possible?
Because I want use the Ldmicro!!!



No, the pin4 will be never a physically output, even if
the simulator and the source code suggest that it is.

If you change the config word and clear MCLR bit (bit5)
than pin4 is working as input pin.
The reason MCLR cannot be output is, that if the program
run with no external MCLR control and the programmer apply 13V VPP the port is automatically damaged, at least on that
MCU that require 10-25mA VPP current.
Because this Microchip have choosen to remove output capability on the MCLR pin. The Atmel series does have this
capability, but there CPU always have generated VPP internally and so there donīt need the large current on
the reset pin that proibit using the pin as output.

Hope this explaination helps understand the reason why itīs
not possible.
Wed Oct 10 2012, 10:01:19
Thank you! (by Diego)
Thank you for your answer, It was great! (To Chris)

So, If I understand all, the microcontroller Atmel is better than microchip, for me the pic always is resets if something have electromagnetic interference(EMI) and the Atmel doesn't happen it... Pic is extremely sensible...

Which do you prefer PIC or Atmel?

Tell me some pros and cons about them!

Thanks a lot!

Diego
Mon Oct 22 2012, 21:55:09
(no subject) (by Magno Medeiros (Brasil))
Hello, if you have problems with sftwares, try these.
Tue Oct 23 2012, 08:06:02, download attachment Eclipse.rar
(no subject) (by Magno Medeiros (Brasil))
Hello, if you have problems with sftwares, try these.
Tue Oct 23 2012, 08:10:48, download attachment progisp168.rar
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):