BootloadHID in AVRStudio, problem.

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
uchar
Posts: 15
Joined: Wed Oct 28, 2009 12:05 pm

BootloadHID in AVRStudio, problem.

Post by uchar » Sun Apr 03, 2011 3:34 pm

Dear Christian!

Prompt please how to transfer project BootloadHID to AVRStudio environment.

If to use in the console the utility make the code is compiled, but in AVRStudio errors are always produced :(

uchar
Posts: 15
Joined: Wed Oct 28, 2009 12:05 pm

Re: BootloadHID in AVRStudio, problem.

Post by uchar » Mon Apr 04, 2011 2:52 pm

Addition:

The project managed to be transferred in AVRStudio, now it is compiled.

But the HEX-file looks so:

Code: Select all

:1000000050C06DC269C068C067C066C065C064C0CA
:1000100063C062C061C060C05FC05EC05DC05CC0E4
:100020005BC05AC059C00403090412036F00620088
:100030006400650076002E00610074001003480023


That is the code won't be placed in bootloader area .
How it to correct?

uchar
Posts: 15
Joined: Wed Oct 28, 2009 12:05 pm

Re: BootloadHID in AVRStudio, problem.

Post by uchar » Mon Apr 04, 2011 8:32 pm

Everything, I have understood :)

In project options there is section Memory Settings, in it it is necessary to add a segment with a name .text:

Image

Alan Chatham
Rank 1
Rank 1
Posts: 28
Joined: Wed Sep 30, 2009 3:36 am
Location: Osaka, Japan
Contact:

Re: BootloadHID in AVRStudio, problem.

Post by Alan Chatham » Wed Apr 13, 2011 2:10 am

Hi, uChar,

Could you possibly post your AVR Studio files for HIDBootloader? I could never get it to compile/run correctly in AVR Studio, so I had to always compile it with AVRDUDE, which works fine but is cumbersome to use and to switch MCUs and speeds and such.

Thanks!

Post Reply