Search found 22 matches

by KE5FX
Sun May 09, 2021 10:21 pm
Forum: NetBurner Hardware
Topic: SBL2e fragmented receive data
Replies: 19
Views: 13200

Re: SBL2e fragmented receive data

Not an NB employee, and I just skimmed the thread, but: TCP_NODELAY is almost certainly your problem (or rather the lack of it.) Everybody who ever does anything with TCP/IP has to learn this lesson the hard way, it seems. :( To blame the right person, you need a time machine . Don't forget your gun...
by KE5FX
Mon Jul 27, 2020 7:21 pm
Forum: NetBurner Software
Topic: MODM7AE70: How to set up as SPI slave?
Replies: 3
Views: 2545

Re: MODM7AE70: How to set up as SPI slave?

Yes, MODM7AE70 on the carrier board. Just as an exercise, can you try to run the QuadSPIModule demo with P2[43] jumpered to P2[47] and verify that typed characters are echoed back? I'm using the USB connection provided by the carrier board, whichever UART that is. (Not urgent, as I've already switch...
by KE5FX
Mon Jul 27, 2020 5:49 am
Forum: NetBurner Software
Topic: MODM7AE70: How to set up as SPI slave?
Replies: 3
Views: 2545

MODM7AE70: How to set up as SPI slave?

A few questions -- 1) What's the difference between DSPIModule, QSPIModule, and plain old SPIModule? This is never really articulated in any docs or examples as far as I can tell. Yes, the nominal difference is the number of data lines that can be used, but the examples all seem to use only one data...
by KE5FX
Sat Apr 18, 2020 1:30 am
Forum: NetBurner Software
Topic: MOD5213 iprintf() error for UL and ULL types?
Replies: 21
Views: 17540

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

Thanks, Paul, looks good now. I just added case 'G': and let it fall through to the 'g' case.
by KE5FX
Thu Apr 16, 2020 3:24 pm
Forum: NetBurner Software
Topic: MOD5213 iprintf() error for UL and ULL types?
Replies: 21
Views: 17540

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

This is a different question -- sorry, I should've probably started a new thread for it. The %G specifier is definitely broken. Please see the message right above your reply.
by KE5FX
Thu Apr 16, 2020 12:59 am
Forum: NetBurner Software
Topic: MOD5213 iprintf() error for UL and ULL types?
Replies: 21
Views: 17540

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

One more issue with printf() that actually does appear to be a real bug (no pun intended): printf("%g\n",4.25332E-14); printf("%G\n",4.25332E-14); printf("%g\n",4.25332); printf("%G\n",4.25332); printf("%g\n",-4.25332E-14); printf("%G\n",-4...
by KE5FX
Sat Apr 04, 2020 5:37 pm
Forum: NetBurner Software
Topic: thread safe and non-blocking log function
Replies: 6
Views: 4703

Re: thread safe and non-blocking log function

Hmm, OK, got it, I think. My impression (and experience so far) is that if a given task doesn't explicitly yield by pending on something (possibly via printf or some other function that itself will wait for a resource to become available), nothing other than interrupts will run, ever. Then, as soon ...
by KE5FX
Sat Apr 04, 2020 2:23 pm
Forum: NetBurner Software
Topic: thread safe and non-blocking log function
Replies: 6
Views: 4703

Re: thread safe and non-blocking log function

pbreed wrote: Wed Apr 01, 2020 10:20 am If A higher priority task interupts the printf....
That leads to another question -- under what conditions could another task interrupt a printf() call?

The OS never performs preemptive task switching, correct?
by KE5FX
Thu Mar 26, 2020 1:39 pm
Forum: NetBurner Software
Topic: Why use -mfloat-abi=softfp on MODM7AE70?
Replies: 4
Views: 5559

Re: Why use -mfloat-abi=softfp on MODM7AE70?

The problem I always run into with documenting these things is that I know too much. I'm the person who designs those linker files these days after all! For things that are not 'driver' or 'software library' related, the question is always how to collect the information in a way that is accessible ...
by KE5FX
Wed Mar 25, 2020 5:47 pm
Forum: NetBurner Software
Topic: Why use -mfloat-abi=softfp on MODM7AE70?
Replies: 4
Views: 5559

Re: Why use -mfloat-abi=softfp on MODM7AE70?

Good to know, Dan -- thanks again for your help. FAST_USER_VAR bought me a 7x speedup. You guys might consider documenting this stuff. Now that I know what to Google for, I see a helpful blog entry from a couple of years ago, and there's a 2008-era NNDK Programming Guide .PDF floating around that ta...