Search found 26 matches
- Fri Sep 06, 2013 5:45 am
- Forum: V-USB
- Topic: ATMEGA328P on V-USB
- Replies: 43
- Views: 52077
Re: ATMEGA328P on V-USB
Hey guys! I'm having a hard time with BOOTLOADHID on my atmega328p. I've been able to build my main application using V-USB Release 2007-09-19 with slight modification (INT0_vect). My compiler is avrgcc 20100110. I've downloaded the latest BOOTLOADHID from the site and modified it for atmega328p in ...
- Fri Dec 28, 2012 12:13 am
- Forum: V-USB
- Topic: HIDBootFlash error, cannot reflash bootflash, help!
- Replies: 5
- Views: 6816
Re: HIDBootFlash error, cannot reflash bootflash, help!
Hum... Looks like the latest version of the HID boot firmware is able to reprogram itself.
Important note, it's very important to keep everything "static" because it's running in RAM only during the Bootflash RWW phase.
Case closed!
Important note, it's very important to keep everything "static" because it's running in RAM only during the Bootflash RWW phase.
Case closed!
- Thu Dec 27, 2012 3:05 am
- Forum: V-USB
- Topic: HIDBootFlash error, cannot reflash bootflash, help!
- Replies: 5
- Views: 6816
Re: HIDBootFlash error, cannot reflash bootflash, help!
Hum... just re-read the Atmega8 specifications. Looks like it's possible but in a different manner: The Boot Loader Support provides a real Read-While-Write Self-Programming mechanism for downloading and uploading program code by the MCU itself. This feature allows flexible application software upd...
- Thu Dec 27, 2012 2:56 am
- Forum: V-USB
- Topic: HIDBootFlash error, cannot reflash bootflash, help!
- Replies: 5
- Views: 6816
Re: HIDBootFlash error, cannot reflash bootflash, help!
Okay... So you have to lock the bootsection with the lockbits and then it will protect it when you reflash the device?
Then you can only reflash the application section... I see.
I just tried and it works. I'll re-read the spec sheet.
sorry, I think I look dumb now!
Then you can only reflash the application section... I see.
I just tried and it works. I'll re-read the spec sheet.
- Wed Dec 26, 2012 9:11 pm
- Forum: V-USB
- Topic: HIDBootFlash error, cannot reflash bootflash, help!
- Replies: 5
- Views: 6816
Re: HIDBootFlash error, cannot reflash bootflash, help!
Oh and BTW, AVR studio is pushing the same HEX without issue.
Another test is conclusive; it switch between the device and the HIDBoot when the jumper is on.
Another test is conclusive; it switch between the device and the HIDBoot when the jumper is on.
- Wed Dec 26, 2012 9:05 pm
- Forum: V-USB
- Topic: HIDBootFlash error, cannot reflash bootflash, help!
- Replies: 5
- Views: 6816
HIDBootFlash error, cannot reflash bootflash, help!
Hello, I did a simple implementation of the HIDBoot on a Atmega8. For a wierd reason, it can reflash everything except the bootflash itself. Here is the output of bootflashHID.exe: D:\>bootloadhid -r main.hex Page size = 64 (0x40) Device size = 8192 (0x2000); 6144 bytes remaining Data (7874 bytes) e...
- Wed Dec 26, 2012 8:45 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14255
Re: INT0 on D- instead of D+
Glad if this can help!
Now I have some issue with HIDBootFlash that cannot reprogram the boot flash itself. I will post on another topic.
Thanks!
Now I have some issue with HIDBootFlash that cannot reprogram the boot flash itself. I will post on another topic.
Thanks!
- Mon Dec 17, 2012 8:55 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14255
Re: INT0 on D- instead of D+
Hello,
Actually, it works. This issue was with initial port configuration of the device. Just by changing the pins name and number and the interrupt polarity it's good.
Thanks!
Actually, it works. This issue was with initial port configuration of the device. Just by changing the pins name and number and the interrupt polarity it's good.
Thanks!
- Sun Dec 16, 2012 8:25 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14255
Re: INT0 on D- instead of D+
Hum... looks like it's not as easy as just changing interrupt polarity... Help anyone? /* ----------------------- Optional MCU Description ------------------------ */ /* The following configurations have working defaults in usbdrv.h. You * usually don't need to set them explicitly. Only if you want ...
- Fri Dec 14, 2012 7:23 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14255
Re: INT0 on D- instead of D+
Yup, already done. But it does not work because INT0 is on D- instead of D+. The important thing mentionned in the code is: "You may wire the lines to any other port, as long as D+ is also wired to INT0." Not my case... General Description: This file is an example configuration (with inlin...
- Fri Dec 14, 2012 5:55 pm
- Forum: V-USB
- Topic: INT0 on D- instead of D+
- Replies: 10
- Views: 14255
INT0 on D- instead of D+
Hello, I've got a board already in production that has INT0 connected to D- instead of D+. See: http://www.retronicdesign.com/wp-content/uploads/2012/07/UsbJoyAdapter.jpg Is it possible to modify the behavior of V-USB to accept this? I already tried couple of things but it does not work. I doubt the...