Re: Adafruit Trinket M0: west flash > How to? #flash #west

Bolivar, Marti

Hi Yas,

"yasokada via Lists.Zephyrproject.Org"
<> writes:

[Edited Message Follows]

Dear Marti and William

Thank you for your reply.

I tried using " --bossac-port", but still have problem about "-o" option.

I checked my bossac option by
$ ~/Zephyr_191116/zephyr-sdk-0.10.3/sysroots/x86_64-pokysdk-linux/usr/bin/bossac --help

Usage: bossac [OPTION...] [FILE]
Basic Open Source SAM-BA Application (BOSSA) Version 1.7.0
Flash programmer for Atmel SAM devices.

There is no "-o" option for my bossac.
My environment is Ubuntu 18.04 LTS.
I checked the bossac source code and the option seems to be available,
so it doesn't look like there's a problem with the code in the
zephyr repository that is using --offset:

I'm not sure why the bossac that ships with the Zephyr SDK doesn't have
the --offset option. I checked the version that ships with bossa-cli on
Ubuntu 18.04 and it doesn't seem to have it either, as you say.

I would try compiling bossac from source trying that version. Please
consider filing a bug against the Zephyr SDK about the missing option if
that solves your issue.

I have found this.
Adafruit Trinket M0 Bossac Offset is Wrong #16052

For Adafruit Trinket M0, the address is specified using "-o 0x2000". However, because my bossac does not have "-o" option, the problem occurs.
It seems that I have to update my environment to have newer? bossac
By the way, it looks like the person who added this board in commit
4f9864b15b263dcf7d6e204ac79f3d96a8a30e64 is no longer active on Zephyr
(the last contribution they made is from March 2018), so it's possible
that this board is unmaintained.

Hope you figure out your issue.


Join to automatically receive all group messages.