# getting started at91sam7x512

**URL:** <https://forums.freertos.org/t/getting-started-at91sam7x512/5529>\
**Category:** Kernel\
**Created:** [January 22, 2015, 8:16pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529 "2015-01-22T20:16:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 22, 2015, 8:16pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/1 "2015-01-22T20:16:34Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Thursday, January 22, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#88e3):

Hello. I have trouble with running example for sam7x256 for eclipse. Im using eclipse 3.7.2, yagarto-20121222 and yagarto-tools-20121018. Board I have: ([http://www.dresden-elektronik.de/funktechnik/products/boards-and-kits/development-boards/derfgateway/description/?L=1&cHash=c9c902ccdb43164696acccf81b62b2bd](http://www.dresden-elektronik.de/funktechnik/products/boards-and-kits/development-boards/derfgateway/description/?L=1&cHash=c9c902ccdb43164696acccf81b62b2bd)) Compiling seems OK. But the error LED is sensing some problem. I ran through modification demo guide and it seems its working too. But I cant connect to webserver. Even LEDs on ethernet port are not responding to connected cable. Im quite newbie in ARM so Im shure Im missing something elementary. With code I didnt do anything (even didnt change memory for x512, but I red on freeRTOS site that its not required if it can fit in 256KB). Any idea? Thanks

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 22, 2015, 8:39pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/2 "2015-01-22T20:39:17Z")

</div>

**[edwards3](https://sourceforge.net/u/edwards3/)** wrote on [Thursday, January 22, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#121d):

If the code is running then its not a memory problem. I would guess the PHY used on your hardware is different to the PHY used by the original demo.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 22, 2015, 10:20pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/3 "2015-01-22T22:20:17Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Thursday, January 22, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#929f):

I checked pins to ethernet and LEDs and its OK. I forgot to write it… But you mean switch board.h file?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 23, 2015, 8:00am UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/4 "2015-01-23T08:00:59Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, January 23, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#929f/ca0d):

The demo you started with targets one of the EK demo boards. You are  
using a different board. It is unlikely they are wired the same, or use  
the same components, so it is likely you will have to update some of the  
IO being used.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 23, 2015, 3:16pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/5 "2015-01-23T15:16:56Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Friday, January 23, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#5ead):

Thanks for answers. It seems problem is understandign whole thing. Do you have some tip for good book, tutorial or material about programming arm, compiling and so?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 28, 2015, 10:25am UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/6 "2015-01-28T10:25:32Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Wednesday, January 28, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#b138):

Has anyone some good book, website, anything where can I find foundation for programming embedded systems? How it works, description of used files (Makefile, .ld and so). Thanks

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 28, 2015, 5:01pm UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/7 "2015-01-28T17:01:16Z")

</div>

**[markwrichardson](https://sourceforge.net/u/markwrichardson/)** wrote on [Wednesday, January 28, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#6dbe):

I started my career programming for mainframes, databases and small systems, eventually moving to PCs. In those environments you only needed to deal with high-level interfaces to disk, display and printer. Relatively easy for new people to get started by writing/ready to each with small programs and you get results or errors with very little research.

I’ve always had an interest in electronics hardware but it wasn’t until 10 years ago I started working as a firmware developer, maintaining things that were already working. The environment is much less friendly because you have very few safeguards because some work requires talking to low-level devices with only the datasheet as a reference. Compiling and linking are still the same concepts, but the code you write doesn’t have an operating system as a layer to insulate you from crashing the system because of a mistake.

I’d recommend starting with a mature project board and load sample code that is known to be working and begin experimenting from there. I’ve recommended **The Firmware Handbook** by Jack Ganssle to a few new hires that are in the same boat. It gives a good overview of common issue and things to be aware of for a new embedded programmer. O’Reilly has a few books on embedded systems like **Making Embedded Systems** that would also give you a good overview.

Many issues are the same no matter what environment you use. Many more issues are different depending on the processor type that you use. Debugging a simple program interactively using a debug interface should be among your first tasks.

Many project kits have sites with users sharing experiences using that environment. Look for a popular one and read. There is a lot of information and learning involved with embedded development, so be ready to study for a while. True even if you are an experienced high-level programmer.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 5, 2015, 11:08am UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/8 "2015-02-05T11:08:02Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Thursday, February 05, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#f316):

Thanks for advice:) It is my theme for bachelors thesis. So I have elementary knowledge about programming on any level. Im OK wiht learning new things, but still a bit lost in this. The structures of projects. What is each file about and so. But thanks for these books.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 5, 2015, 11:13am UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/9 "2015-02-05T11:13:45Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, February 05, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#4b22):

These links may help:

[http://www.freertos.org/a00017.html](http://www.freertos.org/a00017.html)  
[http://www.freertos.org/a00111.html](http://www.freertos.org/a00111.html)  
[http://www.freertos.org/a00102.html](http://www.freertos.org/a00102.html) (out of date but still relevant)

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [February 11, 2015, 9:55am UTC](https://forums.freertos.org/t/getting-started-at91sam7x512/5529/10 "2015-02-11T09:55:37Z")

</div>

**[koty0f](https://sourceforge.net/u/koty0f/)** wrote on [Wednesday, February 11, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/f440aefe/#99fc):

Thanks for reply. I red all of this. Now the scheduler is working. (I can run vStartLEDFlashTasks()) But whole demo is still sensing some error. I checked IOs and it seems its same with EK board.
