This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TCP/IP Stack Apis for Dallas 390

I have the Professional Tool Kit for the C51 (8051) toolchain.

I believe the chipset we are targeting is the Dallas Semiconductor DS80C390 or I think it is called the Dallas 390 chipset. (Researching for another company, but that is what there target is in the .Uv2 file)

Is it possible for me to make TCP calls to establish an HTTP connection to an outside server.

I have looked over all the documentation and it appears there is no TCP/IP stack or API's with my tool chain. I scoured over the .h files and did not find anything.

Do I need to purchase additional libraries from an outside vendor and if so will they work with my enviornment.

The TCP api calls I am looking for are as follows: socket() connect(), write(), read(), close(), etc

Thanks so much for your help.

Parents
  • "I have looked over all the documentation and it appears there is no TCP/IP stack or API's with my tool chain."

    That is correct. What made you think that Keil C51 included a TCP/IP Stack? I don't recall seeing any such claim from Keil.

    "Do I need to purchase additional libraries from an outside vendor"

    There are various "free" ones available - so you won't necessarily need to "purchase" - but you will certainly have to obtain this from an outside vendor.

    "will they work with my enviornment"

    You would need to check that with the provider!

Reply
  • "I have looked over all the documentation and it appears there is no TCP/IP stack or API's with my tool chain."

    That is correct. What made you think that Keil C51 included a TCP/IP Stack? I don't recall seeing any such claim from Keil.

    "Do I need to purchase additional libraries from an outside vendor"

    There are various "free" ones available - so you won't necessarily need to "purchase" - but you will certainly have to obtain this from an outside vendor.

    "will they work with my enviornment"

    You would need to check that with the provider!

Children
  • Thanks everyone for posting and giving me guidance on what to try. Does anyone know of a few vendors that are free that I can try.

    My embedded experience up to date is taking companies tool chains and just adding and modifying C code, not really all that familiar with the Keil IDE yet and how to include a 3rd party vendor.

    I will say the IDE is quite intuitive and was easy to figure out.

    My previous experience was all linux command line based compiling.

    Thanks again.

  • Thanks everyone for posting and giving me guidance on what to try.

    I have received a vendor's tool chain that contains their source code. They however did not provide any documentation so I am trying to figure this out on my own.

    I am trying to modify their build to add some socket calls. Although they are not sure if it is possible, that is why I am asking the forum. It appears it is possible, just not with the standard set of libraries that come with PK1.

    Does anyone have a few links of the free vendors that I can try.

    Can someone point me to some documention that shows how to inclue a 3rd party library into my Keil tool chain to get it to compile, etc.

    Thanks again.

  • "Can someone point me to some documention that shows how to inclue a 3rd party library into my Keil tool chain to get it to compile, etc."

    Start with the uVision Getting Started Guide.

    IF it's a true Library, then you won't be compiling it - just linking to it.
    You just add the library to the Project, and uVision automatically "knows" what to do with it by its file type (if the supplier uses a non-standard file type, either rename it, or add the filetype to your project settings).