EmbDev.net

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

Author: A. S. (aleksazr)
Posted on:

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.
Author: A. S. (aleksazr)
Posted on:

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?
Author: A. S. (aleksazr)
Posted on:

Also, after typing V# I get this:
v1.7 Jul 13 2007 14:54:32
Author: Imon (Guest)
Posted on:

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.
Author: A. S. (aleksazr)
Posted on:

Windows XP SP2, Sam-ba 2.9.
Author: Imon (Guest)
Posted on:

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.
Author: A. S. (aleksazr)
Posted on:

Yep, that solved the problem, thanks!

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.


webmaster@embdev.netContactAdvertising on EmbDev.net