Search found 614 matches
- Thu Jun 02, 2022 11:05 am
- Forum: NetBurner Software
- Topic: sign image
- Replies: 0
- Views: 2656
sign image
Using v3.3.7, I followed the steps in the Readme file in example program signedapp. After creating an External Tool Configuration in Eclipse, in the menu bar of Eclipse I select "External Tools" in the Launch Mode drop-down box, then click the green arrow next to "Sign" in the La...
- Fri May 27, 2022 1:45 pm
- Forum: NetBurner Software
- Topic: Free Buffers
- Replies: 4
- Views: 1445
Re: Free Buffers
I'm not following. I was just trying to determine the percentage of system buffers used, as was suggested. If 266 is the number of free buffers, what is the total number of buffers?
- Fri May 27, 2022 11:00 am
- Forum: NetBurner Software
- Topic: Free Buffers
- Replies: 4
- Views: 1445
Free Buffers
I'm using v3.3.7 on a NANO.
Using function GetFreeCount() to get the number of free system buffers, I get a value of 266. If I am following the code correctly, the buffer pool, declared in buffers.cpp (line 85), is created with 256 buffers. Am I looking in the wrong place?
Using function GetFreeCount() to get the number of free system buffers, I get a value of 266. If I am following the code correctly, the buffer pool, declared in buffers.cpp (line 85), is created with 256 buffers. Am I looking in the wrong place?
- Tue May 24, 2022 2:38 pm
- Forum: NetBurner Software
- Topic: Getting CPU statistics
- Replies: 14
- Views: 4502
Re: Getting CPU statistics
Regarding free memory, the diagnostic tab appears to only show the amount of free ram at compile time. If I malloc a bunch of memory, and reload the diagnostic page, the free memory reported doesn't change. I'm guessing there is no way to determine the amount of available ram memory at run-time as t...
- Tue May 24, 2022 9:44 am
- Forum: NetBurner Software
- Topic: Getting CPU statistics
- Replies: 14
- Views: 4502
Re: Getting CPU statistics
I implemented your test and averaged the LastLoopCount over 30-seconds, while my app only executed OSTimeDly(TICKS_PER_SECOND). Putting it all together, the CPU usage is around 16%. But I think that's the usage of the idle task, not my app. When I stress my app, the percentage drops by 1-2%. Therefo...
- Fri May 20, 2022 3:29 pm
- Forum: NetBurner Software
- Topic: Getting CPU statistics
- Replies: 14
- Views: 4502
Re: Getting CPU statistics
I'm using v3.3.7 with a NANO. Our customer wants to be able to query our device for CPU usage and percent of ram used. So it needs to be in the released build. I'm not sure how a counter would be incremented at a one second rate only when the idle task was running. Plus I don't think the idle task w...
- Fri May 20, 2022 8:22 am
- Forum: NetBurner Software
- Topic: Getting CPU statistics
- Replies: 14
- Views: 4502
Getting CPU statistics
I've been asked to determine CPU usage/loading at runtime? I think this is typically done by comparing how much time the CPU spends in an idle task to the total operating time. But there doesn't seem to be an idle task. If that's true, I can make my own idle task at the lowest priority and sit in a ...
- Thu Mar 10, 2022 10:47 am
- Forum: NetBurner Software
- Topic: EthernetIP not declared
- Replies: 4
- Views: 1898
Re: EthernetIP not declared
I don't think EthernetIP is used in the v3.x tools. Looking through my 3.3.7 app, I replaced EthernetIP with either ifBlock->ip4.cur_addr or InterfaceIP(GetFirstInterface()).
- Wed Mar 09, 2022 9:13 am
- Forum: NetBurner Software
- Topic: Port scan issue
- Replies: 6
- Views: 3533
Re: Port scan issue
According to my testing, it has been fixed in v3.3.7. Still looking for the the fix to be added to the v2.x tools.
- Thu Mar 03, 2022 8:44 am
- Forum: NetBurner Software
- Topic: Port scan issue
- Replies: 6
- Views: 3533
Re: Port scan issue
v3.3.7 definitely improves the issue. The module no longer locks up, and I can continue to make tcp connections, and not lose a tcp connection if a port scan comes along. A minor issue still present is that once a port scan occurs, the function IsSocketReadable always returns true even when no conne...