WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2013-Nov-12 06:41:55

crimechb
Member
Registered: 2010-Sep-01
Posts: 205

About WARPv3 SD card

How to format the new SD card for WARPv3?

Offline

 

#2 2013-Nov-12 08:35:39

welsh
Administrator
From: Mango Communications
Registered: 2013-May-15
Posts: 612

Re: About WARPv3 SD card

You can find a tutorial about how to configure the FPGA via SD cards here:  http://warpproject.org/trac/wiki/howto/SD_Config

It has steps about how to program the SD card.

Offline

 

#3 2013-Nov-12 10:05:15

crimechb
Member
Registered: 2010-Sep-01
Posts: 205

Re: About WARPv3 SD card

Thanks you for your answer.

I know how to config  the FPGA via SD cards.
Do you know how to partition and format a new SD card for WARPv3?

Offline

 

#4 2013-Nov-12 10:18:10

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

Re: About WARPv3 SD card

The WARP v3 configuration circuit doesn't care about the format of the SD card- the only requirement is the card be standard SD (<= 2GB), not SDHC/XC.

For convenience we format the SD cards included with WARP v3 kits with one 32MB FAT32 partition, with the rest of the volume unallocated. The WARP v3 config circuit expects the first .bin to be located above 32MB. This scheme allows the card to be inserted into a PC and have it mount, but prevents the OS from writing files to the same area as the config .bin files.

Formatting the card with one 2GB FAT32 partition would also work, as long as you're careful to avoid copying large files (i.e. letting the OS filesystem overwrite the area written by dd with the .bin file)

Offline

 

#5 2013-Nov-12 10:31:00

crimechb
Member
Registered: 2010-Sep-01
Posts: 205

Re: About WARPv3 SD card

Thanks.

Offline

 

#6 2014-Dec-29 02:36:34

crimechb
Member
Registered: 2010-Sep-01
Posts: 205

Re: About WARPv3 SD card

Dear murphpo,

We bought a new 2G SD card.
But the dd software seems can not program it. ( NO SD write protect)


http://www.haleytech.com/WARP/SD_Card.png

Offline

 

#7 2014-Dec-29 10:35:00

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

Re: About WARPv3 SD card

I'm not sure what the problem is- we use win-dd occassionally, but use dd in OS X and Linux much more frequently (and successfully). The native dd provided by cygwin is also an option.

Offline

 

#8 2014-Dec-29 21:21:48

shixuan Zheng
Member
Registered: 2014-Oct-13
Posts: 25

Re: About WARPv3 SD card

I think this problem maight be your SD card is not the one they asked or you do not open the SD card lock.I use win-dd in windows frequently and successfully

Offline

 

#9 2014-Dec-30 07:57:54

crimechb
Member
Registered: 2010-Sep-01
Posts: 205

Re: About WARPv3 SD card

I found the solution.

http://forum.xda-developers.com/showthr … st10984205

If you're getting "Error writing file: 5 Access is denied" when writing to the new card: Ensure you're running cmd.exe as Administrator, and..

Run "diskpart"
list disk
select disk #
clean
create partition primary
active
clean (yes, again)
exit


Code:

c:\dd-0.6beta3>win-dd bs=512 seek=131072 if=802.bin of=\\?\Device\Harddisk3\Part
ition0 --progress
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.

0 Error writing file: 5 存取被拒。
0
1+0 records in
0+0 records out

c:\dd-0.6beta3>diskpart

Microsoft DiskPart 版本 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
在電腦: PAUL-PC

DISKPART> list disk

  磁碟 ###  狀態           大小     可用     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  磁碟 0    連線              111 GB      0 B
  磁碟 1    連線              931 GB      0 B
  磁碟 2    沒有媒體               0 B      0 B
  磁碟 3    連線             1964 MB      0 B

DISKPART> select disk 3

磁碟 3 是所選擇的磁碟。

DISKPART> clean

DiskPart 成功地清理了磁碟。

DISKPART> create partition primary

DiskPart 成功地建立了指定的磁碟分割。

DISKPART> active

DiskPart 已標記目前的磁碟分割為使用中。

DISKPART> clean

DiskPart 成功地清理了磁碟。

DISKPART> exit

正在離開 DiskPart...

