SAM7-EX256 Olimex Board checkout

Hi All,

Not sure if this is the correct place to post this, so would like to apologize in advance if it is not.

I recently puchased an Olimex SAM7-EX256 devel board. I went thru and installed the tools etc. I was basing my work off of Jim Lynch’s tutorial (which builds some code to flash 2-3 status LEDs). Based on output from the OpenOCD tool, it appears as though my flash programmer worked ( I even made sure I set the gpnvm bits ). However, when I reset the board, nothing happens. I was under the assumption that the HW was the same as when the tutorial was written. Now I am not so sure. Is there anyone here that could confirm/deny this. From the tutorial pages, I can see that the board design was definitely different. Jim also mentions 4 switches when it appears that the new board has two. When I went back and read the current SAM7-EX256 description, it appears that the only LED on the board is the power led ( which does come on :)). Also, upon cursory examination of the current SAM7-EX256 schematic, I do not see any mention of status LEDs.

In a nutshell, I need a way to do a quick board checkout to make sure that code (that I think has) downloaded to the board is actually running (and also to verify the HW components LCD etc). On the CD I rx’d with the ARM USB JTAG, there are a bunch of different projects – I specifically saw one for the SAM7256 board. Can anyone tell me if any of these projects will provide some kind of feedback that code is actually running on the board ( even a simple “Hello World” would be fine !!). Also, if the current design is different from previous designs, could someone post a link to the schematic of the older design

Regards

Victor

Hello,

There is a demo for that board in the project in my signature. You may use it to test the board.

On the board there are no LEDs, the demo flashes the LCD back light using a thread, it can also run a self-test with output on the serial port by pressing a button.

There is also a more complex demo that implements a simple web server using the uIP stack.

Giovanni

Goivanni,

Went to the website, did not see anything related to the SAM7-EX256. Saw something related to the STM32. Is it possible that I am looking in the wrong place.

Thx

Victor

You should download the package (version 1.2.2).

The SAM7X demo is located in ./demos/ARM7-AT91SAM7X-GCC.

You just have to compile the demo using the Makefile. You can use any GCC based toolchain, as example WinARM, YAGARTO or CodeSourcery.

You may need to change the compiler name into the Makefile, the default is arm-elf-gcc (YAGARTO).

After running make you should get a binary file, ch.bin (the flash image).

The documentation is here ./docs/index.html but you don’t have to read anything in order to just compile the demo.

regards,

Giovanni

Giovanni,

Thx, I just got home and tried the code. I see the backlight flashing. Thx Much for your help

Regards

Victor