OLIMEX SAM7-EX256 board & freertos

In case anyone is interested i modified the the directory structure of the

“lwIP_Demo_Rowley_ARM7” demo subproject of FREERTOS, added a slight modification to the files mii.h & SAM7_EMAC.c and … voila; the lwIP demo of FREERTOS runs without problems on the specific board using linux as the main platform + eclipse IDE + gcc gnutools v. 4.1.1. I can share the files only using email process…

Hi Marc, hi Manuel.

This sounds all very good. I have fought with the file makefsdata.pl and activeperl and read the cgi.c file and started modifying the fs…

Unfortunately I have to finish some other things now so I will get in contact with you next week.

Regards,

Eduardo

OLIMEX:
I just uploaded TCP-IP demo code based on FreeRTOS on our web, tuned for our board

Best regards

Tsvetan

It looks like it is for IAR, not gcc compiler?

can you port it to gcc compiler please. thank you.

mgiannos:
In case anyone is interested i modified the the directory structure of the

“lwIP_Demo_Rowley_ARM7” demo subproject of FREERTOS, added a slight modification to the files mii.h & SAM7_EMAC.c and … voila; the lwIP demo of FREERTOS runs without problems on the specific board using linux as the main platform + eclipse IDE + gcc gnutools v. 4.1.1. I can share the files only using email process…

Would you please email the source. tpham3783 [at] gmail.com

thanks

Me too… Please send your code at gbacor[at]gmail.com

Thanks

Well,

I found out how to port the ip stack to this board, and recently a user from this forum asked me how to do it so i figured it would be helpful information if I post it here.

here is the email i sent him. He was able to configured it, and made it worked.


Hi,

I’ve been searching for the stuff i did but I couldn’t find the

sourcecode to use the uip stack.

I could only find the changes i made to support iwip stack. I think

the changes would be the

same to support uip stack.

Here is the changes i made to support the olimex same board with ethernet.

the following changes are made to the original freertos target for the sam7x256:

in the file EMAC/mii.h, i changed the PHY ID to the following,

/* PHY ID */

#define MII_DM9161_ID 0x00221610 //0x0181b8a0

#define MII_AM79C875_ID 0x00221610 //0x00225540 /* 0x00225541 */

#define MII_KS8721_ID 0x00221610

#define AT91C_PHY_ADDR 1

note, all MII id are the same, and that PHY ADDRESS is changed to 1 from 31.

also, remember to change the ip address in EMAC/SAM7_EMAC.h, right now

it is configed to 10.234.61.114

once loaded the .bin file to the hardware, simply open the webpage

using that ip, see if it works.

I am a student at Brazil and I am using this development board. I am also using IAR EWARM v4.42A and FreeRTOS v4.0.

I am trying to run the demo application but not succeeding. I configured UIP_IPADDR, UIP_DRIPADDR and UIP_ETHADDR (from uipopt.h) to my values but it didn’t work.

I hope you could help me with this issue.

Thanks for your attention.