Hi updartes:
point 1) Now work fine, is necessary re-opened the monitor alway before use. If monitor is already open dosen't work,
point 2): after 10 boards the problem is alway the same: is not possibile lunch the debug if before you do not upload via USB. No erros occours. Below the output window on NO working condition.
Debugger: Atmel ICE
Compiling 'MT2040-1909.01ETH' for 'Arduino Due (Native USB Port)'
Program size: 40.264 bytes (used 8% of a 524.288 byte maximum) (0,72 secs)
Uploading 'MT2040-1909.01ETH' to 'Arduino Due (Native USB Port)' using 'ATMEL-ICE'
Uploader started for board Arduino Due (Native USB Port)
Uploader will use programmer name: openocd_atmelice
C:\ProgramData\vmicro\tools\openocd-0.10.0.1\bin\openocd.exe -d2 -s "C:\ProgramData\vmicro\tools\openocd-0.10.0.1/share/openocd/scripts/" -c "interface cmsis-dap" -c "cmsis_dap_vid_pid 0x03eb 0x2141" -c "set CHIPNAME at91sam3X8E" -c "source [find target/at91sam3ax_8x.cfg]" -c "echo -n {****[vMicro]**** Uploading ELF :}" -c "telnet_port disabled; program ug/MT2040-1909.01ETH.ino.elf}} reset; shutdown"
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html debug_level: 2
at91sam3X8E
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
adapter speed: 500 kHz
adapter_nsrst_delay: 100
cortex_m reset_config sysresetreq
****[vMicro]**** Uploading ELF :Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: JTAG Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 01.27.0082
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 500 kHz
Info : SWD DPIDR 0x2ba01477
Info : at91sam3X8E.cpu: hardware has 6 breakpoints, 4 watchpoints
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0010004c msp: 0x20001000
** Programming Started **
auto erase enabled
Info : sam3 auto-erases while programming (request ignored)
wrote 49152 bytes from file /MT2040-1909.01ETH.ino.elf in 6.327702s (7.586 KiB/s)
** Programming Finished **
** Resetting Target **
shutdown command invoked
The upload process has finished.