Flashing NAND flash SAMA5D3 EK

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

Posts: 31
Joined: Sun Jul 21, 2013 12:55 pm

Flashing NAND flash SAMA5D3 EK

Wed Sep 11, 2013 10:06 pm

I would like to load the prebuilt package in the NAND flash SAMA5D3 EK board. I downloaded the prebuilt package from the following link.

android4sam/bin/view/Android4SAM/ICS4SAMA5D3xEK (Prebuilt demo package)

The download was unzipped and included many .dtb, .tcl and .img files as well as the uImage file.

I have looked at the following link to flash the NAND - Heading Flashing the demo


The literature is looking for .sh file. Where do I find this file?

Update 1: Feedback from Atmel (9/12/2013)
In fact, this package is basically made for Windows PC and you are able to find the script named with .bat file.
You are able to make the corresponding shell script file for linux. For example:


sam-ba /dev/ttyACM0 AT91SAMa5d3x-EK sama5d3xek_demo_linux_nandflash.tcl > logfile.log 2>&1
cat logfile.log

Update 2

When I do the above I get a connection error?

-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.12 on : linux
-I- Retrieved arguments from command line :
-I- argv 0 : /dev/ttyACM0
-I- argv 1 : AT91SAMa5d31-EK
-I- argv 2 : /android4sam_v4.0/Android-4.2.2_r1.1-sama5d3x-nandboot/sama5d3ek_nandflash.tcl
-E- Connection /dev/ttyACM0 not found
-E- Connection list :

Update 2 > Solution sudo chmod 777 /dev/ttyACM*

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest