SAMA7D65 Curiosity Pro

Last modified by Microchip on 2026/11/20 06:10

SoC Features

The SAMA7D65 MPU is a high-performance Arm® Cortex®-A7 CPU-based embedded microprocessor (MPU) running up to 1 GHz.

The board allows evaluation of powerful peripherals for connectivity, audio and user interface applications, including MIPI DSI® and Low-Voltage Differential Signaling (LVDS) with 2D graphics, dual Gigabit Ethernet with Time-Sensitive Networking (TSN), and Controller Area Network with Flexible Data-rate (CAN-FD).

The MPUs offer advanced security functions, like tamper detection, secure boot, secure key storage, True Random Number Generator (TRNG), Physically Unclonable Function (PUF), as well as higher-performance crypto accelerators for Advanced Encryption Standard (AES), and Secure Hash Algorithm (SHA).

Kit Information

Kit Overview

SAMA7D65 Curiosity Pro

SAMA7D65 Curiosity Pro

Access the Console

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.Boards.common-serial.WebHome]]. Click on this message for details.

Access the Console on DEBUG Serial Port

The serial console can be accessed from the DEBUG port with the help of a TTL-to-USB serial cable (marked as DEBUG J63).

Using DEBUG on TTL-to-USB Connector (DEBUG J63)

  • For Microsoft Windows® users: 
    • Download and install the driver for your USB Transistor-Transistor Logic (TTL) serial cable.
    • Be sure to connect a 3.3V compatible cable and identify its ground (GND) pin. Place it properly according to the silkscreen and connect the cable to the board (J63).
    • Identify the USB connection that is established. The USB serial port should appear in Device Manager. The COMxx number will be used to configure the terminal emulator.
      USB serial line
  • For Linux® users: 
    • Identify the serial USB connection by monitoring the last lines of the dmesg command. The /dev/ttyUSBx number will be used to configure the terminal emulator.
      usb 1-1.1.2: new full-speed USB device number 17 using ehci-pci
      usb 1-1.1.2: New USB device found, idVendor=0403, idProduct=6001
      usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      usb 1-1.1.2: Product: TTL232R-3V3
      usb 1-1.1.2: Manufacturer: FTDI
      usb 1-1.1.2: SerialNumber: FTGNVZ04
      ftdi_sio 1-1.1.2:1.0: FTDI USB Serial Device converter detected
      usb 1-1.1.2: Detected FT232RL
      usb 1-1.1.2: Number of endpoints 2
      usb 1-1.1.2: Endpoint 1 MaxPacketSize 64
      usb 1-1.1.2: Endpoint 2 MaxPacketSize 64
      usb 1-1.1.2: Setting MaxPacketSize 64
      usb 1-1.1.2: FTDI USB Serial Device converter now attached to ttyUSB0
      A /dev/ttyUSB0 node has been created.
    • Now, open your favorite terminal emulator with appropriate settings.

Back to Top

Demo

Demo Archives

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.demo-archive.archive2026_04.sama7d65curiositypro.WebHome]]. Click on this message for details.

Information

See the "Verify Demo Signature" page.

Create an SD Card With the Demo

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.faq.demo-sd.WebHome]]. Click on this message for details.

Flash the Demo

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.flash-demo-rootfs-nand.WebHome]]. Click on this message for details.

Run Script to Flash the Demo

  • Download the demo package for the board.
  • Extract the demo package.
  • Run your usual terminal emulator and enter the demo directory.
  • Make sure that the SAM-BA application is in your operating system path so that you can reach it from your demo package directory.
  • For Microsoft Windows users:
    • Launch the demo_linux_nandflash.bat file.
  • For Linux users:
    • Launch the demo_linux_nandflash.sh file.
  • This script runs SAM-BA software v3 and the associated QML sam-ba script (demo_linux_nandflash_usb.qml) with proper parameters.
  • When you reach the end of the flashing process (this will take a few minutes), the following line is written:
    -I- === Done. === 
  • Connect a serial link on DBGU and open the terminal emulator program as explained just above.
  • Power cycle the board.
  • Monitor the system while it is booting on the LCD screen or through the serial line.

Run Script to Boot in Emulation Mode

  • Make sure the SD card is removed.
  • Run the following script to boot the board in emulation mode.
  • Microsoft users:
    • Run the demo_linux_nandflash_emul.bat file.
  • Linux users:
    • Run the demo_linux_nandflash_emul.sh file.
  • The script writes the boot configuration packet and the board should boot from NAND flash.

Back to Top

Build From Source Code

Set Up Arm Cross Compiler

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.cross-compiler.13-2-rel1.WebHome]]. Click on this message for details.

Build AT91Bootstrap From Sources

This section describes how to get source code from the git repository, how to configure with the default configuration, how to customize AT91Bootstrap based on the default configuration, and finally, how to build AT91Bootstrap to produce the binary. Take the default configuration to download U-Boot from !NandFlash, for example.

SAM-BA Software Tool

The SAM-BA software tool is required to add a header in the at91bootstrap image (for both manual compilation and through build systems like Buildroot or Yocto Project®). Download the SAM-BA software.

Uncompress the tgz file in your workspace by executing:

$ tar xvzf sam-ba_v3.9.1-linux_x86_64.tar.gz

Make sure to add the SAM-BA application to your $PATH and verify that you have the correct
version:

$ sam-ba -v
SAM-BA Command Line Interface Tool v3.9.1 (linux - x86_64-little_endian-lp64)
Copyright 2025 Microchip Technology
Information

