Page 1 of 1

SBL2e XA Development Kit missing header files

Posted: Mon Jan 05, 2015 11:55 am
by nsclfrib
I seem to have some header files missing from the 2.6.7 revision of the software I downloaded.

I can't seem to find the udp.h, ip.h, or command.h files anywhere. I also don't seem to have a \Nburn\include directory anywhere. I have a \NBurn\include+sc and a \Nburn\SBL2EXA/include, but neither of them have those files.

Later-

David

Re: SBL2e XA Development Kit missing header files

Posted: Mon Jan 05, 2015 11:57 am
by nsclfrib
Take it back, I found ip.h, but I don't have command.h, nor udp.h anywhere.

Re: SBL2e XA Development Kit missing header files

Posted: Mon Jan 05, 2015 4:04 pm
by pbreed
The SBL2E has a 100% different IP stack than the normal netburner NNDK.
All of the SBL2E headers are in the include_sc directory.

The SBL2E is much more limited, unless you are shipping more than 10K units or value your time
at 0, one of the oether modules will probably be a better choice.

If you were expecting to port an existing N etburner App to the SBL2E... that is not easy or trivial.

Tell me a little bit bout the app you are trying to write for the SBL2E?

Re: SBL2e XA Development Kit missing header files

Posted: Mon Jan 05, 2015 4:06 pm
by pbreed
Read the SBL2E programmers manual its DIFFERNT than the normal system.

Re: SBL2e XA Development Kit missing header files

Posted: Tue Jan 06, 2015 5:41 am
by nsclfrib
Problem I have with using another module is the packaging. The SBL2E is in a nice little package, that I can pack inside our instrumentation racks adjacent to the controller.

I'm using the SBL2E to interface to a set of I2C power supply units, that are installed in a particle accelerator.

I've got the I2C interface working well now (PS manufacturer didn't include full data in their datasheets), and I have no problem interfacing to them.

I have a webpage interface built (no easy task, considering the limited memory), and a serial interface, and I'm working on a telnet interface (which is how our control system needs to access the information).

From reading the manual, it seemed that using the Command Processor would have been the easiest way to do this, but if it isn't available, I'll write something on my own.

Looking at the runtime library manual in the SBL2E directory inside /NBurn/doc, it includes the command processor documentation, along with a number of other functions that apparently don't exist.

Later-

David

Re: SBL2e XA Development Kit missing header files

Posted: Tue Jan 06, 2015 9:06 am
by dciliske
Ok, this is a novel use for the L2E... Can't say I've heard of anyone using our stuff in a particle accelerator before.

I'm not too familiar with what is or isn't in the L2E and any issues that may be present in the docs, so I'll let Paul weigh back in on that...

-Dan

Re: SBL2e XA Development Kit missing header files

Posted: Tue Jan 06, 2015 9:43 am
by pbreed
Take a look at :
C:\nburn\docs\SBL2eProgrammersGuide\SBL2e Programmers Guide.pdf