Timeline for Avr dude programmer
Current License: CC BY-SA 3.0
21 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 26, 2017 at 15:09 | vote | accept | See Jian Shin | ||
| May 26, 2017 at 15:00 | comment | added | See Jian Shin | @Majenko the "burn bootloader" under the "tools" in the arduino ide. Which most likely isn't a bootloader. | |
| May 26, 2017 at 14:49 | comment | added | Majenko |
No, I mean the bootloader. Where did you get the bootloader? I also reburned the bootloader for the attiny85 just in case
|
|
| May 26, 2017 at 14:48 | answer | added | Majenko | timeline score: 0 | |
| May 26, 2017 at 14:48 | comment | added | See Jian Shin | @Majenko here my.element14.com/microchip/attiny85-20pu/… | |
| May 26, 2017 at 14:45 | comment | added | Majenko | You have no idea what bootloader you tried installing? Where did you get it? | |
| May 26, 2017 at 14:44 | comment | added | See Jian Shin | @Majenko bootloader wise..... I have no idea. Attiny85 comes with a bootloader...Right? | |
| May 26, 2017 at 14:44 | comment | added | See Jian Shin | @Majenko because of where I live, it's not that easy to obtain these products, eBay included. And this is my one time project, and I won't be returning to avr devices anytime soon (I think). | |
| May 26, 2017 at 14:42 | comment | added | Majenko | Which bootloader do you think you are installing on the ATTiny? | |
| May 26, 2017 at 14:41 | comment | added | Majenko | Using an Arduino to program a microcontroller is very crude at best. You should invest in a USBASP from eBay. They're dirt cheap. | |
| May 26, 2017 at 14:41 | comment | added | See Jian Shin | @Majenko I couldn't use "avrisp" because of the error, and "arduino" doesn't seem to work. | |
| May 26, 2017 at 14:40 | comment | added | See Jian Shin | @Majenko I burned the bootloader with the arduino software.(under the tools) I really do not have the ability to properly program an avr device now. And I think I'm not actually burning the bootloader although it says so, as I saw from other forums that I am just actually resetting the clock rate of the chip. | |
| May 26, 2017 at 14:36 | comment | added | Majenko | Yet you seem to have the ability to program the bootloader on the ATTiny? Why not just program the HEX file directly using the same method instead of messing with bootloaders? | |
| May 26, 2017 at 14:35 | comment | added | See Jian Shin | @Majenko that... Actually sounds like it. All I want is to download my hex file into my attiny85 , and I do not have any other way of connecting the attiny85 to my laptop. | |
| May 26, 2017 at 14:33 | comment | added | Majenko | It sounds like you're not actually doing what you describe (and we assume from the situation) you are doing. Using an Arduino to program an ATTiny85 usually means using it as an ISP to flash the chip directly. Instead it sounds like you are actually using a bootloader on the ATTiny and using the Arduino as a dumb UART interface. Is that correct? | |
| May 26, 2017 at 14:31 | comment | added | See Jian Shin | @Majenko the one in the example , yes. I also reburned the bootloader for the attiny85 just in case . Since the data flows from my laptop through the arduino then into the attiny85, does this mean that by selecting -c arduino will download the hex file into the arduino, or download the hex file into the attiny85 with arduino protocol ? | |
| May 26, 2017 at 14:23 | comment | added | Majenko |
Did you reprogram the ArduinoISP sketch back on the Arduino after breaking it with -c arduino and before testing it again with the reset disabled?
|
|
| May 26, 2017 at 14:22 | comment | added | Majenko |
The -c selects which protocol to use to talk to the remote device. -c arduino selects the Arduino's bootloader as the protocol to use. -c avrisp selects the protocol spoken by the ArduinoISP sketch.
|
|
| May 26, 2017 at 14:21 | comment | added | See Jian Shin | @Majenko disable with capacitor at the reset? I just tried and same error code with avrisp.(Also I don't know if I actually prevented the reset or not, no way I know now.) So the arduino option programs the arduino regardless of what chip I choose later ? | |
| May 26, 2017 at 14:15 | comment | added | Majenko | DId you disable the reset on the Arduino after installing the ArduinoISP sketch? If not, then you just reprogrammed the Arduino with your ATTiny85 program. | |
| May 26, 2017 at 14:10 | history | asked | See Jian Shin | CC BY-SA 3.0 |