Go Down

Topic: !!! (Read 1 time) previous topic - next topic

AWOL

Did you ever consider typing the simple phrase "three exclamation marks" into the search box, up there, on the right?

Kevin77

#16
Dec 05, 2016, 11:51 pm Last Edit: Dec 05, 2016, 11:53 pm by Kevin77
:-[

No, but I catch your drift...

I only searched for !!!

( and It does sound read kind of urgent, doesn't it?)

oqibidipo

This was a "feature" of the old Mega bootloader.
It still is, but the !!! must be within the first 9 bytes read by the bootloader (if enabled).

PaulMurrayCbr

Its a feature designed to keep n00bs and l33t-speakers from uploading code.
http://paulmurraycbr.github.io/ArduinoTheOOWay.html

pert

It still is, but the !!! must be within the first 9 bytes read by the bootloader (if enabled).
Interesting. I didn't know that. I guess it makes sense to leave the feature available in case anyone misses it but make it unlikely to be encountered unintentionally.

Its a feature designed to keep n00bs and l33t-speakers from uploading code.
Haha, I'm going to make a bootloader that says "Use code tags!" if it encounters the string "Ardunio".

Kevin77

I'm still a bit unsure what it is supposed to do with the bootloader.

Coding Badly


That bootloader has a monitor mode.  When the bootloader is presented with three exclamation marks it switches from normal / upload mode to monitor mode.  In monitor mode it will not accept uploads.

The bootloader was fixed to include a guard.  If the three exclamation marks occur late the switch does not happen.


Kevin77

Thanks for the explanation!

Go Up