tiny with fdu?

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use my atmegau2 and u4 with this project.

http://dfu-programmer.github.io/

 

I'd like to do the same thing with an attiny85 if possible. The chip is not listed in the fdu chip support section so I'm guessing something is different but LUFA does support the 85. I could always go with no bootloader but hope not to. Anyone know of a bootloader I can use with it?

This topic has a solution.
Last Edited: Sat. Jan 25, 2020 - 08:41 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

S_K_U_N_X wrote:
... but LUFA does support the 85.
megaAVR with a USB controller

S_K_U_N_X wrote:
Anyone know of a bootloader I can use with it?
GitHub - micronucleus/micronucleus: ATTiny usb bootloader with a strong emphasis on bootloader compactness. (GPL) via https://docs.platformio.org/en/latest/platforms/atmelavr.html#packages

(there may be more)

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried micronuscleus but the flash size was greater then the chip? Possibly I download the hex wrong...

 

edit: yup that was why... 5k now. user error.

Last Edited: Sat. Jan 25, 2020 - 06:20 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I was able to get things working but the driver shows as unknown device. I installed libusb and followed the directions in the doc but can not seem to make it work. Running the install executable just flashes up a cmd screen and goes a way before I can read it. I'm wondering if my fuses are to blame here?  This board I have uses an internal clock (from what I read that should work < the internal PLL 16mhz option (that is, as far as I understand, crucial for the USB timing) is only available for the AT85. >).

 

My guess is a fuse issue as I do not see these IDS

I see 0000 0000

 

 

 

 

Last Edited: Sat. Jan 25, 2020 - 08:25 PM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

ah, it was indeed fuses, I used the trinket stuff.

L (low) fuse to 0xF1, the H (high) fuse to 0xD5 and the E (extended) fuse to 0xFE

I didn't know about PLL

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Was wondering if anyone could explain this to me. 

 

Tiny's do not have a USB controller on them

The tiny85 is cabled of a USB bootloader

 

How does that work exactly?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It uses V-USB (Virtual USB).

 

From the link in gchapmans Post#2

  Readme.txt (Link):

Interrupt free V-USB

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ah, very good thx.