[TriEmbed] Fastest microcontroller from Vcc power to turning on an output?

Martin Brooke martin.brooke at duke.edu
Thu Jan 7 21:02:51 CST 2016


I am not an expert, but I think this is a very complex question.   It
probably depends on the simplicity of the program execution environment
mostly, how you code somewhat, and the processor speed a bit.

If you can get your main program to start up at soon as the power causes a
reset and you do not have anything execute before the IO pin toggle command
but maybe some IO setup code, then this could be very fast like a few clock
cycles.

But if a bunch of code executes before your main program to setup the
microcontroller (like loading things into RAM for speed, and other C and
library stuff) it could take a programming environment dependent time, with
more complex environments taking longer?  The worst case here is many
seconds like a linux boot time.  My guess is simple environments like
Arduino IDE do not take too long, and assembly language environments are
very fast.

My guess is a good Assembly language programmer or clever C coder can
greatly reduce this time on any processor.

So if you stick with vanilla C IDEs on common 8-bit micros who knows, It
would be interesting to see if anybody has measured this on common Arduino
/ ARV  / PIC 8-bit devices and common IDEs.  I did not find anything about
startup speed when I searched.

Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20160107/e0e89444/attachment.htm>


More information about the TriEmbed mailing list