Hey Could someboty help me? I'm a beginner in ARM's. I spent a lot of time trying to start any program on my AT91SAM7S-EK with AT91SAM7S256. Can somebody sent me to my e-mail any 100% working program (switching on LED's or similar)?? I do not know if there is a problem with software or hardware. I installed WinARM and tried to use ATMEL example. 1) I open project for AT91SAM7S64 2) I copy linker-files for AT91SAM7S256 to project folder and add them to project 3) I modyfy makefile to generate bin files instead of hex files 4) I use make-clean and make-all options and it compiles correctly 5) Now I want to download bin file by SAM-BA - I switch off the target board - I connect TST pin to +3,3V, switch on the device and wait over 10 seconds - I switch off, disconnect TST pin to +3,3V connection and switch on device - I open SAM-BA program and choose DBGU connection - I choose FLAS tap, browse my bin file and put "send file" This is contents of command window before operations loading history file ... 0 events added SAM-BA console display active (Tcl8.4.9 / Tk8.4.9) (SAM-BA 1.7) 1 % (SAM-BA 1.7) 1 % This is contents of command window after opearations: (SAM-BA 1.7) 1 % send_file FLASH:: "C:/WinARM/examples/Kopia at91sam7s64_Atmel_example/main.bin" "0x100000" 1 -I- Send File C:/WinARM/examples/Kopia at91sam7s64_Atmel_example/main.bin at address 0x100000 -I- File size = 836 byte(s) (SAM-BA 1.7) 1 % Should I switch off the target device and switch it on after downloading? Is everything ok? When I compaere sent file with memory it indicates ok. But there is no sign of life on my board. Can somebody send me a complete project (with pnproj-file, makefile, cstartup files and all files needed)?? Please!!
Hi Mariusz. I've written a 200 page tutorial that has this very board as the target. The tutorial is called "Using Open Source Tools for AT91SAM7 Cross Development" and it's on the Atmel support web site. Here's the link. http://www.atmel.com/dyn/resources/prod_documents/atmel_tutorial_source.zip The download zip file has the tutorial pdf, the sample project source files and some OpenOCD config files. Cheers, Jim Lynch
James Lynch wrote: > Hi Mariusz. > > I've written a 200 page tutorial that has this very board as the target. > The tutorial is called "Using Open Source Tools for AT91SAM7 Cross > Development" and it's on the Atmel support web site. Here's the link. > > http://www.atmel.com/dyn/resources/prod_documents/atmel_tutorial_source.zip > > The download zip file has the tutorial pdf, the sample project source > files and some OpenOCD config files. > > Cheers, > Jim Lynch Thanks for reply Jim. I have to say that i saw this document. Unfortunately It was revision C so I had problems to follow this document. Now I follow after your revision C and i have problem with Java. I installed the software and I have these program on my program list: - Java(TM) 6 Update 3 - Java(TM) SE Development Kit 6 - Java(TM) SE Runtime Environment 6 Update I But there is stil problem when I launch Eclipse Platform 3.2. It doesn't recognize any java on the disc. Also when I try to get the java version in command prompt window there is answer that the system doesn't recognize syntax "java". Should I set some environment path for java? BTW. There was a problem with correct downloading yagarto-ide-20070909-setup so I had to install the older version. I hope it will not make problems.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.