WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2013-Aug-27 18:01:10

yjqiao
Member
From: Rice University
Registered: 2013-Aug-21
Posts: 17

sd card access denied

I have a windows machine. I just followed the instruction to write the .bin file to a SD card. When I executed the last step,

dd bs=512 seek=<base_block_addr> if=<config_file.bin> of=<sd_device_descriptor>

, I got the following error:

0 Error writing file: 5 Access is denied
0
1+0 records in
0+0 records out

Do you know what could have caused the error?

I used the SD card reader built into my laptop, and I was able to move files in and out of the SD card with Windows Explorer.

Offline

 

#2 2013-Aug-27 19:51:57

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: sd card access denied

What values did you use for <base_block_addr>, <config_file.bin> and <sd_device_descriptor>?

Are you logged in as an admin user? Low-level disk access may not work under a non-admin account.

Besides that I'm not sure what else it could be. I have limited experience with dd under Windows- I've had much better luck on OS X and Linux.

Offline

 

#3 2013-Aug-28 05:49:52

Christian
Member
Registered: 2010-Feb-26
Posts: 124

Re: sd card access denied

Could it be that you accidentally hit the write-protection flip on the side?

Offline

 

#4 2013-Sep-19 10:51:08

yjqiao
Member
From: Rice University
Registered: 2013-Aug-21
Posts: 17

Re: sd card access denied

for record keeping purposes, the problem probably has to do with the SD card format. I used a properly formatted Mango supplied SD card, and it worked.

Offline

 

#5 2020-Aug-18 23:23:25

tengluo
Member
Registered: 2020-Aug-18
Posts: 2

Re: sd card access denied

yjqiao wrote:

for record keeping purposes, the problem probably has to do with the SD card format. I used a properly formatted Mango supplied SD card, and it worked.

How do you format SD card correctly? Can you share the method?thank you

Offline

 

#6 2020-Aug-19 09:54:56

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: sd card access denied

WARP v3 nodes shipped with an SD card with two partitions - a 32MB FAT partition at the root (not accessed by the W3 node, available for user files) and an empty (unformatted) partition for the rest of the drive past 32MB (used for .bin files). You should be able to re-create this using any disk partition manager. Also ensure you're calling dd in a console with administrator privileges.

Offline

 

Board footer