Menu

pickit to avr

2018-05-03
2018-06-06
  • stan cartwright

    stan cartwright - 2018-05-03

    It seems possible to erase a 328 uno or nano and it's bootloader and then flash a hex file to the board without a bootloader.
    pk2 is not compatable with avr. so I need PK2AVRISP which doesn't run..says side by side error.
    This needs a virtual port so I got VSPE.
    com0com is a pain to run it seems.
    Some of you guys got it to work. Would anyone like to explain how.

     
  • elreypic

    elreypic - 2018-06-06

    Hi Stan,

    I have not tried that method to program an AVR using the pk2. What I am using is AVRDUDE and AVRDUDESS (as GUI) This is the most easiest method to program an AVR microcontroller with pk2. The only issue in my case, it doesn't work with my original pk2, I am used a pk2 clone. Please see the attached image.

    I hope this can not be too late.

     
  • Anobium

    Anobium - 2018-06-06

    So, PK2 IS COMPATIBLE with AVR - use AVRDUDES.

    But, if you want to spend money....https://www.sparkfun.com/products/11801

    What a nice PCB. Simple and works out of the box with v0.98.02.

    I have one next to me.

    My notes:

    1. Install hardware
    2. I used this as my guide. https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide/
    3. If no driver found, download the file usbtinyisp_libusb_1.2.6.0.zip (or later version)
    4. Integrating with the GCB IDE was very easy.
      a. Test in AVRDUDES as follows:

    This key here is the command line -c usbtiny -p t85 -P usb. Write this down.

    1. When I knew ADVRDUDES worked then it was very simple.
    2. I select the Avrdude (USBtinyISP) in the new Programmer Editor tool in the IDE.
    3. I used the program – and, it worked! A flashing LED

    What I did then was to remove the tiny85, solder up the programmer ports and I programmed a new bootloader into a mega328p. Worked!

    An amazing device.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.