Go Down

Topic: Upload sketch to Arduino via USBASP Usb protocol only. (Read 769 times) previous topic - next topic

nightcrawler218

Hello all :)

I have a usbasp programmer, Atmega328p with UNO bootloader, I DON'T have FTDI breakout board. Can you tell me how to upload sketches multiple times on the arduino chip using the USBASP protocol. I want to replace the TX, RX, RST serial protocol with the USBasp interface (Protocol only)?
Is it possible?

Thanks in advance
"Imagination is more important than knowledge."
-Einstein

sparkylabs

Your looking at changing the bootloader significantly as that is it's main function. Why not use your UNO board with the MCU removed as the USB/serial adapter.
My shop: www.sparkylabs.co.uk/shop

nightcrawler218

Thanks sparkylabs for the knowledge.

I was going through this forum http://www.multiwii.com/forum/viewtopic.php?f=6&t=2521
so I thought to give it a try.

Well, Thanks again for your answer
:)
"Imagination is more important than knowledge."
-Einstein

retrolefty


Hello all :)

I have a usbasp programmer, Atmega328p with UNO bootloader, I DON'T have FTDI breakout board. Can you tell me how to upload sketches multiple times on the arduino chip using the USBASP protocol. I want to replace the TX, RX, RST serial protocol with the USBasp interface (Protocol only)?
Is it possible?

Thanks in advance


Simple as the arduino IDE now supports uploading sketches via hardware programmers. This will upload the sketch on the desired target board, but keep in mind that it will erase any bootloader that might have been on the target chip which is not a big deal if you plan on only using the USBasp programmer to upload sketches to the target. You can always reburn the uno bootloader to the target if you wish to user normal serial uploading in the future.

1. Select target board type in tools menu
2. Select USBasp programmer type in tools menu
3. Load sketch into arduino IDE edit window
4. Select upload sketch using programmer in the files menu

Lefty

nightcrawler218

"Imagination is more important than knowledge."
-Einstein

Go Up