Hello, I want communicate with my lpc2368 by the Ethernet port using an application whose create with visual basic. It is possible ? How ?
Thanks,
Mickael
Did you start your day by asking this question, or have you spent some time thinking about this problem before you asked the qeustion?
Do you believe that the ARM chip isn't VB compatible? Or that VB can make ethernet-capable applications as long as the other side isn't based on an ARM chip?
Please come back with a bit of information why you saw a need to question the possibility of interfacing an LPC2368 with a VB program.
How to do it?
Get a TCP/IP stack for the ARM - either buy from Keil, or try using any free stack. Read through the example code for the choosen stack. Write an application.
Write a VB program that can communicate with a PC program using Ethernet.
Connect the ARM hardware to the PC and change the IP number and possibly port number in the VB program and communicate with your ARM hardware instead.
I know it is possible to establish a connection between two PCs over ethernet but with the LPC2368 I did not know.
I look all day if it were possible and I found nothing, so I wrote on the forum.
I have a TCP / IP stack ... So I can make a VB application? The PC must be configured as a server or client tcp ?
I am french, so excuse me for my bad English.
Thanks for your help,
The datasheet for the LPC2368 says it has ethernet support. That implies that it must be possible to implement a network-capable program using the LPC2368. If you implement a web server (also available with the example code for the Keil stack) then any web browser can connect to the LPC2368-based hardware and fetch web pages.
The VB application is a PC application. Your PC already have a TCP/IP stack.
It is for the ARM side you need to get a TCP/IP stack and then write an application that makes use of this stack.
You, as designer, have to decide if the PC is the client or the server. This directly follows from what type of problem you are going to solve.
When starting a project, YOU must sit down and think about what you want to solve. Then you must break this down into individual requirements. Then you can look through these requirements and try and figure out the possible problems that you must look into, before you commmit to the design.
A web forum can help when you get stuck, but YOU first have to spend time on your own.
I don't want to integrate a web server in the lpc2368 but write and read in memory of lpc2368 since my PC using a VB application and communication ethernet.
I look throughout the week on the internet but I found nothing of this subject.
As I said earlier I have already make an ethernet communications between two PCs but I was writing code on two PCs with VB. With the lpc2368 I can't write code in VB. That is why I ask is forum on how I should proceed?
Exactly what did you spend the week searching for? There are a lot of information on this forum, and the NXP forums in case you searched.
1) Get a compiler for the ARM. For example Keil or gcc. Keil is expensive and the evaluation version will not do because of the code-size limitations.
2) Get a TCP/IP stack for the ARM. For example Keil. Or search on this forum (or on the net) for suggestions about available free stacks, or free OS with included stack, for these processors. If you can't afford the Keil compiler, look for free code supported by gcc (I would guess most/all free ARM code does).
3) Collect all sample code you can for the OS/stack and read it at least twice.
4) Write application using 2 and compiled with 1.
5) Load into hardware and test.
6) Test/update repeatedly until it works.
7) Post questions to web forums if you get stuck.
View all questions in Keil forum