upload on native port fails. (fixed by updating the bootloader)

Hi
As I'm working on debugging with Sloeber (http:\sloeber.io) I took the old zero (board from beta testing) back out of my drawer.
I updated the drivers and installed arduino IDE 1.6.13.
I succeed in uploading a sketch (basic->blink) with the programming port but the native port gives a weird problem.
Here is what the verbose output gives.

Linking everything together...
"C:\Users\jan\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-gcc"  "-LC:\Users\jan\AppData\Local\Temp\arduino_build_814725" -Os -Wl,--gc-sections -save-temps  "-TC:\Users\jan\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.9\variants\arduino_zero/linker_scripts/gcc/flash_with_bootloader.ld" "-Wl,-Map,C:\Users\jan\AppData\Local\Temp\arduino_build_814725/Blink.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o "C:\Users\jan\AppData\Local\Temp\arduino_build_814725/Blink.ino.elf" "C:\Users\jan\AppData\Local\Temp\arduino_build_814725\sketch\Blink.ino.cpp.o" "C:\Users\jan\AppData\Local\Temp\arduino_build_814725\core\variant.cpp.o" -Wl,--start-group "-LC:\Users\jan\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Lib/GCC/" -larm_cortexM0l_math -lm "C:\Users\jan\AppData\Local\Temp\arduino_build_814725/core\core.a" -Wl,--end-group
"C:\Users\jan\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-objcopy" -O binary  "C:\Users\jan\AppData\Local\Temp\arduino_build_814725/Blink.ino.elf" "C:\Users\jan\AppData\Local\Temp\arduino_build_814725/Blink.ino.bin"

Sketch uses 9,448 bytes (3%) of program storage space. Maximum is 262,144 bytes.
Atmel SMART device 0x10010005 found
Device       : ATSAMD21G18A
Chip ID      : 10010005
Version      : v1.1 Aug  7 2014 15:50:06
Address      : 8192
Pages        : 3968
Page Size    : 64 bytes
Total Size   : 248KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
Boot Flash   : true
BOD          : true
BOR          : true
Erase flash
done in 11.361 seconds

Write 9704 bytes to flash (152 pages)

[                              ] 0% (0/152 pages)An error occurred while uploading the sketch

I get the same behaviour with Sloeber (well sloeber hangs while arduino IDE seems to timeout).
Anyone has any idea on what is happening?

Best regards
Jantje

PS os=windows 10

Hi,

I would start by loading the latest bootloader and try again. They have been changes on bossac and the bootloader along the way that may make the old bootloader faulty...

Thanks indeed that did the trick :slight_smile: