Skip to content

Unable to flash more than 16K on SAMV71 #180

@dhylands

Description

@dhylands

I'm running ubuntu 22.04. I'm using bossa 1.9.1

Usage: bossac [OPTION...] [FILE]
Basic Open Source SAM-BA Application (BOSSA) Version 1.9.1
Flash programmer for Atmel SAM devices.
Copyright (c) 2011-2018 ShumaTech (http://www.shumatech.com)

I'm using the SAMV71 XPlained Ultra Dev Kit.

I'm able to flash programs which are under 16K without any issues. When I try to flash a program that's 16K or more, it fails at the 16K mark:

$ bossac --port /dev/ttyACM0 --write --verify --boot=1 samv71_freertos_blinky.bin 
Write 93760 bytes to flash (184 pages)
[=====                         ] 17% (33/184 pages)
Flash command failed

Output of --info

Device       : ATSAMV71x21
Version      : v1.2 Jan  6 2016 09:57:32
Address      : 0x400000
Pages        : 4096
Page Size    : 512 bytes
Total Size   : 2048KB
Planes       : 1
Lock Regions : 128
Locked       : none
Security     : false
Boot Flash   : false

It fails the same way whether I use USB or UART0 (using UART0 requires removing some resistors on the DevKit to disconnect the audio circuitry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions