Summary of the content on the page No. 1
User’s Guide
SanDisk SDK
SD Audio SDDK-07
Security Manager SDDK-06
SD Device Driver and File System SDDK-05
Revision 1.0
October 2003
SanDisk Corporation • Corporate Headquarters • www.sandisk.com
140 Caspian Court • Sunnyvale, CA 94089 • Phone: 408-542-0500 • Fax: 408-542-0503
Summary of the content on the page No. 2
SanDisk SDK User’s Guide, Rev. 1.0 SanDisk® Corporation general policy does not recommend the use of its products in life support applications where in a failure or malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the user of SanDisk products in life support applications assumes all risk of such use and indemnifies SanDisk against all damages. See “Disclaimer of Liability.” This document is for information use onl
Summary of the content on the page No. 3
SanDisk SDK User’s Guide, Rev. 1.0 Table of Contents 1 Introduction..........................................................................................................................1 2 SD-SDK Architecture Overview ........................................................................................2 3 SanDisk SDK Components .................................................................................................3 4 SD-SDK Directory Structure................
Summary of the content on the page No. 4
SanDisk SDK User’s Guide, Rev. 1.0 1 Introduction This release note contains information about the SanDisk SDK architecture, installation of SD_SDK and sample application in Windows OS environment, system configuration supported by SD_SDK, and about known problems and limitations. If you encounter any problem while installing or using SD_SDK, please check here to see if it is a known problem. This guide will give an overview of the SDK architecture, supported futures, SD-SDK directory
Summary of the content on the page No. 5
SanDisk SDK User’s Guide, Rev. 1.0 2 SD-SDK Architecture Overview The Secure Digital (SD) Memory Card offers protection of copyrighted materials such as digital music. Numerous underlying security elements work together to ensure that protected content is shielded from unauthorized access. To accelerate the design cycle for products utilizing the SD Memory Card, SanDisk offers the SD Software Development Kit (SD-SDK). The SD-SDK contains all the software layers that developer need to inte
Summary of the content on the page No. 6
SanDisk SDK User’s Guide, Rev. 1.0 3 SanDisk SDK Components SD-Audio Layer Using the API shields host application software form the complexity of SD-Audio. Music player software that controls the display and playing of play lists can accomplish these tasks by calling the API functions. There’s never any need to deal directly with the internals of the functions, files, and data structures. Supported Functionality with 1.0 Release • SD-Audio navigation support − This function’s behavior
Summary of the content on the page No. 7
SanDisk SDK User’s Guide, Rev. 1.0 • At any given operational state, the maximum buffer required is 1K, except during the download or playback states. These two depends on the host system Security Manager Layer This layer encapsulates the SD Security, and SD Secure Files System. Using the API, SD-Audio layer can access this layer, and all the complexity of MKB process, AKE process, Bus Encryption/Decryption, and Audio Content Encryption/Decryption is hidden from the application layer. S
Summary of the content on the page No. 8
SanDisk SDK User’s Guide, Rev. 1.0 1. sdaudlib 2. sdbuild 3. uiapp 4. set32env The uiapp directory is unnecessary if this package is used in any environment other than the Windows OS. SD-SDK High-level Directory Structure SD_SDK: README UIApp . base . config . debug . io . Imc . res . SdApp . Debug .SdApp.exe . res SdAudLib . Debug . sdaudlib.lib . Release .sdaudlib.lib SdBuild . Fatfiles . Header . Intrface . Oem
Summary of the content on the page No. 9
SanDisk SDK User’s Guide, Rev. 1.0 5 Sample Application Installation The required components necessary to install the sample application include a PCI-SD board, Windows OS, and a SD Card w/development key. Running the Sample Application Option 1 1. Unzip the SD_SDK package 2. Change directory to sd_sdk\uiapp\sdapp\debug 3. Run sdapp.exe Note: Ensure that the SD Card is properly inserted and has at least one track in it. Option 2 1. Follow SD_SDK installation guide to rebuild the s
Summary of the content on the page No. 10
SanDisk SDK User’s Guide, Rev. 1.0 9. saf;ljk Build security system Security.lib by typing: cd C:\SD_SDK\sdbuild\SECURITY nmake clean nmake 10. Build SD aduioAPI SdAudlib.lib by opening Visual C++ 6.0 sdaudlib.dsw workspace which is under C:\SD_SDK\sdaudlib\sdaudlib.dsw and choose menu “rebuild all” under “Build” menu item. You may need to set include path by choose menu “options” under “Tools” menu item. Add “C:\SD_SDK\UIApp\LMC\XINGMP3\INCLUDE” to “Directories”. 11. Build SD down
Summary of the content on the page No. 11
SanDisk SDK User’s Guide, Rev. 1.0 6 Known Problems and Limitations For the UIAPP, the following items are relevant. • SdApp.exe is tested on Window 98 only • Some of the songs, when being played, will be stuck due to the freeware source code used in the SdApp. Just click forward(>>) will let you continue to play • Play function only supports MP3 songs, not AAC songs • When click forward(>>), the timer will display 4 seconds, not 2 second forwarded, but in reality, the contents is only
Summary of the content on the page No. 12
SanDisk SDK User’s Guide, Rev. 1.0 7 Part Numbers • SDDK-05: SD Device Driver and File System This software component includes all the files under directory “SDBuild” except “SD_Oem” directory and “Security” directory. With those files, you would be able to build “Oem.lib”. • SDDK-06: Security Manager SDK This software component includes all the files under directory “SD_Oem” and directory “Security”. With those files and “Oem.lib”, you would be able to build “Security.lib”. • SDDK-