error when install the raspberry pi

13 views (last 30 days)
Linoy Oren
Linoy Oren on 20 May 2021
Answered: Manas Meena on 27 May 2021
When I install the Raspberry Pi package, in the step "write firmware" i got an Error: "Error writing firmware to the memory card: An error occurred while writing to the SD card.Accese is denied.
I have the raspberry pi 4 Model b.
I tried to restart my computer and also change reader SD card but it is didn't work.
Any other suggestion?

Answers (1)

Manas Meena
Manas Meena on 27 May 2021
In Write Firmware screen of the Hardware Setup for Raspberry Pi™, you may get ‘permission denied’ error while writing the firmware to SD card. To resolve this error in Linux® or Mac operating systems, make sure to delete the 'img_writer_log.txt' file present in 'temp' directory and retry the Write operation. You can find the ‘temp’ directory of your host machine by executing the command ‘tempdir’ in MATLAB command prompt.
To resolve this issue in Windows® platform, delete 'img_writer_log.txt' and ‘sderr.txt’ present in the location, $SPKGROOTDIR/3P.instrset/raspbian.instrset where $SPKGROOTDIR is the path that you get by executing the command matlabshared.supportpkg.getSupportPackageRoot in the MATLAB command prompt.




Community Treasure Hunt

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

Start Hunting!

Translated by