Search found 544 matches

by SeeCwriter
Wed Jan 05, 2011 4:28 pm
Forum: NetBurner Software
Topic: Accepting Ethernet Connections
Replies: 2
Views: 2334

Accepting Ethernet Connections

The accept() function is a blocking function. Is there a non-blocking function I can use to accept an ethernet connection?

steve
by SeeCwriter
Tue Dec 21, 2010 2:09 pm
Forum: NetBurner Software
Topic: Cumulative Processor Time
Replies: 6
Views: 3229

Cumulative Processor Time

From Libc.pdf page 141: 6.2 clock--cumulative processor time Synopsis #include <time.h> clock_t clock(void); Description Calculates the best available approximation of the cumulative amount of time used by your program since it started. To convert the result into seconds, divide by the macro CLOCKS_...
by SeeCwriter
Wed Dec 15, 2010 9:19 am
Forum: NetBurner Software
Topic: LAN connection
Replies: 1
Views: 1538

LAN connection

Is there a way to determine if the ethernet port on a NB module has been connected to a LAN? And conversely, a way to detect when the cable has been unplugged?

Steve
by SeeCwriter
Wed Nov 03, 2010 9:55 am
Forum: NetBurner Software
Topic: Math library
Replies: 4
Views: 2415

Re: Math library

Adding libm did nothing to help. However, I found a Math.h file in the include-fixed directory, and when I use that, I get a clean compile. I also found the libm.pdf file you mentioned before as the documentation.

Thanks for the help.
Steve
by SeeCwriter
Wed Nov 03, 2010 9:23 am
Forum: NetBurner Software
Topic: Math library
Replies: 4
Views: 2415

Re: Math library

Thank you. Besides the obvious question of why is this not is any of the NB documentation, when I add math-68881.h I get a bunch of errors about "impossible asm construction" for the log function. Any ideas on what that is all about?

Steve
by SeeCwriter
Wed Nov 03, 2010 8:55 am
Forum: NetBurner Software
Topic: Math library
Replies: 4
Views: 2415

Math library

I am unable to find a math library. Please tell me there is one and I'm just too blind to see it. Then tell where to find it.

Thank you,
Steve
by SeeCwriter
Wed Oct 20, 2010 4:21 pm
Forum: NetBurner Software
Topic: SPI Chip Selects
Replies: 6
Views: 4592

Re: SPI Chip Selects

Thank you for that reply. That was very helpful and I'm sure saved us many hours of debugging.
by SeeCwriter
Wed Oct 20, 2010 2:30 pm
Forum: NetBurner Software
Topic: SPI Chip Selects
Replies: 6
Views: 4592

SPI Chip Selects

I'm looking at the PinIO class for the MOD5234, and there are no definitions for SPI_CS2 and SPI_CS3. Yet the CPU reference manual says there are 4 SPI chip selects available for its QSPI bus. Are the two upper chip selects not available for use on the MOD5234 module?

Steve
by SeeCwriter
Mon Oct 18, 2010 9:25 am
Forum: NetBurner Hardware
Topic: Adding memory
Replies: 3
Views: 2452

Re: Adding memory

I have looked at the docs, and it appears to me that the MOD5234 brings a 16-bit address bus, and a 32-bit data bus offboard. I don't see how I can address 2MB of offboard ram with a 16-bit address bus. But maybe I'm missing something.
by SeeCwriter
Fri Oct 15, 2010 4:33 pm
Forum: NetBurner Hardware
Topic: Adding memory
Replies: 3
Views: 2452

Adding memory

I want to add 2MB of external battery-backed ram to my motherboard. Can I do that with the MOD5234? It looks like there is only I/O access offboard.

Steve