Page 1 of 1

BootloadHID in AVRStudio, problem.

Posted: Sun Apr 03, 2011 3:34 pm
by uchar
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 :(

Re: BootloadHID in AVRStudio, problem.

Posted: Mon Apr 04, 2011 2:52 pm
by uchar
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?

Re: BootloadHID in AVRStudio, problem.

Posted: Mon Apr 04, 2011 8:32 pm
by uchar
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

Re: BootloadHID in AVRStudio, problem.

Posted: Wed Apr 13, 2011 2:10 am
by Alan Chatham
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!