Hi folks, I´ve just received my brand new development board for the AT91SAM64 from Olimex. Of course I was eager to test the sample applications that are available from the Olimex site, but unfortunately none of them would run, although I installed the bootloader and SAM-BA detects the device and is able to connect to it. It´s even possible to upload and (successfully) compare the files.
Do I have to change the source code for use with the Olimex board or should all of this work out of the box? Btw since SAM-BA requires binary files I´ve set the linker output of the IAR workbench to raw-binary, I hope that´s the apropriate setting. So has anyone gotten the examples to work on this board? Any help is apreciated !
I got sam-ba working via serial. (it wont work with usb with the included 12mhz crystal)
Now I’m having trouble uploading a program. I compiled the blink light program using IAR eval. Is there another way besides using the old dos hex2bin? I am unable to find hex2bin.com for download.
to run SAM-BA via USB crystal should be 18.432 Mhz, we found this after some boards were produced and sold, now we changed all stock we have to 18.432 Mhz.
go google “hex2bin” and you will get several places where to download from
The blink light program was loaded. To use SAM-BA again, do I have to re-short the tst jumper each time? Also, the reset button, what exactly does it do? It does not seem to interrupt the blink program when I press it.
if you read the SAM7S64 datasheets you will see that RESET is functioning only if you software enable it, the uploaded code does not enable the RESET, this is why your code run is not affceted when you press & hold the RESET button
OLIMEX:
to run SAM-BA via USB crystal should be 18.432 Mhz, we found this after some boards were produced and sold, now we changed all stock we have to 18.432 Mhz.
go google “hex2bin” and you will get several places where to download from
tsvetan
So, if I order a board from Spark Fun, will it have the 18.432 MHz crystal, or do they still have to sell off old stock before they get to those? Or does Olimex having only the new frequency now automatically mean that Spark Fun does too? I’m not sure what the exact relationship between Olimex and Spark Fun is.
The Spark Fun catalog page still says 12 MHz. The Olimex page for this product also still says 12 MHz.
I just hit the same wall with the 12MHz crystal… so I will order a 18.432 from DigiKey or Mouser today. Up to this point I have been using the Atmel evaluation board with SamBa and GCC as the compiler… and it has worked very well. I don’t see why folks want to use the IAR stuff when the WinARM stuff is available?
Anyway, just for those who are interested, using GCC (WinARM) and programming via the USB using SamBa is a good option if you don’t want to pay for a JTAG interface and proprietary compiler.
Maybe later I can provide some test programs and such for the Olimex board using GCC… and a tutorial.? That only after getting “work” done.
Hey there everyone… I’ve got the following problem. I programmed my new Olimex SAM7-P via USB and SAM-BA. Then I accidentally enabled the flash security bit. “O.K. that’s no problem”, I thought and connected the board via RS232. I disconnected the USB. But when starting SAM-BA clicking “DBGU” only thing that happens is a pop up menu saying “Memory File not found”. Setting the Test jumper has no effect… Now what can I do?