atmel-software-package icon indicating copy to clipboard operation
atmel-software-package copied to clipboard

Command sdcard.img Failed to write pages

Open JonathanWoodward opened this issue 6 years ago • 1 comments

I am trying to write the SD on the sama5d27-som1-ek and it fails

$ ./sam-ba --port serial:ttyACM0 --board sama5d27-som1-ek -a sdmmc:0:1 -c write:../../buildroot-2019.08/output/images/sdcard.img Opening serial port 'ttyACM0' Connection opened. Detected memory size is 15634268160 bytes. Page size is 512 bytes. Buffer is 88576 bytes (173 pages) at address 0x0022a5a0. Executing command 'write:../../buildroot-2019.08/output/images/sdcard.img' Error: Command 'write:../../buildroot-2019.08/output/images/sdcard.img': Failed to write pages at address 0x00000000 (status: 3) Connection closed.

JonathanWoodward avatar Sep 26 '19 15:09 JonathanWoodward

In order to have extra insight, would you retry with the latest SAM-BA (3.3) and issue the following: sam-ba -p serial:ttyACM0 -b sama5d27-som1-ek -a internalrc sam-ba -p serial:ttyACM0 -b sama5d27-som1-ek -t 5 -a sdmmc -c write:../../buildroot-2019.08/output/images/sdcard.img

nirvann avatar Oct 15 '19 15:10 nirvann