µTasker Forum > FreescaleTM MC9S12NE64

Can I use uTasker?

<< < (2/2)

mark:
Hi

If you follow the uTasker tutorial it will show you how to build a web server with control and monitoring function in about 20 minute (first simulating it then running it on a target).
Then follow this thread to add your own web interface controls: http://www.utasker.com/forum/index.php?topic=94.0

Regards

Mark

thamanjd:
Hey Dannix, i'm also working on a GPO relay controller.
Version 1 i tried on NE64. But code and RAM was uncomfortablly cramped and i had to drop a couple of desirable features.

I'm redoing the project with Freescale Coldfire MCF52235. I find the code quite portable even though i didnt necessarily write it with that in mind.


NE64= not a lot of code space or RAM.
A lot of the 8K gets gobbled by the ethernet buffers.

If the board's already on its way and its a one off project that you dont intend to turn into a product youhave to reproduce then there's no harm trying the NE64. You will however probably have to choose what features to use use because you'll probably find you'll have to keep telnet but drop dhcp and email stuff. or vice versa.
If you're making it a product or can see yourself wanting to add functionality and features later on then i also recommend trying out one of the other supported micros.

What IDE/compiler are you going to use? I dont know if any GCC tools are available but i guess if you can use the simulator and then do the compile and hardware debugging/programming with a full featured 30/60 day evaluation version of codewarrior or IAR or whatever other IDEs/compilers have evaluation versions.

The "free crippled" version of Codewarrior for Coldfire is very usable. I dont know if theres a "max files" limit but i havnt hit it yet. 128kB limit is a lot more that the 48K on ne64. Plus if you just want to use internal file system, NE64 Web pages have to be designed economically. Others micros you can put more features into.

For both coldfire and ne64 i use pemicro or bdm.

In my relay controller project, here's a couple of ideas ive added:

1. A schedule of 20 programmable events on startup to configure states of relays and any stagger timing between those relay toggles in the case of something like turning on 5 significant inductive loads.

2. A ping mechanism to see if the adsl modem can reach the outside world. If no ping response after set period, then power cycle adsl modem off one of the GPO relays. (my adsl modem/connection is a bit sticky sometimes).

Setup and control through web and telnet. I wanted to do email alert on return of power but i haven't got a handle on pushing emails to the outside world yet. Will also add TCP/UDP protocols for use with a PC software app. and for device discovery/advertisment.

JD

 

dannix:
Hi, my IP relay project is almost completed, it's in a rack enclosure, has 6 resettable fused IEC outlets leaving 2 relays for "something else" just need to bring the relay leds to the front panel. But it is otherwise working and does the job.
The NE64 board I purchased is preprogrammed. I was looking into making my own firmware for it but the limitations you have found and I have been advised of made me reconsider. I'm not experienced in this field and this would have been the first chip I wrote code for. That in mind I'm looking to "upgrade" what I have to the newer version chip once I get my head round it.

I want for more functions then is currently available out of the box on the NE64 so I will invest my time in newer technology. The developer of the board I have has given me a PHP script to talk to the NE64 via SNMP traps which alow relay switching and reading of the unused 8 inputs. This would mean I can add the functionality I desire with programming using skills I already have, but then it is not an embedded device as such since the additional features rely on an external webserver.

I'm more interested in environmental controls at the moment, but the delayed startup idea for inductive loads is a good idea. I too want to bounce my modem/router if it can't ping the outside world. max number of restarts in case the router isn't at fault I don't want it restarting all the time until I can attend it.
I wanted a web programmable interface so the user can set events, if input X > 1.2 switch relay X off etc. I want to add buttons on the front, if held in for a say 3 secs cycle the applicable relay off then on to restart connected load, if a momentary press toggle the relay state.

I don't intend on selling this as a product, It's just something to work on to combine my IT skills with my electrical skills to gain a better understanding of electronics, specifically embedded devices.

Good luck with your implementation!

Navigation

[0] Message Index

[*] Previous page

Go to full version