Problem with easyweb lpc1769

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

Problem with easyweb lpc1769

975 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pindonga123 on Wed Nov 07 18:48:33 MST 2012
Hello everybody. First you have to apologize me because my english is terrible. In fact i hate write in english. Well my problem is that im with a project in the university and the professor wants that i can send a signal from the page of easyweb for example do a box in the http page with the options desactive active and turn on, or turn off for example a led in lpc1769. I dont have the minor idea how i can do this. If somebody can help me i thanks.
0 Kudos
Reply
3 Replies

935 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sadegh.rabei on Thu Mar 10 07:01:58 MST 2016
Hello there,

i got a question about the easyweb example for the lpc1768.

Here's how to calculate the highlighted lines?

thank you.


[color=#c00]#define NUM_RX_FRAG         4           /* Num.of RX Fragments 4*1536= 6.0kB */
#define NUM_TX_FRAG         3           /* Num.of TX Fragments 3*1536= 4.6kB */ [/color]
#define ETH_FRAG_SIZE       1536        /* Packet Fragment size 1536 Bytes   */

#define ETH_MAX_FLEN        1536        /* Max. Ethernet Frame Size          */

/* EMAC variables located in 16K Ethernet SRAM _ bank 1 */
#define RX_DESC_BASE        0x20080000
#define RX_STAT_BASE        (RX_DESC_BASE + [color=#c00]NUM_RX_FRAG*8[/color]) // 4*(2*4)
#define TX_DESC_BASE        (RX_STAT_BASE + [color=#c00]NUM_RX_FRAG*8[/color]) // 4*(2*4)
#define TX_STAT_BASE        (TX_DESC_BASE + [color=#c00]NUM_TX_FRAG*8[/color]) // (4-1)*(2*4)
#define RX_BUF_BASE         (TX_STAT_BASE +[color=#c00] NUM_TX_FRAG*4[/color]) // (4-1)*(1*4)
#define TX_BUF_BASE         (RX_BUF_BASE  + [color=#c00]NUM_RX_FRAG*ETH_FRAG_SIZE[/color])

/* RX and TX descriptor and status definitions. */
#define RX_DESC_PACKET(i)   (*(unsigned int *)(RX_DESC_BASE   + 8*i))
#define RX_DESC_CTRL(i)     (*(unsigned int *)(RX_DESC_BASE+4 + 8*i))
#define RX_STAT_INFO(i)     (*(unsigned int *)(RX_STAT_BASE   + 8*i))
#define RX_STAT_HASHCRC(i)  (*(unsigned int *)(RX_STAT_BASE+4 + 8*i))
#define TX_DESC_PACKET(i)   (*(unsigned int *)(TX_DESC_BASE   + 8*i))
#define TX_DESC_CTRL(i)     (*(unsigned int *)(TX_DESC_BASE+4 + 8*i))
#define TX_STAT_INFO(i)     (*(unsigned int *)([color=#c00]TX_STAT_BASE   + 4*i[/color]))
#define RX_BUF(i)           ([color=#c00]RX_BUF_BASE + ETH_FRAG_SIZE*i[/color])
#define TX_BUF(i)           ([color=#c00]TX_BUF_BASE + ETH_FRAG_SIZE*i[/color])
0 Kudos
Reply

935 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by magicdim on Wed Feb 19 10:48:27 MST 2014
Hi PINDONGA123,

Did you succed with easyweb?

Have a look at my answer on that tread: http://www.lpcware.com/content/forum/easyweb-on-lpc1769-ea-base-board

Hope this will help...
0 Kudos
Reply

935 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pindonga123 on Fri Nov 09 11:59:24 MST 2012
Hello everybody. First you have to apologize me because my english is terrible. In fact i hate write in english. Well my problem is that im with a project in the university and the professor wants that i can send a signal from the page of easyweb for example do a box in the http page with the options desactive active and turn on, or turn off for example a led in lpc1769. I dont have the minor idea how i can do this. If somebody can help me i thanks.
0 Kudos
Reply