Programming the SAMA7D65 Curiosity Board - atmel-maxtouch/maXTouch_linux_6.12 GitHub Wiki

Programming the SAMA7D65 board requires the use of SAM-BA v3.9.1. Both Windows and Linux options are available.
In this section, the Linux version was used.

Follow the instructions within the putty Terminal Program to get connected to the SAM7D65 boardd

To enter the bootloader mode of the SAMA7D65board:

  1. Open J39 "QSPI Boot" and J36 "NAND Boot" jumpers
  2. Power on the board while holding down the RESET button
  3. Release the RESET button
  4. Finally close the J39 and J36 jumpers.

Note the RomBOOT message should show up within the putty terminal window. The RomBOOT message will cycle approximately every 10s as the USB connect is disconnecting and reconnecting.

Programming can start after receiving the RomBOOT message.

Entering Emulation Mode

Once completed the board will need to be placed into emulation mode. This is an added step based on other prior boards used for Linux development. This step is required to boot from NAND Flash.

If there is a connection issue with the maXTouch device, the following error messages may appear:

[    1.439719] atmel_mxt_ts 2-004b: Resetting chip
[    2.483944] atmel_mxt_ts 2-004b: __mxt_write_reg_crc: i2c send failed (-5)
[    2.489434] atmel_mxt_ts 2-004b: Read Info Block failed(-5)
[    2.493681] atmel_mxt_ts 2-004b: Checking for bootloader mode.
[    2.498160] atmel_mxt_ts 2-004b: Bootloader address: 25
[    2.502497] atmel_mxt_ts 2-004b: mxt_bootloader_read: i2c recv failed (-121)
[    2.508159] atmel_mxt_ts 2-004b: Trying alternate bootloader addr
[    2.512898] atmel_mxt_ts 2-004b: Bootloader address: 27
[    2.517243] atmel_mxt_ts 2-004b: mxt_bootloader_read: i2c recv failed (-121)
[    2.523010] atmel_mxt_ts 2-004b: probe with driver atmel_mxt_ts failed with error -121

This indicates the chip is missing or there is a connection issue.
The maXTouch Linux driver will try to test for bootloader mode before it reports a failure.