HEX-loader problem

HI,

If I want to upload a compiled schetch ( a *.hex file), I can use (maybe more) 2 methods. I can use the ARD. Ide interface (Sub-item Upload) or I can use HexLoader.

The buad-rate used in ARD-ide is 115200.

But when I want to use HexLoader there is an issue:

I was told that the software (boot-loader) on the board (eg: Uno, 2560 etc) (in some way) atomatically determines the selected baud-rate, and sets the communication parameters on the board in accordance with that selection.

I wonder: Is this true or a great fake ??? or shall I use 115200 in hexloader too ??

Thanks

Kris aka snestrup2016

Standard bootloader on the UNO and Mega uses fixed speed 115200 baud.
Anyway, I doubt there is a bootloader with auto-speed. How it would fit into 512bytes?

You can also use the "avrdude" program that is included as part of the Arduino distribution...

I doubt there is a bootloader with auto-speed. How it would fit into 512bytes?

It's been done: Optiboot with EEPROM Support and Auto-Baudrate · Issue #227 · Optiboot/optiboot · GitHub Assembly language...
I "disapprove" - rejecting serial traffic that's at the wrong bitrate is an important feature of the (recent) bootloaders...

So, I was wrong. :smiley: Excellent, it fits into 512b.
Did you try it?

+1 nice karma BTW: 1234