danjperron / burnlvp Goto Github PK
View Code? Open in Web Editor NEWPython code to program using the Raspberry Pi or the C.H.I.P. to program Microchip cpu like Pic12/16F and now PIC18F....
License: MIT License
Python code to program using the Raspberry Pi or the C.H.I.P. to program Microchip cpu like Pic12/16F and now PIC18F....
License: MIT License
hi,
thanks for the burnLVP project. Being in a scripting language makes it easy to modify.
i was able to use it to burn PIC4550 using Rpi.
i then started to see if i could use it to burn the PIC using a USB-Serial converter.
i had some success. Programming code memory works, but reading EEPROM does not.
my effort is documented here : http://chaukasalshi.blogspot.in/2014/12/pic-programmer-using-usb-to-serial.html
i would like to contribute it to the main project, if you feel its useful.
it involves a bit of refactoring so that the interface is encapsulated within burnGPIO, and exposed via methods like set/getData/Clock/PGM/MCLRState().
The changed code is available at http://milunsagle.org/webroot/downloads/
regards,
manoj
Hello friend.
First of all, i wanna give you concratz for your job doing things like this python programs.
I have some error when i try burn PIC12LF1571 from my RP3-B+ GPIOs with external power-suplly (3V3).
I normaly burn it in windows with ICD3 (MPLAB-X) but i need do some tests with RASP and i need to burn it in same system, but i cant connect my programmer (ICD3) in my Rasp because they dont have drivers for it. So i see your "burnLVP" program and i think its a solution.
I try with "burnLVPx.py" and "burnLVP.py"
The error:
pi@raspberrypi:~/burnLVP/burnLVP $ sudo python burnLVPx.py ~/Desktop/FW-PIC/production.hex
Raspberry Pi GPIO
File " /home/pi/Desktop/FW-PIC/production.hex " loaded
Scan CPU
Check PIC12/16...
Cpu Id = 0x0
Revision = 0x13
Unable to continue... Unable to handle this cpu
Cpu Id: 0x3040
pi@raspberrypi:~/burnLVP/burnLVP $ sudo python burnLVP.py ~/Desktop/FW-PIC/production.hex
File " /home/pi/Desktop/FW-PIC/production.hex " loaded
LVP ON
Cpu : 0x3040 : Invalid
LVP OFF
Can you help me?
Many thanks.
When burning EEPROM for 4550, the ReadDataPic18() function seems to be missing. its defined in burn18.py, which is probbaly deprecated. i guess it should also be defined in CpuPIC18F.py or the 2XXX one ?
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.