I'm trying to use an ATMEL ICE to program via SWD a development board that has an ATSAMD21G18A-U part mounted on the board. The D21 data sheet tells me that the -U parts come in a 45 ball grid array type of thing and include a pre-programmed bootloader. The part mounted on the board is a 12 pin on-a-side gull wing package (48 TQFP?). The board includes the 2x5 pins posts on 50mil centers for SWD to the ICE. Am I misreading the orders codes on the data sheet? Because the part I have clearly is not a 45 ball grid array device.
Also, when I try to program the device I get the following statement about memory use and the an error message:
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x5ff
configuration memory
NVMCtrl error bits set! (STATUS = 0x8, INTFLAG = 0x3)
NVMctrl reports an error
Is this error due to my trying to overwrite a pre-programmed bootloader? I don't really care about the bootloader so I'm OK with overwriting it, if that's the problem. I just don't know how to do that.
thanks,
Paul