Search found 78 matches

by RebootExpert
Thu Jan 05, 2023 12:56 pm
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

Thanks for the guidance. I will try to replace it with HiResDelay
by RebootExpert
Tue Jan 03, 2023 12:07 pm
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

I test it out, it still return as 0. The stopwatch only works when I specify the parameter to 1 or greater.
I don't use the HiResTimer at all, it inherits from my coworker's 2.x source code. I can specify it to 1, and my code still runs.
It's just something alert me that I need to fix.
by RebootExpert
Tue Jan 03, 2023 9:15 am
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

Re: HiResTimer cause stopwatch fail

yes it did. In fact, the example is what I start with the stopwatch. However like in my test project, if I have the follow two lines of code incorporated into the example, the stopwatch will return 0 elapsed time. #include <HiResTimer.h> ... HiResTimer *hrt = HiResTimer::getHiResTimer(0); hrt->init(...
by RebootExpert
Fri Dec 23, 2022 9:53 am
Forum: NetBurner Software
Topic: HiResTimer cause stopwatch fail
Replies: 7
Views: 6755

HiResTimer cause stopwatch fail

using NANO and 3.3.9, I got legacy code in 2.x from my colleague. I ported the project into 3.x. when I try use the stopwatch, the elapsed time always return as 0. When I comment out the HiResTimer Init function, the stopwatch work properly. Here's the simple project I build to test #include <predef...
by RebootExpert
Thu Dec 08, 2022 11:23 am
Forum: NetBurner Software
Topic: locate alt boot monitor IP address
Replies: 6
Views: 1421

Re: locate alt boot monitor IP address

Great keep me post. I will submit a ticket for the new version and utility.
by RebootExpert
Tue Dec 06, 2022 12:00 pm
Forum: NetBurner Software
Topic: locate alt boot monitor IP address
Replies: 6
Views: 1421

Re: locate alt boot monitor IP address

Thanks Tom. once the new version of monitor app roll out, how do I do the update? Is there a utility to do the job or do I need to do a RMA for update?
by RebootExpert
Mon Dec 05, 2022 1:49 pm
Forum: NetBurner Software
Topic: locate alt boot monitor IP address
Replies: 6
Views: 1421

Re: locate alt boot monitor IP address

I've test it out, the alt boot monitor ip won't change. Here's what I did: 1) using serial port and Mttty set the boot monitor ip to 0.0.0.0(DHCP) 2) uncommnet the //#define SUPPORT_LEGACY_IPSETUP (1), and clean and rebuild system libraries 3) rebuild app and load into NANO, and config the ip to sta...
by RebootExpert
Mon Dec 05, 2022 10:08 am
Forum: NetBurner Software
Topic: locate alt boot monitor IP address
Replies: 6
Views: 1421

locate alt boot monitor IP address

I am using a Nano module and 3.3.9. If my app crash due to whatever reason, it will boot to alt boot monitor. I understand that you can use serial or autoupdate to locate the ip address and recover the app. However my customer may not use serial interface nor any PC utilities, they will mainly rely ...
by RebootExpert
Mon Oct 24, 2022 7:34 pm
Forum: NetBurner Software
Topic: set system time in microsecond
Replies: 6
Views: 1280

Re: set system time in microsecond

using NANO module
by RebootExpert
Mon Oct 24, 2022 1:23 pm
Forum: NetBurner Software
Topic: set system time in microsecond
Replies: 6
Views: 1280

Re: set system time in microsecond

the goal is try to execute a command at some future specific time, like turn on an LED at [01/01/2023 11:22:33.123456]
you're right. I will need a hardware timer for it.