• AVR Freaks

Hot!Explore 16 (Legacy )+PIC32MX460F512L + PICtail Board for SD & MMC

Author
karan123
Super Member
  • Total Posts : 787
  • Reward points : 0
  • Joined: 2009/02/02 11:11:21
  • Location: 0
  • Status: offline
2019/04/02 05:10:25 (permalink)
0

Explore 16 (Legacy )+PIC32MX460F512L + PICtail Board for SD & MMC

Hello,
 
I have Explore 16 (Legacy )+ PIC32MX460F512L + PICtail Board for SD & MMC 8GB Memory Card.
I am trying to run Demo on Create .txt file with Harmony. But Not Succeeded . I think may be CS,CD,WD Pins Issue .
 
I have also tried MLA Microchip Solutions v2010-10-19 but Demo available with PIC32MX360F512L.
C:\Microchip Solutions v2010-10-19\MDD File System-SD Card to PIC32MX460F512L.

SD-SPI.c: In function 'OpenSPIM':
SD-SPI.c:1040:5: error: '__TRISFbits_t' has no member named 'TRISF6'
SD-SPI.c:1042:5: error: '__TRISFbits_t' has no member named 'TRISF7'

 
How to run PIC32MX360F512L to PIC32MX460F512L. ? Which SPI x module should  ? Which CS,CD,WD Pins ?
Is it good to use Harmony V2_06 ?
 
Please Update..
 
--
Karan
 
 
 

Attached Image(s)

#1

2 Replies Related Threads

    karan123
    Super Member
    • Total Posts : 787
    • Reward points : 0
    • Joined: 2009/02/02 11:11:21
    • Location: 0
    • Status: offline
    Re: Explore 16 (Legacy )+PIC32MX460F512L + PICtail Board for SD & MMC 2019/04/02 23:50:35 (permalink)
    0
    Hello,
     
    I have tested hardware with Below Configuration .
    http://www.embeddedcodeso...nippet/fatfs-for-pic32
     
    //EXPLORER 16 CONFIGURATION
    #define CS_SETOUT() TRISBbits.TRISB1 = 0
    #define CS_LOW()  LATBbits.LATB1 = 0    //MMC CS = L
    #define CS_HIGH() LATBbits.LATB1 = 1    //MMC CS = H
    //Change the SPI port number as needed on the following 5 lines
    #define SPIBRG  SPI1BRG
    #define SPIBUF  SPI1BUF
    #define SPISTATbits SPI1STATbits
    #define SPI_CHANNEL SPI_CHANNEL1
    #define SPICONbits SPI1CONbits
     
    Testing on Harmony in Pending.
     
    --
    Karan
    post edited by karan123 - 2019/04/02 23:53:43
    #2
    karan123
    Super Member
    • Total Posts : 787
    • Reward points : 0
    • Joined: 2009/02/02 11:11:21
    • Location: 0
    • Status: offline
    Re: Explore 16 (Legacy )+PIC32MX460F512L + PICtail Board for SD & MMC 2019/04/03 07:35:50 (permalink)
    0
    Hello,
     
    I am trying to Create text file and with Harmony V2_04 using PIC32MX460F512L BSP.
    But my hardware is working fine..
    Attaching screen shorts but not succeeded . But USB MSD Works in the same Way .. Please Update..
     
     
    post edited by karan123 - 2019/04/03 07:48:17

    Attached Image(s)

    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5