Page 1 of 1
SB70LC Factory App
Posted: Tue Jul 19, 2011 1:56 pm
by joepasquariello
Hello,
I'm trying to restore an SB70LC to the factory application. The project "examples/SB70LC/SB70LCApp" is not the same application (different web pages, options, and behavior). Is the factory application available somewhere?
Thanks,
Joe
Re: SB70LC Factory App
Posted: Tue Jul 19, 2011 3:44 pm
by rnixon
Hi Joe,
The factory images for most of the products are on the resources page. Here's a link:
http://www.netburner.com/resources/
If you want to use that application as an example and build it, you need the ssl software.
Re: SB70LC Factory App
Posted: Tue Jul 19, 2011 4:19 pm
by joepasquariello
Thanks. I didn't know that. I thought every development kit included the source for the factory application.
Maybe you can help me with another question. The factory app in the SBL2E evaluation kit is a 2-port ethernet-to-serial converter. In my testing, with a loopback connector on both of the 232 connectors, the throughput is for that application is 80-90 packets per second per serial port. With the SB70LC factory app and the MOD5234 factory app (with approximately the same configuration), the throughput is about 5 packets per second per serial port. Is the source for the SBL2E factory app available to use as a starting point, and do you know why the others are so much slower?
Joe
Re: SB70LC Factory App
Posted: Tue Jul 19, 2011 4:50 pm
by rnixon
joepasquariello wrote:Thanks. I didn't know that. I thought every development kit included the source for the factory application.
I think thats true, but the ssl factory example comes with the ssl software.
joepasquariello wrote:
Maybe you can help me with another question. The factory app in the SBL2E evaluation kit is a 2-port ethernet-to-serial converter. In my testing, with a loopback connector on both of the 232 connectors, the throughput is for that application is 80-90 packets per second per serial port. With the SB70LC factory app and the MOD5234 factory app (with approximately the same configuration), the throughput is about 5 packets per second per serial port. Is the source for the SBL2E factory app available to use as a starting point, and do you know why the others are so much slower?
Joe
No idea there. But I would check with their support directly. There is no reason the platforms should not be able to get the same speeds, in fact, I would expect the SB70LC and MOD5234 to be faster since the processors are faster, but maybe I'm missing something. Also, saying "packet" could be misleading because a packet can contain any number of bytes of data. A lot can depend on the application as well. If you want to test that way you should write a simple program on those other platforms that just does your loopback and go from there. I do know the network stacks are different for the SBL2e vs. anything else, so the code example might not be that useful.
Re: SB70LC Factory App
Posted: Wed Jul 20, 2011 6:10 am
by joepasquariello
Thanks again. I've got loopback connectors on the 232 ports, so the test can use the factory apps. I use a test application on the PC that connects via TCP and sends packets with a configurable number of bytes. The numbers I quoted were for 32 bytes of data per packet. The SBL2E application does process fewer packets as they get longer. The SB70LC will eventually get a little slower than 5 per second if the packets are very large.
Re: SB70LC Factory App
Posted: Wed Jul 20, 2011 10:03 am
by rnixon
What baud rate are you running at for the serial ports?
Re: SB70LC Factory App
Posted: Wed Jul 20, 2011 10:13 am
by joepasquariello
57600