µTasker Forum
June 20, 2013, 02:06:58 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: March 2012: uTasker KINETIS and STM32 release versions available.
Follow uTasker updates at www.twitter.com/uTasker !!

Online Forum registration has now been disabled. Please send an email to an address at the bottom of the home page with your preferred user name and email address if you would like an account.
 
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: LED(GPIO) ON/OFF using EMAC Protocol (LPC1768 )  (Read 1701 times)
Prakash
Newbie
*
Offline Offline

Posts: 17


View Profile
« on: December 20, 2011, 02:27:13 PM »

Hello,

I am very new to EMAC. I have chosen the controller LPC1768 which have
inbuilt Ethernet MAC.

I am trying to write firmware to operate some leds connected to LPC1768
Board using EMAC protocol.i.e Ethernet cable is connected between
LPC1768 Board and Laptop, make led on/off by laptop through EMAC.

It would be great if somebody give thoughts on it.

Thanks in advance.
Logged
mark
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2479



View Profile WWW
« Reply #1 on: December 20, 2011, 02:43:48 PM »

Hi

Which LEDs are these? Are they the ones connected to the PHY or are they ones connected to the processor?

Do you want then to flash shen there is Ethernet activity and display the Ethernet link state or do you want to be able to control them via an Ethernet protocol (TCP/IP) from an application (or web browser) on a PC?

Regards

Mark
Logged
Prakash
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #2 on: December 20, 2011, 02:48:56 PM »

Thanks for your fast reply:)

LEDs are connected to some GPIOs of controller.

I want to control these GPIOs via Ethernet protocol from an web browser on a PC.
Logged
mark
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2479



View Profile WWW
« Reply #3 on: December 20, 2011, 05:07:06 PM »

Hi

The LPC17xx project includes all support for this - see page 11 of http://www.utasker.com/docs/LPC23XX/uTaskerV1.4_LPC2XXX.PDF (this is from the LPC2xxx tutorial but it is the same for the LPC17xx).

Regards

Mark
Logged
Prakash
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #4 on: December 21, 2011, 01:42:26 PM »

Thanks for link. I will check
Logged
Prakash
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #5 on: December 28, 2011, 11:44:44 AM »

Hello Mark,

The given files are .hex files.

Could you please assist to build a new html page with buttons
and read the html code and generate events and all.

Thanks in advance.
Logged
mark
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2479



View Profile WWW
« Reply #6 on: December 28, 2011, 07:11:07 PM »

Hi

Reference web pages can be found in the project directory \Applications\uTaskerV1.4\WebPages
The web server user interface is webInterface.c which inteacts with the HTML as described in http://www.utasker.com/forum/index.php?topic=94.0

Regards

Mark

Logged
Prakash
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #7 on: December 29, 2011, 08:16:52 AM »

Hello Mr. Mark

Thanks for update.

Where shall I download uTaskerV1.4 Folder?

Thanks in advance.

Logged
mark
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2479



View Profile WWW
« Reply #8 on: December 29, 2011, 12:28:07 PM »

Hi

The LPC2xxx software versions are here: http://www.utasker.com/forum/index.php?topic=1324.msg5589#msg5589

Registration is at http://www.utasker.com/Licensing/request.html

Regards

Mark
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Copyright © 2013 utasker.com. Webdesign and Hosting by e-future.ch 2013
Valid XHTML 1.0! Valid CSS!
Page created in 0.049 seconds with 19 queries.