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

Interfacing LPC2148 with visual studio

I have development board of LPC2148
can anyone give me an example of UART communication for the same using visual studio 2008.
Since the project is based on image processing I just need to the transfer those values to Embedded kit from visual studio.

So please if anyone has the example of let say "HELLO WORLD" also it would be a gerat help to me.

Parents
  • Why do you think your Visual Studio 2008 project needs to know what processor you have on the embedded board? All you have to agree on is what baudrate to use, number of bits, stop bits, any paritiy. Then it's standard serial communication.

    So you are way better off finding Visual Studio 2008 sample code on a Microsoft-oriented board or going through the MSDN samples.

Reply
  • Why do you think your Visual Studio 2008 project needs to know what processor you have on the embedded board? All you have to agree on is what baudrate to use, number of bits, stop bits, any paritiy. Then it's standard serial communication.

    So you are way better off finding Visual Studio 2008 sample code on a Microsoft-oriented board or going through the MSDN samples.

Children
  • I have already done some literature survey on it , for how to use UART using visual studio but it was to complex to understand. It uses some windows API for the same thats why I needed an example which can expplain me in detail abotu the function. I thought keil team will be able to help me.

    Because on there forum when I posted the same thread they asked me to take help from keil team.

  • This forum is for Keil end users. No "Keil team" here. Official Keil support is available (intended for customers, and intended for Keil-related problems) using the official help channels. They are quite easy to locate on this web page, if you look.

    But why would the "Keil team" supply you with information on Windows API? Microsoft have all the API documentation available online on their web site. Have you visited msdn.microsoft.com?

    There you will find function descriptions like:
    msdn.microsoft.com/.../aa365430(VS.85).aspx

    Other users of the Keil tools (you know, we - the end users) can help discuss the embedded side of the problem. But you should only have been able to find "hello world" applications for the LPC2148.

    Serial communication for the Windows side is definitely not a Keil thing. If any Microsoft or Windows forum gave you the recommendation to visit Keil, then it must be because you gave them the impression that you wanted sample code for the microcontroller side.

  • Well of course it does!

    Obviously, anything that runs on a Windows platform is going to have to use the Windows API(s) to access the features of that platform!

    Similarly, if you were using a Linux platform, you'd need to use the appropriate Linux API(s).

    "UART using visual studio but it was to complex to understand"

    You should not think about using the UART - you should think, instead, about using a COM Port...

    Note that there are various 3rd-party libraries available to help with COM port handling on Windows...

    "Because on there forum when I posted..."

    How about giving a link to that post, then?