I saw reference to the existence of a TCP/IP example for the Keil MCB-STR9 board, but can't find any content. With the eval 2K limitation you can't compile, but we could download the flash and demo some protocols like http or something.
Anyone know how to find the sample TCP/IP project?
David:
Did you take a look at the following?:
http://www.keil.com/download/docs/318.asp
-=Rich=-
Works great! Thanks.
Is there a way to get this to work with a crossover cable directly to my laptop?
I can see the board when it's attached with crossover, but cannot change any LEDs or LCD display
I don't have nearly as much experience with Ethernet (or even networking) as I would like but I were in the same shoes (I will soon be because I have an MCBSTR9 board as well and the thing is kicking my butt!), then I would look into the DHCP end of things.
It might be possible that when your laptop and MCBSTR9 board are on the same network (MCBSTR-9 not connected directly with a crossover cable) then the IP for your MCBSTR9 is provided by the DHCP server in your network. When you remove the two systems from the network, the laptop no longer knows the IP to send data to. Of course, I'm not sure why you'd still be able to see the web page being served up.
So....I'd guess I would try to hard code the IP address into the MCBSTR9 or I would set up your laptop as a DHCP server.
Or....I could be absolutely full of crap and you shouldn't listen to me when it comes to networking!
Maybe we'll get lucky and my wildass guess was right...
Hey, while I've got your attention:
We're both trying to develop apps for the MCBSTR9 board and I'm guessing that you may have found the information available on the board/chip to be lacking like I have. What say we do some informal collaboration? I could sure use some help getting one or any of my UARTs to work...do you have a sample you would be willing to share?
Best Regards,
This appnote should help: http://www.keil.com/appnotes/docs/apnt_192.asp
It is not finished yet, but a good starting point.
I think you are exactly right. I don't know how to make the laptop provide the DHCP service, or act as a server. Once the IP address is issued to the MCBSTR9 board, I can disconnect the network and it will still work.
So maybe hard-coding the IP address would work, or running some sort of "server" emulator code on the laptop. But it all just might be too much trouble. I'll read the TCP/IP appnote and maybe it will offer some answers.
I can't view the file. Can you post a text version or not "compiled" html?
Reinhard:
The compiled html document has all its internal links broken. Other than a table of contents, there is nothing else there.
This link here might be able to solve your DHCP problems:
ruttkamp.gmxhome.de/.../dhcpsrv.htm
Regards, - mike