I think your HiResTimer is stepping on the stopwatch timer.
stopwatch looks qand sees timer 0 is unused so grabs that one....
Then
HiResTimer *hrt = HiResTimer::getHiResTimer(0); //<--Specifies Timer 0.....
Try:
HiResTimer *hrt = HiResTimer::getHiResTimer(DEFAULT_TIMER); //Should pick an unused ...
Search found 1096 matches
- Tue Jan 03, 2023 10:59 am
- Forum: NetBurner Software
- Topic: HiResTimer cause stopwatch fail
- Replies: 7
- Views: 18247
- Mon Nov 21, 2022 4:38 am
- Forum: NetBurner Software
- Topic: Updating SNMP for v3.x Project
- Replies: 12
- Views: 27271
Re: Updating SNMP for v3.x Project
udef.h is not one of ours...
- Mon Oct 24, 2022 8:03 pm
- Forum: NetBurner Software
- Topic: set system time in microsecond
- Replies: 6
- Views: 10476
Re: set system time in microsecond
With the NANO you have a really nice hardware timer.
Manual calls it DMA timer....(4 of them)
You can clock the timer from the system CPU clock.
Then capture the PPS with the input compare.
You can use output compare to trigger an interrupt at the exact correct time.
If the output compare is set as ...
Manual calls it DMA timer....(4 of them)
You can clock the timer from the system CPU clock.
Then capture the PPS with the input compare.
You can use output compare to trigger an interrupt at the exact correct time.
If the output compare is set as ...
- Mon Oct 24, 2022 5:38 pm
- Forum: NetBurner Software
- Topic: set system time in microsecond
- Replies: 6
- Views: 10476
Re: set system time in microsecond
Which hardware platform?
- Fri Oct 21, 2022 12:07 pm
- Forum: NetBurner Software
- Topic: set system time in microsecond
- Replies: 6
- Views: 10476
Re: set system time in microsecond
Exactly which hardware are you running?
stopwatch.h
will make better than uSec measurements, alas any thing depending on I/O ethernet/serial etc...
the interrupt latency will vary more than a few uSec depending on network and serial port traffic.
If you really need uSec resolution you aren't going ...
stopwatch.h
will make better than uSec measurements, alas any thing depending on I/O ethernet/serial etc...
the interrupt latency will vary more than a few uSec depending on network and serial port traffic.
If you really need uSec resolution you aren't going ...
- Mon Oct 03, 2022 2:37 pm
- Forum: NetBurner Software
- Topic: Wiegand module
- Replies: 1
- Views: 4792
Re: Wiegand module
Not that I know of, but should be fairly easy.
The Modm7 supports interrupts on all GPIO so one could interrupt on low clock the signal and bitbang an interface.
The Modm7 supports interrupts on all GPIO so one could interrupt on low clock the signal and bitbang an interface.
- Mon Sep 26, 2022 12:25 pm
- Forum: NetBurner Software
- Topic: Need help with crash
- Replies: 7
- Views: 17529
Re: Need help with crash
This has been fixed in our internal releases... *Latest public release June 22, this was fixed in internal GIT in early Aug.
submit a support ticket and get a patch... (You may have already done so as this was discussed as a support ticket in internal dev meeting today.)
submit a support ticket and get a patch... (You may have already done so as this was discussed as a support ticket in internal dev meeting today.)
- Tue Sep 13, 2022 3:44 am
- Forum: NetBurner Software
- Topic: Recovering from a corrupted image
- Replies: 8
- Views: 11502
Re: Recovering from a corrupted image
I don't think signed image will work if you force a _APP.s19
- Sun Sep 11, 2022 12:35 pm
- Forum: NetBurner Hardware
- Topic: MODM7AE70 pinout
- Replies: 1
- Views: 28339
Re: MODM7AE70 pinout
Get datasheet from here...
https://www.netburner.com/products/syst ... on-module/
https://www.netburner.com/products/syst ... on-module/
- Wed Sep 07, 2022 2:18 pm
- Forum: NetBurner Software
- Topic: Recovering from a corrupted image
- Replies: 8
- Views: 11502
Re: Recovering from a corrupted image
Just a note one of the very common wget's for windows has a 64K limit and will fail.
Use the exe we provide with our tools..
Use the exe we provide with our tools..