Web development with 9S12NE64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Web development with 9S12NE64

2,725 Views
Jide
Contributor I

 I am a new user of NE64 which happens to be my first microcontroller
experience.
  
 I have been able to store a web page in the MCU, and I can get to it
from my PC.(http://192.168.2.3)
  
 I have also written an analog to digital converter program. The
problem is how to make the website get the Analog to digital conversion
result from the ATDDR0H register.
   
 I would be glad if you provide me a detail procedure.
  
 Thanks in anticipation
  
 Jide

Labels (1)
0 Kudos
3 Replies

567 Views
englere
Contributor I
It's quite simple. You have the html page in memory now, and you simply have to dynamically update the html page to show the value you read. This can be done when you first start processing the user's request.
0 Kudos

567 Views
Jide
Contributor I
Thanks for,your reply, i have created a dynamic page, but i still dont how to http server to point to the right register(ATDDR0H). I am using OpenTCP , dont know which file to edit to get this done.
 
Thanks
 
Jide
0 Kudos

567 Views
mjbcswitzerland
Specialist V

Hi Jide

OpenTCP doesn't support dynamic web page generation so you will need some other examples to copy.

Check out this posting: http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=897

You may like to try the uTasker solution - it is free for non-commercial projects, including email support. (commercial use would also only cost $485, royalty free). It is supplied with ready to run projects using GNU, IAR and Codewarrior compilers, supporting dynamic web pages and control, plus much more. See the tutorial for first details and visit an on line demo of the project at http://212.254.22.36

The utasker comes with a real time NE64 simulator allowing complete projects to be developed, tested and debugged without the need to work on the hardware target. Other PCs on the network can communicate with the simulated device without noticing that it is not real.. it has to be tried and then you'll see how it cuts design times in half.

It also supoorts the new Coldfire M5223X so projects running on the NE64 can be moved to the Codlfire by setting just one compiler switch. See also the following posting at the Coldfire forum:
http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=274

The uTasker has a growing user base and is a powerful, stable and proved solution. It gives you all the code you need to solve your problem after only 20 minutes or so. So don't be shy, new users are welcome.

Regards

Mark Butcher
www.mjbc.ch

0 Kudos