I'm working on an Arduino project using an Arduino Zero based board with a SAMD21J18A. If I create a new project in ATMEL Studio, indicating I'm using an Arduino Zero, I have to choose SAMD21G18A.
I select the tool ( I have a j-link 261000470 ), which in other projects it's able to upload bootloaders and FWs.
If I compile with SAMD21G18A I don't have errors, while if I upload I rightly have an error cause the SAMD version is not correct.
I change device to SAMD21J18A but if I compile again I have the following error:
If I switch back to the SAMD21G18A the error still exists and I'm not able to compile anymore. What's wrong?