Nevertheless, I'm very happy to know that I can directly transition from the Arduino Nano 3.0 to my PCB Atmega328P without any headaches. It's just a simple hex file uploader (no compiling or editor) for the AVR chips. Or, I guess I can just get that hex file and upload it to the on-PCB Atmega328P using Atmel's FLIP software. However now you have to hold down the shift key when you verify the sketch and if it compiled successfully there will be a temporary folder path shown where the hex file can be located and you can copy it to some safer place as it goes away when the IDE is closed. so I just need to find out which lines to edit in boards.txt to perform in-system programming on my PCB using AVRISP mkII.
#AVRISP MKII DRIVERS SERIAL#
Note that to burn sketches directly to a board using a ISP programmers and using the IDE upload button, requires editing a line or two in the boards.txt file, as all the exisiting board definitions assume the target is using arduino bootloader code and a serial comm connection to perform the upload. embarrassing!!Īfter recollecting on the past few days (that's how long I've been exposed to this!), I see now that Arduino is a simple-to-use and understand IDE that has wonderful libraries that are easy to utilize in embedded C programming. That's why I was thinking that a plain-Jane Atmel chip couldn't work with Arduino stuff unless this "bootloader" thing was on the chip first. every time I parsed through the forum and saw the word "bootloader", I assumed it was the translation code between Arduino and embedded C language. If you were instead going to use the normal arduino upload method using the USB serial connection, then any blank chip would have to have the proper arduino bootloader code loaded in prior.
#AVRISP MKII DRIVERS SOFTWARE#
Note however that the arduino IDE has no load hex file option, it's has only a compile and upload method, however one can use the embedded AVRDUDE software in command line mode to directly load a hex file via your programmer.ĭ) Would Atmel's FLIP programmer be of any use with the situations detailed above/ Yes, it use to be easier to find as the hex file was saved in the sketch folder. If you were instead going to use the normal arduino upload method using the USB serial connection, then any blank chip would have to have the proper arduino bootloader code loaded in prior.Ĭ) Could a hex file from the Arduino software (I haven't tried looking for one yet) be used to program the newly purchased Atmega328P via AVRISP mkII? Not if you are planning on using a ISP programmer as your method of uploading sketches. Yes, I think that is one of the programmers listed in the burn bootloader pulldown menu, so the IDE and avrdude 'knows' about that programmer.