Search found 1080 matches

by pbreed
Fri Jan 13, 2023 4:46 pm
Forum: NetBurner Software
Topic: Wifi - Ethernet routing
Replies: 6
Views: 1420

Re: Wifi - Ethernet routing

Exactly what are you trying to accomplish, one could do some port forwarding if your routing needs are simple..
by pbreed
Fri Jan 13, 2023 8:15 am
Forum: NetBurner Software
Topic: Wifi - Ethernet routing
Replies: 6
Views: 1420

Re: Wifi - Ethernet routing

The Netburner is not a Wifi router. The external devices are not going to be able to see each other through the NetBurner. The MOD54417 parts with dual ethernet have a mode where you can tun on a simple ethernet switch and they will route between the two ethernet ports, but even that part will not r...
by pbreed
Wed Jan 04, 2023 12:21 pm
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

So I verified this is broken in the current release.... The short answer: You should not be using HiResTimer. in 3.X apps. You should using HiResDelay.h //For microsecond precise delays. IntervalTimer.h //For repeat timers from 2 to 50Khz. StopWatch.h //For precise time measuremnts. Long answer: HiR...
by pbreed
Tue Jan 03, 2023 3:56 pm
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

The stopwatch and hirestimer use the same set of timers. DEFAULT_TIMER is supposed to make the code choose an unused timer. (Not sure why it isn't I'll look at that on Wedensday) Your fix Putting a 1 in also works as it seems the stopwatch is using timer 0, so hires uses timer 1. .... Please confirm...
by pbreed
Tue Jan 03, 2023 10:59 am
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

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 time...
by pbreed
Mon Nov 21, 2022 4:38 am
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4307

Re: Updating SNMP for v3.x Project

udef.h is not one of ours...
by pbreed
Mon Oct 24, 2022 8:03 pm
Forum: NetBurner Software
Topic: set system time in microsecond
Replies: 6
Views: 1281

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 ...
by pbreed
Mon Oct 24, 2022 5:38 pm
Forum: NetBurner Software
Topic: set system time in microsecond
Replies: 6
Views: 1281

Re: set system time in microsecond

Which hardware platform?
by pbreed
Fri Oct 21, 2022 12:07 pm
Forum: NetBurner Software
Topic: set system time in microsecond
Replies: 6
Views: 1281

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 t...
by pbreed
Mon Oct 03, 2022 2:37 pm
Forum: NetBurner Software
Topic: Wiegand module
Replies: 1
Views: 1044

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.