a different timestamp profile for programs executed from ram or from onint ( flash) #4372
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2015-01-27 by @gfwilliams Hi, I'm not entirely sure what the problem is, but you are using quite an outdated firmware (I think it's the one that came with the board) - I'd try upgrading if I were you - just click the yellow warning icon that should have appeared in the top right of the Web IDE. There's been one issue in 1v71 (the latest) that I know of that does tend to break the timing for the first second or so after startup (although it should be fine after that). I'm releasing a new version (1v72) in the next few days though (hopefully tomorrow) that has that fixed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-01-27 by user6350
I did a check executing a same program from ( downloading from the Web IDE ) or from FLASH using the USB console.
I obtained that the version executed after downloading from Flash onInit() runs twice as much as it would.
I set a led flashing at 1 Hz.
It flashed at 1 Hz when executing after a reset() and at 2Hz when executing after onInit()
The same happens for characters received fron an external part and sampled every 100 ms in a state machine loop.
IS there a reason for this behaviour ?
Thanks in advance for the reply.
Please find attached below the profiling.
Beta Was this translation helpful? Give feedback.
All reactions