makerprojects / programpic Goto Github PK
View Code? Open in Web Editor NEWArduino sketch for programming pic controllers.
Arduino sketch for programming pic controllers.
I'm trying to program a pic 16f877a.
I inserted the folow configs:
{s_pic16f877a, 0x0E28, 8192, 0x2000, 0x2100, 8, 256, 0, 0, FLASH4, EEPROM },
I installed the arduino code and run the host program. But I only receive the message:
"Unsupported device in programmer, ID = 0E28"
I try to show all variables, but only receive this fields in serial communication. Seens like a Arduino bug reading the DeviceId.
Initializing programmer ...
Device name: ConfigWord = 3FFF
Device name: DeviceID = 0E28
COM7
I also try one pic 12f675 and it worked perfectly. I am sure that my 16f877a are working, as I tested several pieces that I have in my bin and all then had this same issue.
Could you please help-me debuging this issue?
I am unable to read data from the 16f877a model.
Or it read 0x3fff or 0x00ff.
However, it can get correctly the configs from the device. It seens to reads fine the device ID, 0x0e2x
I'm reading the code, but was unable to spot any problem.
I'm using a driver for the 13V line. It seens to work properly.
I use a driver for the +5v line. I also use direct connection with the arduino power control pin.
No success. Some sugestion about that?
Please add a Prototype of this function at the beginning of the program!
e.g. Line 203 bool matchString(const char PROGMEM *name, const char *str, int len);
otherwise the Sketch cannot be compiled!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.