Search found 535 matches

by SeeCwriter
Thu Jun 30, 2022 7:30 am
Forum: NetBurner Software
Topic: Port scan issue
Replies: 6
Views: 703

Re: Port scan issue

Do you think this issue will be fixed in the v2.x tools?
by SeeCwriter
Thu Jun 02, 2022 11:05 am
Forum: NetBurner Software
Topic: sign image
Replies: 0
Views: 85

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 Launch Configuration d...
by SeeCwriter
Fri May 27, 2022 1:45 pm
Forum: NetBurner Software
Topic: Free Buffers
Replies: 4
Views: 146

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?
by SeeCwriter
Fri May 27, 2022 11:00 am
Forum: NetBurner Software
Topic: Free Buffers
Replies: 4
Views: 146

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?
by SeeCwriter
Tue May 24, 2022 2:38 pm
Forum: NetBurner Software
Topic: Getting CPU statistics
Replies: 10
Views: 339

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...
by SeeCwriter
Tue May 24, 2022 9:44 am
Forum: NetBurner Software
Topic: Getting CPU statistics
Replies: 10
Views: 339

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...
by SeeCwriter
Fri May 20, 2022 3:29 pm
Forum: NetBurner Software
Topic: Getting CPU statistics
Replies: 10
Views: 339

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...
by SeeCwriter
Fri May 20, 2022 8:22 am
Forum: NetBurner Software
Topic: Getting CPU statistics
Replies: 10
Views: 339

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 ...
by SeeCwriter
Thu Mar 10, 2022 10:47 am
Forum: NetBurner Software
Topic: EthernetIP not declared
Replies: 4
Views: 500

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()).
by SeeCwriter
Wed Mar 09, 2022 9:13 am
Forum: NetBurner Software
Topic: Port scan issue
Replies: 6
Views: 703

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.