This post assumes an Ubuntu Linux environment.
- User manual: http://www.olimex.com/dev/pdf/ARM/ATMEL/SAM7-P256.pdf
- P256 dev board at Sparkfun: http://www.sparkfun.com/products/774
- H64 header board at Sparkfun: http://www.sparkfun.com/products/614
- Jaunty 9.04: http://blog.nutaksas.com/2009/05/installing-gnuarm-arm-toolchain-on.html
- Lucid 10.04: http://lejosrt.org/tuto/install-gnu-arm-toolchain-under-linux
- Sam_I_Am website: http://claymore.engineer.gvsu.edu/~steriana/Software/Sam_I_Am/index.html
- How to get the SAM7 board into bootloader mode.
- Power off the board by removing the USB cable.
- Connect TST jumper.
- Power on the board and let it sit for 10 seconds.
- Power down the board.
- Disconnect TST jumper. On next power-up, board will go into SAM-BA bootloader mode.
- Power off the board by removing the USB cable.
- Adam Pierce article is worthwhile: http://www.doctort.org/adam/nerd-notes/getting-started-with-the-olimex-sam7-p256.html
- He has a good blinking-LED example that runs out of RAM (not flash, so lost on power cycle): http://www.doctort.org/adam/files/ARMBlinkExample.tar.bz2
- But I needed to modify his linker file to make it build on Ubuntu 10.04: https://github.com/wware/stuff/blob/master/sam7/ARMBlinkExample/ram-ln.cmd
- You might need the mknod command discussed here to create a /dev/ttyUSB0 device: http://claymore.engineer.gvsu.edu/~steriana/Software/Sam_I_Am/connecting.html
- Blink LED demo: http://www.olimex.com/dev/soft/arm/SAM7/Blinking_LED.zip
- USB HID mouse demo: http://www.olimex.com/dev/soft/arm/SAM7/Mouse_driver.zip
- http://www.atmel.com/dyn/resources/prod_documents/at91sam7s-ek.zip has more useful examples in the at91sam7s-ek/packages directory, look for the ones with names ending in "_gnu"
- http://www.mjbauer.biz/SAM7_Firmware_Guide.htm
- http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3784
- http://www.atmel.com/dyn/products/app_notes.asp?family_id=605
- http://www.atmel.com/dyn/resources/prod_documents/doc6293.pdf
- http://www.atmel.com/dyn/resources/prod_documents/doc6310.pdf
- http://www.atmel.com/dyn/resources/prod_documents/doc6263.pdf
- http://www.atmel.com/dyn/resources/prod_documents/doc6273.pdf
3 comments:
hi,
have you verify the blinking led code? i cant run it on my board
can you send me the setting for eclipse (win)
Hi, sorry I haven't seen your comments earlier. The blinking LED code works for me. You asked about using Eclipse on Windows. I don't think that will be very helpful as you will need a cross-compiler. You might want to try using a virtual machine (http://www.virtualbox.org/wiki/Downloads) to run Linux on your Windows machine. That will make things a lot simpler.
Post a Comment