Search found 24 matches

by lslarry86
Fri Nov 24, 2023 1:03 pm
Forum: NetBurner Hardware
Topic: uCos task for polled I/O, reasonable speed expectations?
Replies: 2
Views: 751

uCos task for polled I/O, reasonable speed expectations?

I have a "legacy" system (2017+) running on 5441x and NetBurner 2.8. It polls J2.10 for a trigger and sends a line from a CSV file out the serial port when the trigger is detected. Embedded webserver, ftp server, and SD card code are all straight from examples. This has worked for several ...
by lslarry86
Fri Apr 24, 2020 11:46 am
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 2614

Re: False "Out of memory" on 5441x

> Why are you are using openssl rather than the Netburner SSL implementation? I needed ECDSA for a project, which is not provided by NB, and decided to go all the way and port openssl to NB. That decision enabled the current project to quickly bring in standard des, 3des and MAC libraries. The memor...
by lslarry86
Fri Apr 24, 2020 6:35 am
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 2614

Re: False "Out of memory" on 5441x

That's good info. My application uses opensll as a library, so some dynamic allocation may be in play. But this happens right after boot, before any openssl lib functions are called. Based on what you wrote, I rebooted to the boot loader and then sent the factory test image from the IDE. Back in bus...
by lslarry86
Fri Apr 24, 2020 4:55 am
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 2614

False "Out of memory" on 5441x

Yesterday I was running along developing on my 5441x system, IDE 2.8.7, and I started getting false "Out of Memory" errors on code load. The first time it happened, I was going from a Run build to a Debug session with no source changes. My build uses less than 5% of memory, see screenshot....
by lslarry86
Mon Jan 13, 2020 12:48 pm
Forum: NetBurner Software
Topic: OSDumpTask and OSDumpTCBStacks in 5441x
Replies: 3
Views: 1903

Re: OSDumpTask and OSDumpTCBStacks in 5441x

Hi Tom, I can see the declared stack sizes, and have changed a bunch of on-stack arrays to static. None were bigger than 64 bytes. I suppose I could declare a new task with a nice big stack for all my UserMain stuff. But this is supposed to be a high reliability system. Now that I think I have seen ...
by lslarry86
Fri Jan 10, 2020 8:29 am
Forum: NetBurner Software
Topic: OSDumpTask and OSDumpTCBStacks in 5441x
Replies: 3
Views: 1903

OSDumpTask and OSDumpTCBStacks in 5441x

I suspect I am running low on stack space in a Mod5441x project, and need some help accessing OSDumpTasks and OSDumpTCBStacks. They are not in C:\nburn\lib\MOD5441x.a or DBMOD5441x.a (filesinspected with emacs). The declarations in my ucos.h are grayed out, looks like UCOS_STACKCHECK is not defined....
by lslarry86
Mon Oct 29, 2018 12:18 pm
Forum: NetBurner Software
Topic: IP range vs Port Numbers (weird)
Replies: 1
Views: 1576

Re: IP range vs Port Numbers (weird)

Followup: it turns out that my customer's code, written for Winsock, is the source of the problem. hostInfo = gethostbyaddr((char *)&addr,4,AF_INET); // NULL at 168! if ( hostInfo==NULL) return(42); hostinfo is always NULL - UNLESS the whole system is set up for 192.192.192.xxx! Then it works. S...
by lslarry86
Mon Oct 29, 2018 11:07 am
Forum: NetBurner Software
Topic: IP range vs Port Numbers (weird)
Replies: 1
Views: 1576

IP range vs Port Numbers (weird)

Does anyone reading this know about IP range dependencies on TCP socket behavior? It seems like the kind of thing that shouldn't happen. I'm working with MOD54417 (dual ethernet). NB IDE is 2.8.2. My customer wants to connect as a TCP client to eth1, on port 10033. They use two address ranges, 192.1...
by lslarry86
Fri Aug 10, 2018 5:01 am
Forum: NetBurner Software
Topic: SHA1 vs SHA256
Replies: 5
Views: 2954

Re: SHA1 vs SHA256

Also, you will need the 2.8.7 release for that entire list. I guess so, since none of the Cipher names appear anywhere in my 2.8.2: Larry@GLPC_02Dec2013 /cygdrive/c/nburn $ /bin/find | xargs grep TLS_ 2>/dev/null ./examples/StandardStack/BoardLock/checklock/main.cpp:#ifdef SSL_TLS_SUPPORT ./example...
by lslarry86
Thu Aug 09, 2018 1:22 pm
Forum: NetBurner Software
Topic: SHA1 vs SHA256
Replies: 5
Views: 2954

Re: SHA1 vs SHA256

That might work. How do I use these ciphers? I don't see them in any manuals or header files.

Code: Select all

Larry@GLPC_02Dec2013 /cygdrive/c/nburn
$ /bin/find -name "*.h" | grep TLS_DHE_RSA_WITH_AES_128_CBC_SHA256

Larry@GLPC_02Dec2013 /cygdrive/c/nburn
$