SAMD-Development-Boards
SAMD-Development-Boards copied to clipboard
Speed up boot/start up time
I have a paired down sketch that only inits a GPIO and set it high.
I have this flashed on a SAMD21E17A with crystal with no boot loader.
It seems to take about 2.3 seconds for the SAMD21E17A to start up and set the IO.
Is there anyway to speed this up to < 1 second?
I haven't really worked much with the SAMD, and even that was years ago. So, I can't help you off the cuff. Did you compile your code without the USB stack?
Hmm, that might be something to look at.
How do I compile it with out the USB stack?
On Fri, Apr 5, 2024 at 2:26 PM Stefan Wagner @.***> wrote:
I haven't really worked much with the SAMD, and even that was years ago. So, I can't help you off the cuff. Did you compile your code without the USB stack?
— Reply to this email directly, view it on GitHub https://github.com/wagiminator/SAMD-Development-Boards/issues/6#issuecomment-2040499703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACB2NQZUDZTE5DYXOQKJHTY333HNAVCNFSM6AAAAABFWO6CK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGQ4TSNZQGM . You are receiving this because you authored the thread.Message ID: @.***>
Oh no, I see that option from the drop down. Sorry I should have at-least looked before I replied to that.
I will try that tomorrow when I am in the shop.
On Fri, Apr 5, 2024 at 3:05 PM Jeff Seese @.***> wrote:
Hmm, that might be something to look at.
How do I compile it with out the USB stack?
On Fri, Apr 5, 2024 at 2:26 PM Stefan Wagner @.***> wrote:
I haven't really worked much with the SAMD, and even that was years ago. So, I can't help you off the cuff. Did you compile your code without the USB stack?
— Reply to this email directly, view it on GitHub https://github.com/wagiminator/SAMD-Development-Boards/issues/6#issuecomment-2040499703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACB2NQZUDZTE5DYXOQKJHTY333HNAVCNFSM6AAAAABFWO6CK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGQ4TSNZQGM . You are receiving this because you authored the thread.Message ID: @.***>
Compiling with USB off didn't effect the boot time. Thanks for your help on this tho. I will keep looking to see if there is somewhere I can reduce this time.
This is strange and shouldn't be like that. I suspect there is some overhead in the Arduino core.