×

Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.

TMarczin

Member Since: August 7, 2014

Country: Hungary

  • Yesterday I started out with two shiny new defective MicroViews, today I have two shiny new fully functional units, plus a lot more experience with uploading bootloaders. I had a USBASP programmer lying around which I purchased sometime in the past without real knowledge how to use it, and it turned out to be a great decision.

    Before using it I tried using an Arduino as a programmer, but I couldn't figure out the correct avrdude parameters, so I decided to give the programmer a shot.

    What I did was the following: I am on a Mac, so I installed the CrossPack-AVR package and downloaded the .hex file mentioned above.

    I opened the case with a small knife, pushing the lens to one side. It comes out this way with no visible damage, but I had to be very careful. After this, I lifted the top of the screen a away from the PCB to reveal the additional 3 holes I need. After examinigin what Ben Kearns (Thank you! :) ) wrote here yesterday I used the following routing: Programmer Pin 1 (MISO) -> Pin 12 (inside) Programmer Pin 2 (SCK) -> Pin 13 (inside) Programmer Pin 3 (Reset) -> Pin 1 (outside) Programmer Pin 5 (MOSI) -> Pin 11 (inside) Programmer Pin 9 (Ground)-> Pin 8 (outside) Programmer Pin 10 (+5V) -> Pin 10 (outside)

    After setting this up and connecting the programmer to a USB port I navigated to the directory where the .hex file was located at, and I ran this command: avrdude -P USB -b 19200 -c usbasp -p m328p -v -e -U flash:w:MicroView_combined_8-19-14.hex -U lock:w:0x0F:m

    This did the trick, and now both of my MicroViews are functioning fine, running different sketches. I hope this helps someone out, as I was a complete novice when I started to do this.