EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

AT91SAM7X-EK -- getting started

Started by mlb_and_mlb December 1, 2007
I'm trying to get started with the ATA91SAM7X-EK and having problems
getting SAM_BA to see the board.

Plugging the USB connector between my PC and the board causes the PC
to notice the new device, (it calls it an HID device! ??). SAM_BA v1.8
says "-E- DEVICE NOT FOUND on USB!".

Powering the board via its USB port and the supplied USB wall-wart, I
then tried to use a COM port. This appears to work a little better.
When I select an incorrect board I get, "-E- DEVICE NOT FOUND on UART
COM4!". When I select the proper board I get, "Memory File not found".

Can anyone point me in the right direction. (I tried checking this
forums archives -- found some messages about this problem with other
boards, but the jumpers they reference don't exist on my board.)

Mark
Hi,

I like using the the wall wart, best.

Don't forget to erase memory by:
powering off,
setting the erase jumper,
power back on for an instant(3 seconds),
jumper off,
and powering it on again.

That puts the SAM7X rom in a mode ready to deal with SAM-BA. SAM-BA 2.5 is
the one I have.

Connect the USB and call SAM-BA.

Tell it the .BIN file you want to send, and send it.

It may ask to lock the regions after the burn, not important unless you want
to prevent self modifying code(or bugs).

I don;t know about 1.8 but, version 2.5 let's you set the "Boot From Flash"
fuse, so that the reset button will start your code (if it starts at $10000.

Good Luck,

*E

On Nov 30, 2007 6:30 PM, mlb_and_mlb wrote:

> I'm trying to get started with the ATA91SAM7X-EK and having problems
> getting SAM_BA to see the board.
>
> Plugging the USB connector between my PC and the board causes the PC
> to notice the new device, (it calls it an HID device! ??). SAM_BA v1.8
> says "-E- DEVICE NOT FOUND on USB!".
>
> Powering the board via its USB port and the supplied USB wall-wart, I
> then tried to use a COM port. This appears to work a little better.
> When I select an incorrect board I get, "-E- DEVICE NOT FOUND on UART
> COM4!". When I select the proper board I get, "Memory File not found".
>
> Can anyone point me in the right direction. (I tried checking this
> forums archives -- found some messages about this problem with other
> boards, but the jumpers they reference don't exist on my board.)
>
> Mark
>
>
>
are you connecting to the Debug port with your COM4? as there are two serial
ports on at91sam7x-ek. make sure you connect the correct one. also, make
sure your on chip flash is empty, this can be done by erase pin.
On 11/30/07, mlb_and_mlb wrote:
>
> I'm trying to get started with the ATA91SAM7X-EK and having problems
> getting SAM_BA to see the board.
>
> Plugging the USB connector between my PC and the board causes the PC
> to notice the new device, (it calls it an HID device! ??). SAM_BA v1.8
> says "-E- DEVICE NOT FOUND on USB!".
>
> Powering the board via its USB port and the supplied USB wall-wart, I
> then tried to use a COM port. This appears to work a little better.
> When I select an incorrect board I get, "-E- DEVICE NOT FOUND on UART
> COM4!". When I select the proper board I get, "Memory File not found".
>
> Can anyone point me in the right direction. (I tried checking this
> forums archives -- found some messages about this problem with other
> boards, but the jumpers they reference don't exist on my board.)
>
> Mark
>

--
No great discovery was ever made without a bold guess ~ Isaac Newton
On the DVD that came with the EK, or on the manufacturer's web site:

http://www.atmel.com/dyn/resources/prod_documents/doc6195.pdf

Take a look on page 21.

John

--- In A..., "Mark Bayern" wrote:
>
> Yes, I've connected to the DEBU port. The erase jumper is not
> connected -- I'll try it with the jumper connected.
>
> Where do I find documentation about the jumpers and their purpose?
> On Nov 30, 2007 9:41 PM, Ji (James) Sun wrote:
> >
> >
> > are you connecting to the Debug port with your COM4? as there are
two serial
> > ports on at91sam7x-ek. make sure you connect the correct one.
also, make
> > sure your on chip flash is empty, this can be done by erase pin.
> >
>
Yes, I've connected to the DEBU port. The erase jumper is not
connected -- I'll try it with the jumper connected.

Where do I find documentation about the jumpers and their purpose?
On Nov 30, 2007 9:41 PM, Ji (James) Sun wrote:
> are you connecting to the Debug port with your COM4? as there are two serial
> ports on at91sam7x-ek. make sure you connect the correct one. also, make
> sure your on chip flash is empty, this can be done by erase pin.
Thanks, I now have it working.

More importantly, I've see part of my problem. I'm out of date --
think 1974 and the original 6805 or 6502 chips. I never expected an
'erase' jumper to go straight to the chip and cause it to execute some
embedded code. I need to spend a bunch of time with the (very large)
datasheet.

Once again, thanks.

Mark

The 2024 Embedded Online Conference