Search found 10 matches

by rob18767
Mon Feb 05, 2024 9:58 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 13863

Re: File descriptor on read becoming invalid.

Hi my bad

We found that we can run most commands and we tested a command that save values to non volatile memory. This seems to be the problem.

Apologies for any time wasted.

Thank you.
by rob18767
Fri Feb 02, 2024 11:08 am
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 13863

Re: File descriptor on read becoming invalid.

TomNB wrote: Fri Feb 02, 2024 10:12 am Hello,

Tools revision and platform?
NNDK 2.7.7 and MOD5270B.
by rob18767
Thu Feb 01, 2024 1:27 pm
Forum: NetBurner's Eclipse IDE
Topic: File descriptor on read becoming invalid.
Replies: 6
Views: 13863

File descriptor on read becoming invalid.

I am using code very similar to the following code. /** @file main.cpp @brief NetBurner Simple TCP/IP Server Example This program will create a TCP server task, which listens on port 23 by default. To test the application you can use Telnet. For example, from a windows commpan prompt, type `telent <...
by rob18767
Wed Apr 29, 2020 9:53 am
Forum: NetBurner Software
Topic: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts
Replies: 7
Views: 5037

Re: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts

The answer to my question is yes the ISL12026 RTC will work with the rtc.h netburner library.

*edit - Albeit unreliably. Sometimes the RTCSetTime works and sometimes it does not.
by rob18767
Wed Apr 29, 2020 6:13 am
Forum: NetBurner Software
Topic: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts
Replies: 7
Views: 5037

Re: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts

I should have clarified. We have two different PCBs to which MOD5270s are attached. I was given charge of maintaining the software for one PCB. It was pointed out to me that on the board I was maintaining the software for that the RTC could not be set. The board has an ISL12026 connected to the I2C ...
by rob18767
Tue Apr 28, 2020 11:18 am
Forum: NetBurner Software
Topic: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts
Replies: 7
Views: 5037

Re: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts

Ah okay. Thank you Tom.

Another question. I am confused.

With the ISL12026 work with the Netburner runtime i2c libraries on the MOD5270?
by rob18767
Tue Apr 28, 2020 5:29 am
Forum: NetBurner Software
Topic: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts
Replies: 7
Views: 5037

Re: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts

I got to the StandardStack directory and there is no I2C directory. In order to potentially save time I did do this. for( int x =0; x<128; x++) { I2CInit(); if( I2CStart( x, I2C_START_READ ) < I2C_TIMEOUT ) iprintf("We have a %X on the bus\r\n", x ); I2CStop(); } To which I received back: ...
by rob18767
Mon Apr 27, 2020 11:36 am
Forum: NetBurner Software
Topic: MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts
Replies: 7
Views: 5037

MOD5270 I2C Problem with ISL12026 RTC and I2C timeouts

I am using a MOD5270 on a board with an ISL12026 RTC connected to the I2C bus. After I2CInit then execute the following code. uint8_t data[4]; int ret; if( I2CStart( 0x6F, I2C_START_WRITE) < I2C_TIMEOUT ) iprintf("We have a %X on the bus write\r\n", 0x6f ); else { iprintf("Fail start ...
by rob18767
Wed Mar 25, 2020 11:28 am
Forum: NetBurner Software
Topic: OSTimeDly() from NBEclipse ver 2.7.1 to 2.7.7
Replies: 2
Views: 2495

Re: OSTimeDly() from NBEclipse ver 2.7.1 to 2.7.7

A "background" task was running with to high a priority and that was the issue.
by rob18767
Fri Mar 20, 2020 1:12 pm
Forum: NetBurner Software
Topic: OSTimeDly() from NBEclipse ver 2.7.1 to 2.7.7
Replies: 2
Views: 2495

OSTimeDly() from NBEclipse ver 2.7.1 to 2.7.7

I have managed to compile code that was last compiled in NBEclipse 2.7.1 in version 2.7.7. In an OS task I have the line OSTimeDly(60); I this causes the thread to hang (the code cannot get past this point). Any idea why? There is also a forever loop in main while (true) { //OSDumpTCBStacks(); // du...