To burn a program you only need the ELF file. No need to convert it to BIN.
Notice that I'm using a SODAQ Autonomo, with an Atmel SAMD21J18A. The
openocd
command is:
$ MYELF=tests/driver_bme280/bin/sodaq-autonomo/driver_bme280.elf
$ openocd -d2 -f boards/sodaq-autonomo/dist/openocd.cfg -c
Yes, I have one, and I use it to burn and to debug.
I'm using openocd.
What do you want to know?
On 03-11-16 16:25, Ilias Seitanidis wrote:
Hi again,
I was given an Atmel Ice device, has anyone used it?
Thank you in advance!
Your Faithfully,
Ilias Seitanidis
2016-10-07 15:57 GMT+02:00 Oleg
Hi Ilias!
On Fri, Oct 07, 2016 at 03:51:48PM +0200, Ilias Seitanidis wrote:
> The problem is that I have a board based on samr21 but there is no edbg usb
> port, on the datasheet it mentions only
> reprogramming using a usb pen drive and a .bin file, I know nothing about
> the bootloader.
In
Thank you all for your replies!
@Ludwig I do wear glasses :)
The problem is that I have a board based on samr21 but there is no edbg usb
port, on the datasheet it mentions only
reprogramming using a usb pen drive and a .bin file, I know nothing about
the bootloader.
2016-10-07 15:45 GMT+02:00
If you want a binary file which is an exact byte-for-byte copy of the
microcontroller ROM you can use objcopy to convert from ELF to raw binary.
The RIOT build system also produces a HEX file for flashing, which is a
plain-text variant of the raw binary.
arm-none-eabi-objcopy -O binary myprog.elf
Hi,
I guess you need glasses ;)
If you have your target exported, then 'make' creates a binary image.
'make flash' flashes this image onto your board.
Cheers,
Ludwig
Am 7. Oktober 2016 15:29:38 MESZ, schrieb Ilias Seitanidis
:
>Dear all,
>Is it possible to create a
Hi Ilias!
On Fri, Oct 07, 2016 at 03:29:38PM +0200, Ilias Seitanidis wrote:
> Is it possible to create a bin file, which includes everything and then
> flash the .bin file
> on the board? (From what I've seen RIOT OS doesn't support this, right)
What exactly do you mean by ".bin" file? By