Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command sdcard.img Failed to write pages #81

Open
JonathanWoodward opened this issue Sep 26, 2019 · 1 comment
Open

Command sdcard.img Failed to write pages #81

JonathanWoodward opened this issue Sep 26, 2019 · 1 comment

Comments

@JonathanWoodward
Copy link

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.

@nirvann
Copy link
Contributor

nirvann commented Oct 15, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants