I have a MCB1700 board and i want to control its LEDs via pc via
TCP/ip.in order to do it i used LEDswitch program but i read the help
and it suggests to use a specific windows application for control the
LEDs via LAN cable and pc.in this case the board is a server and PC
is a client.
How can i find this windows application ?
can i use command prompt window instead of windows application?if yes
please help me how to use it.
Also please give me some help for configuring my LEDswitch program
codes on my board.
Please answer my question .I left this thread 3 days ago
So you should be familiar with some tools & techniques for
debugging IP network issues - what have you tried?
In particular, what have you done to determine whether this is a
PC issue, an IP issue, or an issue at the mcb1700 end?
Is the cable correctly wired for that?
One suspects it's not a cross-over cable.
This is generally why I use a switch or router. And in
circumstances where I want to monitor traffic I'd use an old HUB
device which reflects traffic to another box for analysis, either
just using a card in promiscuous mode, or a box running WireShark
subnet mask is used for dividing a network to two or more
Unfortunately it is clear that you know how the TCP/IP protocol
stack uses the information.
Stop playing around with things you don't understand. Set it to
what it was before. Otherwise you're likely to not see any success
even if you were to find and fix the original problem.
yes.Also i used another cable but the problem wasn't solve
i used original project code (LEDSwitch) and didn't apply any
change to it but the problem wasn't solve.
How can i send the project code to you for more considering?
"yes. Also i used another cable but the problem wasn't
Yes to what?
Perhaps you work with someone who has more Windows/IT/Networking
experience? The guys with those Microsoft Certs rather than real
Two PC/laptops connected through a switch would at least
demonstrate network functioning, at the moment you have the system
complaining TCP/IP networking doesn't work, and I haven't seen a
IPCONFIG output suggesting otherwise.
I've got dozens of "other" ethernet cables, they are mostly all
straight through as that's what people typically make/buy, I've got
another box of "special" cross-over cables that do something
Is the cable correctly wired for that? i said yes to your
question. i connect my LAN cable to two PCs and the communication was
stablished then i disconnected it from PCs and connected it to
mcb1700 and my laptop but LEDswitch.exe couldn't work and show me
But when i connect my Ethernet cable to mcb1700 and my laptop i
can run HTTPDemo project on board and can simply control the board
.Can you describe more about your own cross-over cable?
"Couldn't connect. Please check the TCP/IP setting of your PC"
But you've got source code for both ends of the transaction, can't
you refine your understanding of the problem a little bit better?
What errors/failures on the PC side would cause it to throw the
error? Can you replicate that with WINSOCK based code that performs
the equivalent function?
" i said yes to your question"
Well, you made a post that started with the word "yes" - but you
didn't indicate what specific question it was in reply to!
" i connect my LAN cable to two PCs and the communication was
But do your PCs auto-detect the connection type...?
So why not use one of them to try to connect to the MCB1700 - and
see what result you get?
Again, if you're familiar with this stuff you should be able to
think of tools and techniques for debugging this kind of problem.
What have you tried?
i set the ip for each PC and they can simply connect to each other
via LAN cable.i think PC auto detect the connection type.
i'm sure that the cable is OK.by the way what is your suggestion for
connecting my pc to mcb1700 in order to control the LEDs?
I couldn't use LEDSwitch.exe for control the LEDs with TCP and i
faced with error.
Yes Pier i have LEDSwitch.exe C++ source code but it makes me
complicated.I familiar with C# and can simply write a client server
socket program with it but when i debug LEDSwitch.exe unfortunately
can't find the problem.I haven't got any winsock app.Can you give me
an application that i can test the TCP connection between PC and
View all questions in Keil forum