rejestr CID karty mmc

Jun 04, 2005 0 Replies

witam wszystkich, mam problem z "wy³uskaniem" nazwy producenta (pole PRODUCT NAME rejestru CID karty mmc) z poziomu bascoma...



oto fragment kodu :



'wysy³am komendê : Dat = &H4A Shiftout Mosi , Clk , Dat , Msbl Shiftout Mosi , Clk , Maddr1 , Msbl Dat = &HFF Shiftout Mosi , Clk , Dat , Msbl Shiftout Mosi , Clk , Dat , Msbl Shiftin Miso , Clk , Resp , Msbl


'odbieram potwierdzenie:



While Resp <> &HFE Shiftin Miso , Clk , Resp , Msbl Wend


' ³adujê dane do bufora 16-sto bajtowego "rejestr_cbi" For I = 1 To 16 Shiftin Miso , Clk , Resp , Msbl Rejestr_cbi(i) = Resp Next I



potem wy¶wietlaj±c komend± print dane z bufora mam co¶ takiego :



32M hà{wå

gdzie robiê b³±d ?



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required