logo elektroda
logo elektroda
X
logo elektroda

Upload Hex to PIC16F628 Using Arduino Uno Shield on Linux (Ardpicprog Project)

60 10
ADVERTISEMENT
  • #1 21668113
    Bill Blesbok
    Anonymous  
  • ADVERTISEMENT
  • #2 21668114
    Mark Harrington
    Anonymous  
  • ADVERTISEMENT
  • #3 21668115
    Mark Harrington
    Anonymous  
  • #4 21668116
    Mark Harrington
    Anonymous  
  • ADVERTISEMENT
  • #5 21668117
    Mark Harrington
    Anonymous  
  • #6 21668118
    Mark Harrington
    Anonymous  
  • #7 21668119
    Bill Blesbok
    Anonymous  
  • #8 21668120
    Mark Harrington
    Anonymous  
  • #9 21668121
    Mark Harrington
    Anonymous  
  • #10 21668122
    Bill Blesbok
    Anonymous  
  • ADVERTISEMENT
  • #11 21668123
    Bill Blesbok
    Anonymous  

Topic summary

The discussion centers on programming a PIC16F628 microcontroller using an Arduino Uno as a programmer shield under a Linux environment, based on the Ardpicprog project. The user has constructed a shield following the Ardpicprog schematic and is attempting to upload hex code to blink an LED on the PIC16F628. The Arduino sketch provided by Ardpicprog defines pin mappings for MCLR, activity LED, VDD, clock, and data lines, but requires further understanding and setup to function properly. Contributors reference resources for PIC programming on Linux and Unix, including picprog and ISP programming methods with Atmel microcontrollers. Challenges include achieving correct programming voltage levels (notably the MCLR/VPP voltage around 13V), ensuring proper grounding between Arduino and PIC, and resolving write errors during programming. The user reports a 10V pulse at MCLR via a BC548 transistor circuit, questioning if this is sufficient for programming. Further troubleshooting involves verifying ground connections and signal integrity. The discussion also touches on the importance of understanding the programming process rather than relying on copying code, emphasizing learning and correct design practices. Links to the Ardpicprog GitHub repository and related programming tools are provided for reference.
Summary generated by the language model.
ADVERTISEMENT