Search found 67 matches

by DBrunermer
Wed Nov 14, 2018 6:54 pm
Forum: NetBurner Software
Topic: TCP v2.4.2 and 2.7.7 differences (MOD5272)
Replies: 7
Views: 3417

Re: TCP v2.4.2 and 2.7.7 differences (MOD5272)

Sulli, I agree that prioritization is part of the problem. Really, I feel like the PC simply isn't listening to the flow controls. Let me just share some of the code, and you'll see exactly what I mean, Tom. // On Port 23, commands are received as ASCII text, in this case something like "RM,0<c...
by DBrunermer
Tue Nov 13, 2018 7:21 pm
Forum: NetBurner Software
Topic: TCP v2.4.2 and 2.7.7 differences (MOD5272)
Replies: 7
Views: 3417

Re: TCP v2.4.2 and 2.7.7 differences (MOD5272)

OK, say I did a quick calculation like int max_size = 6291456 - ((int)writeAddr - (int)&b_Memory[0]) and passed that in as the value for nbytes? Would it just never come back? Or would it still dump when the PC closes the port? And if it came back that way, would I still get a positive value for...
by DBrunermer
Tue Nov 13, 2018 6:20 pm
Forum: NetBurner Software
Topic: TCP v2.4.2 and 2.7.7 differences (MOD5272)
Replies: 7
Views: 3417

Re: TCP v2.4.2 and 2.7.7 differences (MOD5272)

Losing data isn't exactly what's happening, and that's not how I would characterize it. There's almost certainly a better way to do what I'm doing that probably involves a semaphore or something else I don't really know how to use. Maybe you can give me a better idea. Basically, the box processes co...
by DBrunermer
Mon Nov 12, 2018 7:35 pm
Forum: NetBurner Software
Topic: TCP v2.4.2 and 2.7.7 differences (MOD5272)
Replies: 7
Views: 3417

Re: TCP v2.4.2 and 2.7.7 differences (MOD5272)

I've been trying to dig a little deeper into the code, specifically tcp.cpp for both versions. OK, they're so different as to be nearly incomparable. I have no idea what all the SACK stuff is doing, or what it's about. I would expect that when everything's running well none of that code ever execute...
by DBrunermer
Sat Nov 10, 2018 11:14 am
Forum: NetBurner Software
Topic: TCP v2.4.2 and 2.7.7 differences (MOD5272)
Replies: 7
Views: 3417

TCP v2.4.2 and 2.7.7 differences (MOD5272)

Hi, I'm having a problem with some code that I run on a MOD5272. It has to do with receiving data on the ethernet port. When I compile the software in v2.4.2, it executes properly. When I compile the same code in v2.7.7, it doesn't handle incoming data properly. After extensive testing with WireShar...
by DBrunermer
Wed Oct 03, 2018 9:02 am
Forum: NetBurner Hardware
Topic: MOD54415 / M12 Ethernet Conn
Replies: 4
Views: 3833

Re: MOD54415 / M12 Ethernet Conn

Don't know why the pictures came out wrong, but I think you get the idea. - Dan
by DBrunermer
Wed Oct 03, 2018 8:58 am
Forum: NetBurner Hardware
Topic: MOD54415 / M12 Ethernet Conn
Replies: 4
Views: 3833

Re: MOD54415 / M12 Ethernet Conn

Just in case anyone's following along, this totally works! I had the schematic wrong for M12-Ethernet. 1-3 is TX+/-, 2-4 is RX+/-. I used these parts: 1 - Magnetics - Abracon LLC # ALAN-101-T (Digikey 535-13501-1-ND) 2 - M12-4 D Conn - NorComp Inc # 861-D04-213R004 (Digikey NOR1818-ND) Some schemati...
by DBrunermer
Thu Sep 20, 2018 6:41 pm
Forum: Off-Topic
Topic: EtherCAT
Replies: 0
Views: 5754

EtherCAT

Has anyone out there ever tried to implement EtherCAT on any of these devices? Asking for a friend... - Dan
by DBrunermer
Fri Apr 27, 2018 6:27 pm
Forum: NetBurner Hardware
Topic: MOD54415 / M12 Ethernet Conn
Replies: 4
Views: 3833

Re: MOD54415 / M12 Ethernet Conn

pbreed - Thank you so much for the clear and concise explanation. But I'm sorry, if I could ask one follow up. Should I ground pin 7? - Dan B.

in case anyone is curious, that connector is not the right one for M12 Ind. Enet. You need something more like Conec #43-01223
by DBrunermer
Sat Apr 21, 2018 9:48 pm
Forum: NetBurner Hardware
Topic: Network connector specification
Replies: 4
Views: 4342

Re: Network connector specification

I think this link might be broken, or the document isn't properly encoded. I keep getting errors. - Dan B.