Search found 842 matches

by pbreed
Fri Apr 24, 2020 6:01 pm
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 185

Re: False "Out of memory" on 5441x

The current netburner SSL release supports ECDSA.
by pbreed
Fri Apr 24, 2020 8:33 am
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 185

Re: False "Out of memory" on 5441x

The MOD5441X has 64M of memory, so I can't imagine why its out of memory?

Whya are you are using openssl rather than the Netburner SSL implementation?
A whole lot better performance, and a lot less memory?
by pbreed
Fri Apr 24, 2020 6:00 am
Forum: NetBurner Software
Topic: False "Out of memory" on 5441x
Replies: 5
Views: 185

Re: False "Out of memory" on 5441x

The out of memory error on Load has nothing to do with staticly allocated memory. (Whets reported in the build) It has to do with memory that is malloced or newed. When you run autoupdate it attempts to malloc a buffer to hold the image. If this fails you get that error. To figure out how much free ...
by pbreed
Tue Apr 21, 2020 4:01 pm
Forum: NetBurner Software
Topic: Queues and Fifos
Replies: 8
Views: 220

Re: Queues and Fifos

Depending on how things are in the buffer system... The total storage space availible to the seriaal system varies from... (SERIAL_RX_BUFFERS-1)*1550 to (SERIAL_RX_BUFFERS)*1500 For for the default of N=2 its 1501 to 3000 N=10 =13501 to 15000 The other suggestion about not having long ISR's and USER...
by pbreed
Tue Apr 21, 2020 12:00 pm
Forum: NetBurner Software
Topic: Queues and Fifos
Replies: 8
Views: 220

Re: Queues and Fifos

There is the fifo buffer.... But if your doing this for uarts, just leave the normal open serial uart handling alone and use that as is... ir use read agains the openserial fd and be done with cooking your own... If the buffer gets overrun and you loose charactors there are two things to do... 1)Mak...
by pbreed
Fri Apr 17, 2020 2:09 pm
Forum: NetBurner Software
Topic: MOD5213 iprintf() error for UL and ULL types?
Replies: 21
Views: 4012

Re: MOD5213 iprintf() error for UL and ULL types?

For a variety of reasons, I can't check in the fix right now.... My personal Git state is in the middle of a differnt project... go to nburn\nbrtos\source\nbprintf.cpp About 571 lines after the copyright (our git repo and the code I work on has a place holder for copy right) You will find a switch s...
by pbreed
Thu Apr 16, 2020 7:06 am
Forum: NetBurner Software
Topic: How to get shorter time tick for OSTimeDly()
Replies: 4
Views: 200

Re: How to get shorter time tick for OSTimeDly()

The task switch is in usec.
If you are having task performance issues, its probably because some higher priority task is running.

The Tick interval ONLY effects the timeout, not the task switch time.
by pbreed
Thu Apr 16, 2020 5:50 am
Forum: NetBurner Software
Topic: MOD5213 iprintf() error for UL and ULL types?
Replies: 21
Views: 4012

Re: MOD5213 iprintf() error for UL and ULL types?

You have an Ld
if should be an ld.

L is the format character for a Long Double IE 128bit floating point value.
Which the NetBurner printf does not support.

for longs (32bit)
ld lu lx lX

are the correct format chars.

for 64 bit values

llu lld llx llX
by pbreed
Wed Apr 15, 2020 9:01 am
Forum: NetBurner Hardware
Topic: NANO54415 RTC issues
Replies: 6
Views: 152

Re: NANO54415 RTC issues

Also since RTC is not preserved across power cycles, the NTP time update is probably best.
The base clock should drift +/- 1.7 seconds a day
by pbreed
Wed Apr 15, 2020 9:00 am
Forum: NetBurner Hardware
Topic: NANO54415 RTC issues
Replies: 6
Views: 152

Re: NANO54415 RTC issues

Can you add a display of the variable Secs...
(Defined in #include <utils.h>

This gets zeroed everytime the board reboots....
I just want to make sure this is really an RTC issue and not a missed power glitch issue...