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

About embedded web server Technology

Am new to this field can any body help me in writing code for embedded web server by using LPC1768(Keil Software). i.e am try to read the data or values from web page to the micro controller,based upon that values am going perform the operation on board.For example in my web page there is on and off buttons to control the operation of the any peripheral connected to the controller.

thank you to all in advance .

Parents
  • HI Mr.Christopher Seidl

    Am using version4

    http://www.keil.com/download/docs/387.asp this the link have the sample code,

    I was used the some code with out any modification then also i was got the same problem.

    I was changed the web.inp code only.

    Original code 

    index.htm, keil.gif, nxp_logo.gif, llblue.jpg, pabb.gif, home.png,network.cgi, leds.cgi, tcp.cgi, system.cgi, lcd.cgi, language.cgi,ad.cgi, pg_header.inc, pg_footer.inc, xml_http.js, buttons.cgi,ad.cgx, buttons.cgx To web.c nopr root Web 


    Changed code by me

    FCARM index.htm, keil.gif, nxp_logo.gif, llblue.jpg, pabb.gif, home.png,network.cgi, leds.cgi, tcp.cgi, system.cgi, lcd.cgi, language.cgi,ad.cgi, pg_header.inc, pg_footer.inc, xml_http.js, buttons.cgi,ad.cgx, buttons.cgx To web.c nopr root Web 

    In this link http://www.keil.com/support/man/docs/uv4/uv4_ut_fcarm.htm the keil provide data about the fcarm after reading this link i changed the original code.

    In this link http://www.keil.com/forum/17680/ i was saw same problem but different micro controller there they mention to solve this on they created one .bin file for fcarm.How can create the fcarm.bin file...?
    if there is any method for creating bin files in keil...? I think If we have the BIN file we can create the HEX file by using BIN2HEX command.Then not only for this one if we want create the bin file for any file what was the method we can use...?

    In this link http://www.keil.com/support/man/docs/uv4/uv4_ut_fcarmuv.htm the keil given how to use the FCARM in keil micro-version,They given 4 steps for that one,am not crossing the second step,
    2.Change the file type to Image file. You may also change the file compression. For this, use the context menu in the Project window and Options for File.

    In my keil i have this option in that window text,custom,lib,c source,c++ source file,assembly language file,object file but i don't have the image file option how can i fix this one in my keil software.

Reply
  • HI Mr.Christopher Seidl

    Am using version4

    http://www.keil.com/download/docs/387.asp this the link have the sample code,

    I was used the some code with out any modification then also i was got the same problem.

    I was changed the web.inp code only.

    Original code 

    index.htm, keil.gif, nxp_logo.gif, llblue.jpg, pabb.gif, home.png,network.cgi, leds.cgi, tcp.cgi, system.cgi, lcd.cgi, language.cgi,ad.cgi, pg_header.inc, pg_footer.inc, xml_http.js, buttons.cgi,ad.cgx, buttons.cgx To web.c nopr root Web 


    Changed code by me

    FCARM index.htm, keil.gif, nxp_logo.gif, llblue.jpg, pabb.gif, home.png,network.cgi, leds.cgi, tcp.cgi, system.cgi, lcd.cgi, language.cgi,ad.cgi, pg_header.inc, pg_footer.inc, xml_http.js, buttons.cgi,ad.cgx, buttons.cgx To web.c nopr root Web 

    In this link http://www.keil.com/support/man/docs/uv4/uv4_ut_fcarm.htm the keil provide data about the fcarm after reading this link i changed the original code.

    In this link http://www.keil.com/forum/17680/ i was saw same problem but different micro controller there they mention to solve this on they created one .bin file for fcarm.How can create the fcarm.bin file...?
    if there is any method for creating bin files in keil...? I think If we have the BIN file we can create the HEX file by using BIN2HEX command.Then not only for this one if we want create the bin file for any file what was the method we can use...?

    In this link http://www.keil.com/support/man/docs/uv4/uv4_ut_fcarmuv.htm the keil given how to use the FCARM in keil micro-version,They given 4 steps for that one,am not crossing the second step,
    2.Change the file type to Image file. You may also change the file compression. For this, use the context menu in the Project window and Options for File.

    In my keil i have this option in that window text,custom,lib,c source,c++ source file,assembly language file,object file but i don't have the image file option how can i fix this one in my keil software.

Children
  • Hello Vikram,

    there are multiple problems with this example, but the main problem is: it is for uVision3! It will not compile with uVision4. If you want to test the uV4 HTTP Demo for LPC1700, please open the project under C:\Keil\ARM\Boards\Keil\MCB1700\RL\TCPnet\Http_Demo\Http_demo.uvproj. This can be compiled instantaneously. Remember: You need MDK-Professional to work with Middleware. MDK-Lite (32 kB Code Size limitation) will not work with this example.

    Kind regards,

    Christopher

  • I was tried to open project like you told sir (i.e C:\Keil\ARM\Boards\Keil\MCB1700\RL\TCPnet\Http_Demo\Http_demo.uvproj.) then also am getting same message on build window.

    Please give me Ur valuable Suggestion to me Sir.

    Regards

    VIKRAM 

  • Hi Sir Mr.Christophe seidl,

    Am try to write code for this one by my self with out taking that sample code,

    If i want to write code for this one my self what can do(i mean which thing am taker).

    For to this one my self i need Ur guidance and  valuable suggestion sir.

    I hope am get positive response from you sir.

    With Regards

    VIKRAM

  • Hello Vikram,

    do you have MDK-Professional? If not, contact the nearest sales office for an evaluation version. This code will not build without MDK-Professional.

    Kind regards,

    Christopher