c:\dd-0.6beta3>win-dd bs=512 seek=131072 if=802.bin of=\\?\Device\Harddisk3\Part
ition0 --progress
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.

9,232,444 Error reading file: 87 參數錯誤。

18032+1 records in
18032+1 records out

c:\dd-0.6beta3>

Last edited by crimechb (2014-Dec-30 08:01:46)

Offline

 

#10 2015-Mar-23 02:27:36

RAJA
Member
Registered: 2014-Aug-25
Posts: 24

Re: About WARPv3 SD card

Hi,

I tried to Copy the reference Design into an SD car but I can do it.  I am running the cmd as admin and I got this error:

C:\RAJA\Mango_802.11_RefDes_v1.2.0\EDK_Projects\Mango_802.11_RefDes_v1.2.0\SDK_W
orkspace>promgen -u 0 download.bit -p bin -spi -w
'promgen' is not recognized as an internal or external command,
operable program or batch file.

C:\RAJA\Mango_802.11_RefDes_v1.2.0\EDK_Projects\Mango_802.11_RefDes_v1.2.0\SDK_W
orkspace>

I would highly appreciate if some one can help me to resolve this issue.

Offline

 

#11 2015-Mar-23 08:54:20

welsh
Administrator
From: Mango Communications
Registered: 2013-May-15
Posts: 612

Re: About WARPv3 SD card

The promgen command is part of the Xilinx SDK installation and is used to convert a bitstream (ie a .bit file) that has been generated by the SDK to a .bin file that can be used to copy to an SD card.  It is accessed via the Xilinx Shell and not on the normal command line. 

If you look at the instructions in the SD Card How-to, the promgen command is in the "Converting download.bit" section and has instructions about how to use the command.

If you already have a .bin file, then you should use the instructions in the "Copying .bin Files SD Cards" section.  This is where you can have issues with dd not running as Administrator.

Offline

 

#12 2015-Apr-01 21:04:38

RAJA
Member
Registered: 2014-Aug-25
Posts: 24

Re: About WARPv3 SD card

Hi,

When I try generating a .bit file on SDK by using the Program FPGA tool, I have to select Bitstream and a BMM file, which files should I point to?

Does the w3_sd_newCard.bin provided on the webpage contain the last 802.11 Reference Design (v.1.2.0)?

Thanks for your help

Offline

 

#13 2015-Apr-01 21:10:29

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

Re: About WARPv3 SD card

When I try generating a .bit file on SDK by using the Program FPGA tool, I have to select Bitstream and a BMM file, which files should I point to?

These fields should be automatically filled in by the tools, pointing to the system.bit and system_bd.bmm files in the _hw_platform project of the SDK workspace.

Does the w3_sd_newCard.bin provided on the webpage contain the last 802.11 Reference Design (v.1.2.0)?

No. Quoting the SD config howto:

The SD cards shipped with WARP v3 kits are pre-programmed with a known good design that implements a simple counter displayed on the hex displays. To re-program your SD card with this design, use this file: w3_sd_newCard.bin.zip​ (unzip to retrieve the .bin file).

The .bin files for the reference designs are included in the reference design .zip archives.

Offline

 

#14 2015-Apr-02 01:49:29

RAJA
Member
Registered: 2014-Aug-25
Posts: 24

Re: About WARPv3 SD card

The last update for the w3_sd_newCard.bin.zip was 18 months ago and the last update for the 802.11 Reference Design was two months ago, so I don't know if the latest 802.11 reference design will be included in the file.

My concern is because I am using the wlan_exp Python package given in the 802.11 reference design v.1.2.0 and in the SD Card I have the provided w3_sd_newCard.bin so I don' know if this will be a problem.

Offline

 

#15 2015-Apr-02 08:12:23

welsh
Administrator
From: Mango Communications
Registered: 2013-May-15
Posts: 612

Re: About WARPv3 SD card

The w3_sd_newCard.bin is not the 802.11 reference design. As Patrick said, the w3_sd_newCard.bin is a simple counter displayed on the hex displays. 

The bin files to use with the 802.11 reference design are in the Bitstream_Reference folder within the zip file.  To use one of the bin files of the 802.11 reference design, you have to re-program the SD card.

Offline

 

Board footer