Search found 6 matches

by trkien
Sat Nov 16, 2013 3:28 am
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

Re: USB bootloaderhid with Atmega128

Hi Matrixstorm,

Sure, you can mark ATmega128 as tested (16MHz) in the next commit to github.

I also give USBasp loader star on github now. You did a wonderful work.

Nice to talk to you, too.

trkien.
by trkien
Fri Nov 15, 2013 4:18 pm
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

Re: USB bootloaderhid with Atmega128

Hi Maxtrixstorm,

It is my mistake at somewhere in hardware connections. You are totally right with the suggestion fuses.
I checked again and everything works well.

By the way, using INT3 instead of INT0 also works well.

Thank you very much.

trkien.
by trkien
Fri Nov 15, 2013 6:31 am
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

Re: USB bootloaderhid with Atmega128

Thank you Matrixstorm,

I can compile and the code works well with Atmega128 now.
However, it cannot work with USBasploader suggestion fuses. It works with my previous fuses: HF:0xd0, LF:0xbf, EX: 0xff.
Anyway, thank you very much.

trkien.
by trkien
Fri Nov 08, 2013 5:19 pm
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

Re: USB bootloaderhid with Atmega128

Hi matrixstorm, Happy to hear response from you. As your comments, I used testing-branch with some modifications: - bootloaderconfig.h : #ifndef USB_CFG_IOPORTNAME #define USB_CFG_IOPORTNAME D #endif #ifndef USB_CFG_DMINUS_BIT #define USB_CFG_DMINUS_BIT 6 #endif #ifndef USB_CFG_DPLUS_BIT #define USB...
by trkien
Wed Nov 06, 2013 3:11 am
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

Re: USB bootloaderhid with Atmega128

@matrixstorm: I used USBaspLoader original with some modifications to suit with my hardware but i also got the same problem: "usb device not recognized". Did you try with atmega128 successfully before? @ulao: The boot start address value depends on the size of bootloader you use. I used 4k...
by trkien
Wed Oct 30, 2013 10:43 am
Forum: V-USB
Topic: USB bootloaderhid with Atmega128
Replies: 14
Views: 10228

USB bootloaderhid with Atmega128

Hi all, I am using bootloadHID.2012-12-08 for my Atmega128A. I modify the bootloaderconfig.h for suitable with my hardware: #define USB_CFG_IOPORTNAME D #define USB_CFG_DMINUS_BIT 4 //PD4: D- #define USB_CFG_DPLUS_BIT 0 //PD0: D+ (INT0) and modify in the makefile: DEVICE = atmega128 BOOTLOADER_ADDRE...