The error when install the raspberry pi

6 ビュー (過去 30 日間)
Wang Mengxi
Wang Mengxi 2014 年 2 月 28 日
回答済み: Darleen Hallerbach 2022 年 7 月 18 日
When I install the Raspberry Pi package, at the write firmware step a error happened. The error is : Error writing firmware to the memory card: An error occurred while writing to the SD card.
Is anyone meet this problem before?
How to solve the problem?
  1 件のコメント
ivan nkwawir
ivan nkwawir 2020 年 2 月 13 日
I faced similar issue and unfortunatey I have a mac. After severl tries and also trying what mathworks asked to do which was to delete a "img_writer_log.txt" file, I did a few times and that still didn't work. i ended up writing the filmware to the SD card using a software which i had called "ApplepiBaker", putting the SD card in ther raspberry pi, and plugging the raspberry pi to a monitor. that gave me the chance to manually connect to the internet and finally had matlab connected to it. So short cut was using a different filmwriter, writing to the SD card and manually connecting to the internet using a monitor.

サインインしてコメントする。

回答 (7 件)

Karl Fetzer
Karl Fetzer 2017 年 12 月 12 日
I had the same problem using Windows 10 and Matlab 2017b. I do not know what caused it, but I was able to stop the error from occurring by using SDFormatter ( https://www.sdcard.org/downloads/formatter_4/ ) to reformat the SD card first, then using the Matlab Raspberry Pi hardware setup wizard.
  1 件のコメント
Nicolas TRAUN
Nicolas TRAUN 2022 年 1 月 7 日
Thank you so much!!!

サインインしてコメントする。


John Carlson
John Carlson 2019 年 1 月 16 日
I had the same problem , I did a lot of wrong things but here is how it fixed :
1- run matlab as administrator
2 - OverWrite format the SD card with SD Card Formatter [it's a software]
3- follow normal steps
I did exacly as I wrote and the problem went away . [there was another problem after that , that was not connecting properly with LAN but I did the steps again and it was ok]
  2 件のコメント
Oihan Irazu
Oihan Irazu 2020 年 2 月 28 日
Thank you!
I had the same problem and I did exactly what you said.
Really useful.
Nicolas TRAUN
Nicolas TRAUN 2022 年 1 月 7 日
Thank you so much!!!

サインインしてコメントする。


Murat Belge
Murat Belge 2014 年 2 月 28 日
The error is not descriptive enough to diagnose what is happening. General trouble-shooting steps when writing to the SD card are:
1. Start MATLAB in administrator mode. 2. Check that the lock switch on the SD card is in un-locked position. 3. Make sure that SD card size has at least 4GB of storage space.
If you perform the above and you still get an error, try using a * Different SD card * Different SD card reader/writer

Silverio G. Cortes
Silverio G. Cortes 2014 年 5 月 14 日
I got the same problem. I´ve tried with two different SD cards 16GB (Sandisk Class 4 and Lexar SDHC C10? 100x )
In addition I´ve also tried with the integrated SD car reader/wrtier of my laptop, and another portable USB card reader with no result (only the same error message: An error ocurred while unlocking the SD card volume. )
Could be a problem with the format type of the SD card? Any other suggestion?

Murat Belge
Murat Belge 2014 年 5 月 20 日
Silverio,
Did you start MATLAB in administrator mode?

joao ricardo
joao ricardo 2015 年 6 月 11 日
Yes i've tried all the solutions u wrote here and none works.

Darleen Hallerbach
Darleen Hallerbach 2022 年 7 月 18 日
I solved this issue by ensuring that the drive letter associated with the empty SD card is the same as the drive letter of the boot partition of the SD card after writing.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Raspberry Pi Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by