arm-none-eabi-gdb hanging on 'load'

I am attempting to use arm-none-eabi-gdb to program the ATSAM3X8E chip on an Arduino Due board.  The binary I am using is a simple blink program, and I know if works because I have run it via the Arduino IDE.

I am working in Windows 10, using Powershell, and a Black Magic Debug Probe.  I seem to be able to connect to the target, but not program it.  When I get to the 'load' command, I get an error on the first try "Error erasing flash with vFlashErase packet".   Then if I try 'load' again, the whole program hangs indefinitely until I kill it with ctrl-c.   The full powershell session is shown below.

If anyone could suggest what the problem might be, or any avenues for investigation, I would be very grateful.

PS C:\arduino_binaries\New folder> arm-none-eabi-gdb .\Blink1.ino.elf
GNU gdb (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 14.2.90.20240526-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.linaro.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .\Blink1.ino.elf...
(gdb) tar ext \\.\COM26
`C:\arduino_binaries\New folder\Blink1.ino.elf' has changed; re-reading symbols.
Remote debugging using \\.\COM26
(gdb) mon jtag_scan
Target voltage: 3.3V
Please report Designer   0 and Partno   0 and the probed device
Available Targets:
No. Att Driver
 1      Atmel SAM3X M3
(gdb) att 1
Attaching to program: C:\arduino_binaries\New folder\Blink1.ino.elf, Remote target
0x00080ae4 in adc_configure_timing ()
(gdb) load
Error erasing flash with vFlashErase packet
(gdb) load