EmbDev.net

Forum: ARM programming with GCC/GNU tools SAM-BA freezes


von A. S. (aleksazr)


Rate this post
useful
not useful
I've made my first AT91SAM9260 board.
It is based on Atmel's '9260-EK, but has no NAND flash (at least).

In file "CustomApplet.txt" (from SAM-BA) I read that I have to
change some scripts to make it work with my custom board.

Before I do that, is SAM-BA able to connect with my board, at all?
I power-on my board then start SAM-BA and select original
"at91sam9260-ek" and nothing happens - ie. the prog freezes.

When I first started this, I've mistakenly connected RX & TX the wrong
way to the MAX3232 and SAM-BA said "No valid processor ID found".
I've connected RX & TX correctly now and SAM-BA just sits, forever.

However, before that, I should be sure that my oscillators are working.
Well, they both work (32kHz and 20MHz) but the voltage swing is very
low - between 0 and 0.5 V, is that OK? The frequency itself is OK.

von A. S. (aleksazr)


Rate this post
useful
not useful
I've started HyperTerminal and I can see "RomBOOT" displayed.

That means my osc is working and that I must change some scripts
in order to get anything from sam-ba, right?

von A. S. (aleksazr)


Rate this post
useful
not useful
Also, after typing V# I get this:
v1.7 Jul 13 2007 14:54:32

von Imon (Guest)


Rate this post
useful
not useful
Hi,

Which OS do you use ? Linux or Windows, and what the Version of you 
SAM-BA host tool ?

I've use Debian Etch and Sam-Ba work, my colleague use Ubuntu ( no clue 
which Version ) and It works sometimes. This colleague simple tries it 
more then one times, and after the 6 test or so it will work, really 
Strange.
Another colleague use Fedora 13, and it never works.

We found out It dosen't matter, which type of CPU  32 or 64 Bit you use.
Maybe its a wrong library Version on the host, unfortunately I've no 
idea which one.

von A. S. (aleksazr)


Rate this post
useful
not useful
Windows XP SP2, Sam-ba 2.9.

von Imon (Guest)


Rate this post
useful
not useful
Hi

really Strange , I thought only the Linux Version is buggy.
Fine, at the Atmel Website is the Revision SAM-BA 2.10 available,please 
try this one.

von A. S. (aleksazr)


Rate this post
useful
not useful
Yep, that solved the problem, thanks!

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
No account? Register here.