文件名称:mcp sd reader
介绍说明--下载内容均来自于网络,请自行研究使用
This demo uses the selected hardware platform as an SD card reader. Connect the hardware platform to a computer through a USB cable.
To run this project, you will need to load the corresponding firmware into the devices. There are two methods available for loading the demos: Precompiled demos and source code projects.
Precompiled Demos are available in the “\USB – Precompiled Demos” folders. Each demo should be prefaced with the hardware platform it is compiled for. Select the file that matches the hardware that you have and the demo that you want to run. For more information about how to load a precompiled project, please see the “Getting Started – Loading a precompiled demo” guide.
The source code for this demo is available in the “Topics…->MPLAB IDE).
Please note that when using either the C30 or C32 demo projects you will be required to select the correct processor for the demo board.
1) Open the associated project file
2) In MPLAB Select “Configure->Select Device”
3) In the device list box in the top left corner of that window, select the desired device.
NOTE WHEN USING THE HID BOOTLOADER (for PIC18F87J50 PIM): The “USB Device - Mass Storage - SD Card reader” and “USB Device - Mass Storage - SD Card data logger” demos make use of the SD Card PICtail Daughter Board (Microchip® Direct: AC164122). This PICtail uses the RB4 I/O pin for the card detect (CD) signal, and is actively driven by the PICtail. The active drive overpowers the pull up resistor on the RB4 pushbutton (on the PIC18F87J50 FS USB Plug-In Module board). As a result, if the PIC18F87J50 is programmed with the HID bootloader, and an SD Card is installed in the socket when the microcontroller comes out of reset, the firmware will immediately enter the bootloader (irrespective of the RB4 pushbutton state). To exit the bootloader firmware, remove the SD Card from the SD Card socket, and tap the MCLR button. When the SD Card is not plugged in, the PICtail will drive the card detect signal (which is connected to RB4) logic high, which will enable the bootloader to exit to the main application after coming out of reset. Once the main application firmware is operating, the SD Card can be plugged in. The SD Card is “hot-swappable” and should be recognized by the host upon insertion. To avoid this inconvenience when using the bootloader with the PICtail, it is suggested to modify the bootloader firmware to use some other I/O pin for bootloader entry, such as RB0 (which has a pushbutton on it on the HPC Explorer board).
To run this project, you will need to load the corresponding firmware into the devices. There are two methods available for loading the demos: Precompiled demos and source code projects.
Precompiled Demos are available in the “\USB – Precompiled Demos” folders. Each demo should be prefaced with the hardware platform it is compiled for. Select the file that matches the hardware that you have and the demo that you want to run. For more information about how to load a precompiled project, please see the “Getting Started – Loading a precompiled demo” guide.
The source code for this demo is available in the “Topics…->MPLAB IDE).
Please note that when using either the C30 or C32 demo projects you will be required to select the correct processor for the demo board.
1) Open the associated project file
2) In MPLAB Select “Configure->Select Device”
3) In the device list box in the top left corner of that window, select the desired device.
NOTE WHEN USING THE HID BOOTLOADER (for PIC18F87J50 PIM): The “USB Device - Mass Storage - SD Card reader” and “USB Device - Mass Storage - SD Card data logger” demos make use of the SD Card PICtail Daughter Board (Microchip® Direct: AC164122). This PICtail uses the RB4 I/O pin for the card detect (CD) signal, and is actively driven by the PICtail. The active drive overpowers the pull up resistor on the RB4 pushbutton (on the PIC18F87J50 FS USB Plug-In Module board). As a result, if the PIC18F87J50 is programmed with the HID bootloader, and an SD Card is installed in the socket when the microcontroller comes out of reset, the firmware will immediately enter the bootloader (irrespective of the RB4 pushbutton state). To exit the bootloader firmware, remove the SD Card from the SD Card socket, and tap the MCLR button. When the SD Card is not plugged in, the PICtail will drive the card detect signal (which is connected to RB4) logic high, which will enable the bootloader to exit to the main application after coming out of reset. Once the main application firmware is operating, the SD Card can be plugged in. The SD Card is “hot-swappable” and should be recognized by the host upon insertion. To avoid this inconvenience when using the bootloader with the PICtail, it is suggested to modify the bootloader firmware to use some other I/O pin for bootloader entry, such as RB0 (which has a pushbutton on it on the HPC Explorer board).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : mcp_SDcard.rar 列表 Microchip\USB\usb_device.c Microchip\USB\MSD Device Driver\usb_function_msd.c Microchip\MDD File System\SD-SPI.c Microchip\MDD File System\FSIO.c Microchip\Include\GenericTypeDefs.h Microchip\Include\Compiler.h Microchip\Include\MDD File System\SD-SPI.h Microchip\Include\MDD File System\FSDefs.h Microchip\Include\MDD File System\FSIO.h Microchip\Include\USB\usb_hal_pic24.h Microchip\Include\USB\usb.h Microchip\Include\USB\usb_ch9.h Microchip\Include\USB\usb_common.h Microchip\Include\USB\usb_device.h Microchip\Include\USB\usb_function_msd.h Microchip\Include\USB\usb_hal.h sour\sd.IMB sour\sd.IMD sour\sd.IAB sour\sd.IAD sour\sd.PR sour\sd.PS sour\sd.PFI sour\sd.PO sour\sd.PRI sour\sd.SearchResults sour\sd.WK3 USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.mcp USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\main.c USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\usb_descriptors.c USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\PIC24 HID Bootloader Remapping.s USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\HardwareProfile.h USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\FSconfig.h USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\usb_config.h USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\HardwareProfile - PIC24FJ256GB110 PIM.h USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.tagsrc USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.mptags USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.cof USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.map USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.hex USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.mcs USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\main_64GB106.c USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\master_64GB106.h USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\USB Device - Mass Storage - SD Card data logger - C30.mcw USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\main.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\PIC24 HID Bootloader Remapping.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\usb_descriptors.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\usb_device.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\usb_function_msd.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\SD-SPI.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\FSIO.o USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30\main_64GB106.o untitled.mcw USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects\USB Mass Storage - SD Card data logger - C30 Microchip\USB\MSD Device Driver Microchip\Include\MDD File System Microchip\Include\USB USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware\Objects Microchip\USB Microchip\MDD File System Microchip\Include USB Device - Mass Storage - SD Card data logger\Mass Storage - Data Logger - Firmware Microchip sour USB Device - Mass Storage - SD Card data logger