AT91SAM7XC gpnvm

Hi

I’m trying without success to flash and boot my AT91SAM7XC256 based device, using windows openocd r141 with an olimex arm-usb-ocd.

I think I’ve found the problem; when I give the command

at91sam7 gpnvm 0 2 set

I get the error;

gpnvm bit ‘#2’ is out of bounds for target AT91SAM7XC256

I can’t point to an easy place in the data sheet, but I think this part has at least 3 gpnvm bits, like the AT91SAM7X256.

The datasheet suggests this; from the atmel site, in doc6209.pdf, under “sam-ba boot assistant”, i found on page 23 a description of GPNVM Bit 2.

Has anyone used this part successfully? I’ve used the olimex board successfully, so I’m at a bit of a loss.