Pages: [1]   Go Down
Author Topic: Upload sketch to Arduino via USBASP Usb protocol only.  (Read 532 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 1
Posts: 344
YES! It is possible. Even Impossible Says I m Possible. :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all smiley

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
Logged

"Imagination is more important than knowledge."
-Einstein

Northants - UK
Offline Offline
Full Member
***
Karma: 1
Posts: 241
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Sr. Member
****
Karma: 1
Posts: 344
YES! It is possible. Even Impossible Says I m Possible. :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
smiley
Logged

"Imagination is more important than knowledge."
-Einstein

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16514
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all smiley

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
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 344
YES! It is possible. Even Impossible Says I m Possible. :)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Retrolefty. your method helps me.  smiley
Logged

"Imagination is more important than knowledge."
-Einstein

Pages: [1]   Go Up
Jump to: