Search found 1088 matches

by pbreed
Wed Oct 23, 2024 9:24 am
Forum: NetBurner Software
Topic: modbus rtu on MODM7AE70
Replies: 3
Views: 1376

Re: modbus rtu on MODM7AE70

Realize the call back is at interrupt scope. So the things you can do there are really limited. No calls to any RTOS functions, no delays, none of the nice timer interfaces. You basically can only stuff things in fifios and wake up tasks with post functions... Read the interrupt section in the progr...
by pbreed
Mon Aug 26, 2024 2:44 pm
Forum: NetBurner Hardware
Topic: MODM7AE70 ADC VREF pin
Replies: 7
Views: 11743

Re: MODM7AE70 ADC VREF pin

Callbacks... the callbacks for the MOPdM7 are slightly different than the serial callbacks for the earlier netburner devices. #include <serinternal.h> void MyPutChar( int num, uint8_t c ) {//Num is port number } int MyGetChar( int num ) { return -1; if nothing to send. } UartData[portnum].m_pGetChar...
by pbreed
Mon Jul 08, 2024 12:06 pm
Forum: NetBurner Software
Topic: Using TFTP
Replies: 6
Views: 7121

Re: Using TFTP

Done, submit a support request to get the code.
by pbreed
Wed Jul 03, 2024 10:24 am
Forum: NetBurner Software
Topic: Using TFTP
Replies: 6
Views: 7121

Re: Using TFTP

Would this work for you:

TFTP_Server MyServer(port_num);

//Now add files to the server....
TFTP_Server_File(MyServer,"Filename.dat", pFileData, file_len);
TFTP_Server_File(MyServer,"Filename2.dat", pFileData2, file_len2);
*
*
*
etc for as many files as you want to serve.
by pbreed
Mon Jul 01, 2024 12:42 pm
Forum: NetBurner Software
Topic: Using TFTP
Replies: 6
Views: 7121

Re: Using TFTP

I'll try and get this working this week...
by pbreed
Fri Jun 28, 2024 11:14 am
Forum: NetBurner Software
Topic: Using TFTP
Replies: 6
Views: 7121

Re: Using TFTP

Server sourcing files or receiving files? Where are the files the server is getting/sending coming from? Programmatically generated/consumed? To/From SDRAM? Device Flash. Device Flash file system external SD Fat file system? TFTP is a really simple protocol would not be hard to do, please be specifi...
by pbreed
Thu Jun 06, 2024 3:23 pm
Forum: NetBurner Hardware
Topic: MODM7AE70 ADC VREF pin
Replies: 7
Views: 11743

Re: MODM7AE70 ADC VREF pin

Have not tried this.
I don't think your using the A/D so messing up Vref should be fine.
Looking at the data sheet I could find a minimum operational vvalue of 1.7V, but could not find anything on vref in the datasheet maximum table.

I think it should be fine.
by pbreed
Sun Mar 31, 2024 9:51 am
Forum: NetBurner Software
Topic: Getting CPU statistics
Replies: 14
Views: 14407

Re: Getting CPU statistics

This is some kind of tick overflow...
IE at 20 ticks per second the high bit of Timetick happens in : 3.4 years
by pbreed
Fri Feb 02, 2024 11:18 am
Forum: NetBurner Hardware
Topic: NetBurner with gigabit LAN-Interface
Replies: 15
Views: 20481

Re: NetBurner with gigabit LAN-Interface

First beta batch were built, alas there was a part bom error and they are back at production getting parts swapped...|
So engineering probably has 2 to 4 weeks before we know they are good for beta.
Contact Sales about Beta availiblity...
by pbreed
Fri Feb 02, 2024 11:15 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 14660

Re: File descriptor on read becoming invalid.

First a general nit pick... when you close the connection, set fdnet =-1 not 0. 0 is stdout.... Now when you do a read given teh code you are showing I don't see a valid path to get a -2 return on that read. You should only get a -2 if the TCP socket has already been closed or has not completed nego...