Note: This tool was tested with the Ubuntu distribution v22.04 and onward. It is known not to work on Ubuntu v20.04 and previous versions, generating issues, for example:

sam-ba: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by sam-ba)

Get AT91Bootstrap Source Code

You can easily download AT91Bootstrap source code from the at91bootstrap git repository.

To get the source code, clone the repository by executing:

$ git clone https://github.com/linux4sam/at91bootstrap.git
Cloning into 'at91bootstrap'...
remote: Enumerating objects: 17621, done.
remote: Counting objects: 100% (3324/3324), done.
remote: Compressing objects: 100% (1029/1029), done.
remote: Total 17621 (delta 2465), reused 3102 (delta 2285), pack-reused 14297
Receiving objects: 100% (17621/17621), 5.65 MiB | 4.65 MiB/s, done.
Resolving deltas: 100% (13459/13459), done.
$ cd at91bootstrap/

Configure AT91Bootstrap

Assuming you are at the AT91Bootstrap root directory, you will find a configs folder that contains several default configuration files:

sama7d65_curiosity_pro_bkptnone_defconfig
sama7d65_curiosity_pro-bsrnf_uboot_defconfig
sama7d65_curiosity_pro-bsrsd1_uboot_defconfig
sama7d65_curiosity_prodf_qspi_uboot_defconfig
sama7d65_curiosity_pronf_uboot_defconfig
sama7d65_curiosity_prosd1_uboot_defconfig
Information

QSPI means to read Quad Serial Peripheral Interface (QSPI) serial flash, SD means to read SD/MMC card, and nf means to read NAND flash.

You can configure AT91Bootstrap to load the U-Boot binary from the SD card by executing:

$ make mrproper
$ make sama7d65_curiosity_pro-bsrsd1_uboot_defconfig

If the configuration process is successful, the .config file can be found at the AT91Bootstrap root directory.

Customize AT91Bootstrap

If the default configuration doesn't meet your needs, after configuring with the default configuration, you can customize it by executing:

$ make menuconfig

Now, in the menuconfig dialog,  you can easily add or remove some features to/from AT91Bootstrap in the same way you configure the kernel. Use the arrow keys to navigate to <Exit> and press this button, pressing the Enter key to exit from this screen.

Build AT91Bootstrap

Then you can build the AT91Bootstrap binary by executing:

$ make

If the building process is successful, the final BIN image is build/binaries/boot-plaintextimg.bin. The boot-plaintextimg.bin is the boot format to be used for booting the sama7d65 SoC.

Warning

Warning: This boot-plaintextimg.bin file name is different from the preceding SoC in the Microchip MPU family; pay attention to that while rebuilding AT91Bootstrap.

Build U-Boot From Sources

Getting U-Boot Sources

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.u-boot.uboot-get-source.WebHome]]. Click on this message for details.

Cross-Compiling U-Boot

Before compiling U-Boot, you need to set up the cross-compile toolchain in the "Set Up Arm Cross Compiler" section.

Warning

The latest versions of U-boot (2018.07 and newer) have a minimum requirement of 6.0 version of the GCC toolchain. We always recommend using the latest versions.

Once the AT91 U-Boot source is available, cross-compiling U-Boot is done in two steps: configuration and compiling. Check "Building with GCC" in the U-Boot reference manual.

Information

Go to the configs/ to find the exact target when invoking make.

The U-Boot environment variables can be stored in different media; the config files can specify where to store the U-Boot environment.

   # To put environment variables in SD/MMC card:
  sama7d65_curiosity_pro_mmc1_defconfig

Here are the building steps for the SAMA7D65 Curiosity Pro board:

# You can change the config according to your needs.
make sama7d65_curiosity_pro_mmc1_defconfig
make

The result of these operations is a fresh U-Boot binary called u-boot.bin corresponding to the binary ELF file u-boot.

  • u-boot.bin is the file you should store on the board.
  • u-boot is the ELF format binary file you may use to debug U-Boot through a JTAG link, for instance.

Build Kernel From Sources

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.components.linuxkernel.linuxkernel-6-12.build-linux-sama7d65curiosity.WebHome]]. Click on this message for details.

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.components.linuxkernel.linuxkernel-6-12.build-linux-bottom.WebHome]]. Click on this message for details.

Back to Top

Build Yocto Project rootfs From Sources

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.faq.oebuild.oe-build.WebHome]]. Click on this message for details.

Back to Top

Using SAM-BA Software to Flash Components to the Board

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.demo-nand-map.WebHome]]. Click on this message for details.

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.install-samba.WebHome]]. Click on this message for details.

Launch SAM-BA Software Tools

Warning

Make sure that the chip can execute the SAM-BA monitor.

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.launch-master-page.WebHome]]. Click on this message for details.

Back to Top

Configure NAND ECC

Using Default PMECC Parameters

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.ecc-config.sama7d65curiosity.WebHome]]. Click on this message for details.

Information

Note: The device name used in sam-ba is SAMA7D65 Curiosity for SAMA7D65 Curiosity Pro as well.

Back to Top

Programming Components Into NAND

Program AT91Bootstrap Binary

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.flash-nand-at91bootstrap.sama7d65curiosity.WebHome]]. Click on this message for details.

Program U-Boot Binary

Failed to execute the [display] macro. Cause: [Current user [null] doesn't have view rights on document [xwiki:Development.applications.linux4sam.subsections.sam-ba3.flash-nand-uboot.sama7d65curiosity.WebHome]]. Click on this message for details.

Back to Top

Recent FAQ

Back to Top