background image

 

 
 
 

Содержание HYDRA SD MAX

Страница 1: ......

Страница 2: ...ark Warning and Disclaimer Every effort has been made to make this user manual as complete and as accurate as possible but no warranty or fitness is implied The information provided is on an as is bas...

Страница 3: ...d to Licensed Works including but not limited to the object code documentation help files examples and benchmarks TERM This Agreement is effective until terminated You may terminate this Agreement at...

Страница 4: ...greater The information herein will usually apply to newer versions but may not apply to older versions Please contact Nurve Networks LLC for any questions you may have Visit www xgamestation com for...

Страница 5: ...tition Entries in the MBR Error Bookmark not defined 5 4 4 Parition Boot Record PBR Error Bookmark not defined 5 4 5 A Quick Recap and Locating the Primary FAT16 Data StructuresError Bookmark not defi...

Страница 6: ...http en wikipedia org wiki Sd_card However 99 of hobby or educational products simply use the SPI mode which is more than adequate There is a lot you need to know to write software yourself to access...

Страница 7: ...not shown NOTE The 1GB SD card that comes with the kit is pre format FAT16 and has a file system on it with a number of binaries for the pre programmed demo that comes on the SD cards You can erase a...

Страница 8: ...ect and card inserted are actually interfaced to the I O pins of the HYDRA s expansion slot as well to help determine these if the inserted card is write protected or that a card is inserted at all Th...

Страница 9: ...s we need yet one more layer on top of the SD card protocol that implements FAT16 which is no easy feat NOTE FAT16 is a file system used on DOS and Windows PCs originally introduced in 1987 as a succe...

Страница 10: ...oked up to power TV and the PC simply insert the SD Max card into the expansion slot facing the front of HYDRA as shown in Figure 4 0 be careful not to force it The HYDRA can be on or off Make sure yo...

Страница 11: ...o the SD card This should re fresh the card and you are back in business Note You will need to do this anytime you want to play with the SD card menu demo Since the demo assumes the card is freshly fo...

Страница 12: ...in SPI mode only a subset of these lines is necessary However to support future expansion into the SD modes of operation the design connects all important lines to the HYDRA s expansion interface Tak...

Страница 13: ...are implemented on the card slot itself by means of little switches implemented on the connector itself That is when you insert the SD card a short is made which is senses as well as the state of the...

Страница 14: ...SD card s pin 7 is connected thru the HYDRA expansion port s pin 1 which in turn is connected to the Propeller chip at pin 21 which is named P16 on the Propeller chips I O interface A little confusin...

Страница 15: ...the SD Max card we don t need all the bells and whistles so we decided on a standard normal connector plastic without a spring eject mechanism which is probably a good idea since its just one more th...

Страница 16: ...ce consisting of 4 lines data out data in clock and chip select Then finally where the rubber metal the concrete are the electrical connections to the Propeller chip itself that we can toggle via port...

Страница 17: ...interface For example before SD cards there were all kinds of memories RAMs ROMs FLASH EEPROM etc but the problem was that if you wanted to use one of these memories then you had to build a physical...

Страница 18: ...C which stands for Inter Integrated Circuit by Phillips SPI unlike I 2 C which has no separate clock is a clocked synchronous serial protocol that supports full duplex communication However I 2 C onl...

Страница 19: ...s you do this you also need to read the receive line since data is being transmitted in both directions This is simple enough but SPI protocol has some very specific details attached to it about when...

Страница 20: ...A You must adhere to these timing constraints during communications In most cases you will use mode 0 since it s the default that most SPI devices boot with On the HYDRA there is no support for SPI bu...

Страница 21: ...bus Here s a sample function to transmit and receive excerpt from SD library PUB SPI_Send_Recv_Byte spi_data8 spi_result8 index DESCRIPTION this functions sends spi_data8 and receives spi_result8 rem...

Страница 22: ...ggled by the application as desired during operations Later when we cover the API we will see a couple more functions layered on top that read and write SPI data but these are nothing but dummy functi...

Отзывы: