ARM Board with the AT91SAM7S128 and basic usb

OP #1171832
Rate this post
• ▲ useful
▼ not useful
Hi Folks,
I 've been using the eblock ARM Board with the AT91SAM7S128 and WINARM.
Now I want to test the Basic-USB-Project example from Martin Thomas.
What I have to change normally ? I think about the board.h? But that
can't be the only one.
For downloading I use a Program named mLoader. Always this error occurs:
'Binary file not found'. What can be the problem? Is there anyone who
can help me? I'm a newbie...
Thanks and cheers
John
Guest #1171833
Rate this post
• ▲ useful
▼ not useful
John S. wrote:
> I 've been using the eblock ARM Board with the AT91SAM7S128 and WINARM.
> Now I want to test the Basic-USB-Project example from Martin Thomas.

I did not write this example. It's written by "Atmel Rousset". I have
just ported it for the GNU-Toolchain.

> What I have to change normally ? I think about the board.h? But that
> can't be the only one.

The SAM7S are very similar. To adapt the example you may only need to
adjust the LENGTH of DATA and the ORIGIN of STACK in the linker-scripts.

> For downloading I use a Program named mLoader. Always this error occurs:
> 'Binary file not found'. What can be the problem? Is there anyone who
> can help me? I'm a newbie...

I don't know this tool. But it may need the data to be transfered to the
controller's flash in binary format. In the example there is still an
old style makefile which does not support the format-option correcty.
Workaround: set format in makefile to binary do make clean, make all and
rename the main.hex to main.bin

Martin Thomas

Reply

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

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.