Author Topic: working with M52233 demo board  (Read 8273 times)

Offline Faustino

  • Newbie
  • *
  • Posts: 6
    • View Profile
working with M52233 demo board
« on: September 04, 2009, 08:16:17 PM »
hi guys

I am Faustino Castellanos I have been working in my application professional project it is a thesis project, I have been working with TCP/IP stack and I have done some task in this RTOS but I want to change my own code to this OS.
Basically my project use the web server and using the AJAX technique you can see critical condition such as, temperature, battery banks, and if exist AC power or not, but I dont know how to use SMTP protocol. For example if one of these sensor are in critical condition I want to send an email alerting, and other complicate thing that I have had in the other stack its changing the ip, mask , gateway via web page, I know how to do that but I don’t know how to save these values into de flash, because if I change the ip when  I restart the microcontroller  I have the first value that I had.
I hope you can tell me if its possible to emigrate my code to the utasker OS, and how can I start without complication because I have bit time for finish my project.

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: working with M52233 demo board
« Reply #1 on: September 04, 2009, 10:48:28 PM »
Hi Faustino

It is difficult to say how easy (or hard) it will be to transfer a present project but your best chance is to give it a try using the uTasker simulator to start with.

Have a look at the OS introduction to get first ideas of converting what you already have: http://www.utasker.com/docs/uTasker/uTaskerV1.3_user_guide.PDF

There are details for SMTP here: http://www.utasker.com/docs/uTasker/uTaskerSMTP.PDF
In the demo project SMTP is included to configure email services and send emails.

The demo project also gives you all support for configuring and changing IP settings, including saving them to FLASH (see the tutorial for the M522XX http://www.utasker.com/docs/M5223X/uTaskerV1-4_M522XX.PDF).

Regards

Mark