I am setting up the Nano 33 IOT so that I can use IDE2 for debugging sketches. I have followed the datasheet to solder wires onto SWDIO, SWCLK, Vcc, GND, Reset pads on reverse side and connected the Atmel SAM ICE fish tail to these as follows:
SWDIO ==> SAM ICE #2
GND ==> SAM ICE #3
SWCLK ==> SAM ICE #4
Vcc ==> SAM ICE #1
Reset ==> SAM ICE #10
With Atmel SAM ICE connected via USB and recognized in Windows device list as OK; Nano powered via a usb power supply (not via pc); the Arduino IDE does not seem to recognize the Atmel ICE programmer automatically and is unable to upload the compiled code.
To check I have made good connections, I was able to read the chip's flash memory using Microchip Studio through Atmel SAM ICE. However, I was still unable to program the flash using same tools. Examining the datasheet for the Atmel chip it indicates that there can be a conflict with the SPI interface and may it be necessary to clear the DWEN fuse manually?
So I am wondering if the Arduino IDE2 takes this into consideration and handles the fuses automatically or not?
I read the example of using the MKR1000 that suggests the Arduino IDE should recognize the Atmel SAM ICE automatically, so is there an issue here? I believe the Nano may be configured differently as is using different wifi/ble chip set.
Thank you in advance for any help one can give me.
regards, Paul.