Wiznet / Loopback_LPC11E36_LPCXpresso

Create a repository of WIZnet NXP Example.
2 stars 3 forks source link

problem in generating the .hex file #3

Closed svnagendra2003 closed 9 years ago

svnagendra2003 commented 9 years ago

Hi,

We are trying to implement FTP server for our application and also purchased the W5500-EVB board just because it can handle the FTP server program. Once the testing is completed, we are planning to purchase huge number of W5500 chips.

Now we are stuck up with issues

As instructed in github as well as wiznetmuseum, i imported the project files into LPCXpresso. When trying to build, i am getting

Fatal error: “wizchip_conf.h” : No such file or directory

I tried to download the wizchip_conf.h from wiznet forum website. But, again it gives some other error.

I am stuck up and not able to compile. Please look into this matter at the earliest and provide the proper set of codes. Also, please provide the .hex file, which I can download on to the board directly in order to test for the FTP server.

Also, i need clarifications on the following points:

  1. Can i directly pass SPI data on SCK0, MISO0 and MOSI signals? Are there any modifications needed to the FTP server application code in order to pass the SPI data?
  2. Can i directly pass the parallel data on pins D0, D1,..D15? are there any modifications needed to the FTP server application code in order to pass the parallel data? please reply to email id: nagendra@ftdautomation.com
bingdo commented 9 years ago

Dear svnagendra2003

I guess that maybe you download project files by "Download ZIP" in a browser. If you use "Download ZIP" in a browser, there are no source files of ioLibrary. You must copy source files of ioLibrary to an ioLibrary directory on project. https://github.com/Wiznet/ioLibrary_Driver

You can use SPI0. Please refer to "spiHandler.c". D0~D15 are digital pins. You must control D0~D15 yourself to pass the parallel data.

Thanks.

bingdo commented 9 years ago

Refer to https://www.youtube.com/watch?v=mt815RBGdsA Thanks.

svnagendra2003 commented 9 years ago

Hi Bingdo,

Thanks for your email. As per your instructions, I copied the ioLibrary driver and I was able to program.

Now I am stuck up with connecting to the FTP server by using ALFTP tool.

The IP address generated after programming is : 192.168.0.91

When I enter this IP address and when I try to connect, it keeps on waiting for a long time and asks for password even though I have not entered password.

When I click OK, it tells Connection timed out error.

Please find the ppt of the screenshot attached with this email.

Please answer to this on urgent basis.

Thanks and regards,

Nagendra

From: bingdo [mailto:notifications@github.com] Sent: 30 March 2015 05:02 To: Wiznet/Loopback_LPC11E36_LPCXpresso Cc: svnagendra2003 Subject: Re: [Loopback_LPC11E36_LPCXpresso] problem in generating the .hex file (#3)

Dear svnagendra2003

I guess that maybe you download project files by "Download ZIP" in a browser. If you use "Download ZIP" in a browser, there are no source files of ioLibrary. You must copy source files of ioLibrary to an ioLibrary directory on project. https://github.com/Wiznet/ioLibrary_Driver

You can use SPI0. Please refer to "spiHandler.c". D0~D15 are digital pins. You must control D0~D15 yourself to pass the parallel data.

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Wiznet/Loopback_LPC11E36_LPCXpresso/issues/3#issuecomment-87497530 . https://github.com/notifications/beacon/ALJjJTwMZJH_9Ly585I9BvE-5kIxQ5wdks5n6IMJgaJpZM4D2RW9.gif

svnagendra2003 commented 9 years ago

Hi Bingdo,

Thanks for your email. As per your instructions, I copied the ioLibrary driver and I was able to program. Now I am stuck up with connecting to the FTP server by using ALFTP tool. The IP address generated after programming is : 192.168.0.91 When I enter this IP address and when I try to connect, it keeps on waiting for a long time and asks for password even though I have not entered password. When I click OK, it tells Connection timed out error.

Please find the ppt of the screenshot attached with this email.

image

Please answer to this on urgent basis.

Thanks and regards, Nagendra

bingdo commented 9 years ago

Could you provide IP settings of your PC to me? "ipconfig /all > ip.txt" in DOS window.

Thanks.

bingdo commented 9 years ago

Please check IP range of your PC. (FTP Client) Is it 192.168.0.xxx?

Thanks.

svnagendra2003 commented 9 years ago

Hi, My PC IP is 192.168.0.94

svnagendra2003 commented 9 years ago

Hi..

Now it is working fine. I had to change my PCs IP address Thanks for the help

svnagendra2003 commented 9 years ago

Hi, I was able to connect to the FTP server now. But in the server, the default directory is shown as / and a folder inside the directory by name $Recycle.bin directory. I am not able to write any new files on to the server. If i select files and if i upload the files to the server, in the Terminal i get the message as file transfer successful, but i cannot find any of the files in the / directory of the server. please let us know what is the issue and the proper solution. I am going to connect the SPI related signals like SCK0, MISO0 and MOSI0. I am also interested to know how will the data appear through FTP. Please reply.

From: bingdo [mailto:notifications@github.com] Sent: 30 March 2015 14:05 To: Wiznet/Loopback_LPC11E36_LPCXpresso Cc: svnagendra2003 Subject: Re: [Loopback_LPC11E36_LPCXpresso] problem in generating the .hex file (#3)

Could you provide IP settings of your PC to me? "ipconfig /all > ip.txt" in DOS window.

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/Wiznet/Loopback_LPC11E36_LPCXpresso/issues/3#issuecomment-87591479 . https://github.com/notifications/beacon/ALJjJalfjV0KU8RTxI7mW1qxnASHSbRvks5n6QI4gaJpZM4D2RW9.gif

bingdo commented 9 years ago

The last question is duplicate. Refer to https://github.com/Wiznet/FTP_LPC11E36_LPCXpresso/issues/1

Thanks.