Chip123 科技應用創新平台

標題: xilinx板子問題 [打印本頁]

作者: hclu0329    時間: 2007-9-7 09:03 PM
標題: xilinx板子問題
最近在用 virtex-II 板子,想把sysace 掛在opb上,對cf卡讀寫,但板子上 system ace 的error 的led一直都是亮的,CF卡也格式化成fat16,但error也是亮的,請問這要怎麼解決,因為讀寫一直都不成功" c. ?6 e) G$ ^8 B( T: n( S' a3 c
( _7 J& ^( z; j
                                                                                                               謝謝
作者: tommywgt    時間: 2007-9-10 03:02 PM
引起這種問題的原因可能性太多了, 所以在這種地方很難問, 你要不要考慮找local FAE直接support你呢?
作者: jason_lin    時間: 2007-9-10 05:56 PM
標題: 回復 #1 hclu0329 的帖子
Xilinx網站上有一些Q & A,或許會幫到你,如下:
8 c# l5 `8 D8 y0 F; r$ |  c3 g+ shttp://china.xilinx.com/xlnx/xil ... p;getPagePath=14456, _0 J! t- Y( U9 Y

0 N# Q; s8 b" i  g! A- W. F1 v解决方案 1:
! B6 _. J  t. mFor Windows 2000, you can correct the formatting problems described above by formatting the CF card with a sector-per-cluster size of more than one (UnitSize greater than 512), and specifying the FAT format. You can do this by using the command-line "format" command with the "/fs:" and "/a:" options as follows: ) B/ I  i1 F5 x3 ]
! a' E5 y& ?4 C( G$ `
format volume [/fs:file-system] [/a:UnitSize] & R6 S/ Q1 F' G5 U' ]! E1 A

2 t% v& v2 g! K2 O% ?9 ^' wUnitSize should be specified as 1024, 2048, 4096, 8192, 16K, 32K, 64K, (128K, 256K for sector size > 512 bytes). - }5 U8 A) L2 s1 U6 ~
9 l8 V, y$ j/ g6 d8 J: A6 ^
For example:
  C( ?% P; t. E% _0 f& hFor CF cards 0 MB - 64 MB: format D: /FS:FAT /A:1024
( v* g, R( t- b. f. z# n" |3 IFor CF cards 65 MB - 128 MB : format D: /FS:FAT /A:2048 ' |  j( m1 c* ^: |. `1 O
For CF cards 129 MB - 255 MB : format D: /FS:FAT /A:4096
2 e; J" V# z; ?  @) `5 jFor CF cards 256 MB - 511 MB : format D: /FS:FAT /A:8192
& k* \& {' I0 t# S5 xFor CF cards 512 MB - 1023 MB : format D: /FS:FAT /A:16K 2 I6 ~' x0 C: d; Z" P. [
For CF cards 1 GB : format D: /FS:FAT /A:32K ) u2 W* w# I' `) _% i, O
For CF cards 2 GB - 4 GB : format D: /FS:FAT /A:64K
* h9 u, a, E$ ]/ d  }7 t7 H6 S# P( w6 {" ^  i4 x
NOTE: The disk geometry determines the point at which a larger cluster size is needed because the number of clusters on the volume must fit into 16 bits.
) m1 f+ q, L5 U/ T& T6 z; \
- `, s9 h6 k: B6 G" t, }解决方案 2:
, H) M. o2 G# ?# s7 p% v0 ZThe third problem listed above is a problem specifically caused by formatting the CF card using the DOS format command on Windows XP because more than one reserved sector is automatically created. The DOS format command does not allow you to specify the number of reserved sectors needed, so an alternate disk formatting tool should be used. Some CF card readers are delivered with a disk formatting (or disk initialization) utility included that formats the CF card with the expected default value of one reserved sector. You can install this utility or other third-party disk format utilities (that allow you to specify the number of reserved sectors) on your Windows XP machine and use it to format the CF card. Alternatively, you can use a non-Windows XP machine or a digital camera to format the CF card. Once the CF card is correctly formatted, you can use Windows XP to perform normal file access (read/write) operations without causing any additional problems.
. t9 b2 s1 Q) i! G* _$ k/ p& {( X) Z$ t/ G& m
The "mkdosfs" formatting utility has been successfully used to correctly re-format the CF card for use with the SystemACE CF controller when using a Windows XP machine. This freeware is available for download at: / B1 W' x* N  o8 E  q/ [. F7 m
http://www1.mager.org/mkdosfs/ 5 D% `# y7 C8 J

2 ?+ b; D, D9 s. O! {: x7 d( J; j4 |
Use the default "mkdosfs" command to format the CF card.
) K- u8 Q! O7 s" z2 ^0 `
; Z. B/ @0 Z) [6 z$ {, V+ LFor example: 8 M2 o9 ~, o: N1 N' d- g1 v
) m/ z2 k! b1 V5 z4 ~
c:\> mkdosfs D:
+ a) `$ j( O& y: [3 l5 ^# h3 S7 x  h8 |8 b7 A$ C
The default "mkdosfs" command automatically formats the CF card in either FAT12 or FAT16 format, with at least two sectors-per-cluster, and only one reserved sector.




歡迎光臨 Chip123 科技應用創新平台 (http://chip123.com/) Powered by Discuz! X3.2