Location:
Search - PIC24FJXXXGBXXX
Search list
Description: 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).
Platform: |
Size: 773398 |
Author: bluntpig |
Hits: