Thông báo

Collapse
No announcement yet.

SDcard trên board MCB2300

Collapse
X
 
  • Lọc
  • Giờ
  • Show
Clear All
new posts

  • SDcard trên board MCB2300

    Chào các bạn hiện mình đang làm project với SDcard trên board MCB2300.

    Mình đã kiếm được example trên mạng nhưng đem về build thì thấy lỗi các bạn xem hộ mình:
    Code:
    Rebuild target 'MCB2300'
    compiling SD_File.c...
    SD_File.c(516): error:  #165: too few arguments in function call
    compiling Getline.c...
    assembling LPC2300.s...
    compiling File_Config.c...
    File_Config.c(150): error:  #77-D: this declaration has no storage class or type specifier
    File_Config.c(150): error:  #65: expected a ";"
    File_Config.c(169): error:  #77-D: this declaration has no storage class or type specifier
    File_Config.c(169): error:  #65: expected a ";"
    File_Config.c(211): error:  #77-D: this declaration has no storage class or type specifier
    File_Config.c(211): error:  #65: expected a ";"
    compiling MCI_LPC23xx.c...
    MCI_LPC23xx.c(96): error:  #20: identifier "CARD_NONE" is undefined
    MCI_LPC23xx.c(101): error:  #20: identifier "CARD_MMC" is undefined
    MCI_LPC23xx.c(115): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(135): error:  #20: identifier "CARD_MMC" is undefined
    MCI_LPC23xx.c(146): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(211): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(230): error:  #20: identifier "CARD_MMC" is undefined
    MCI_LPC23xx.c(257): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(280): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(388): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(654): error:  #20: identifier "MMCFG" is undefined
    MCI_LPC23xx.c(665): error:  #132: expression must have pointer-to-struct-or-union type
    MCI_LPC23xx.c(669): error:  #20: identifier "CARD_SD" is undefined
    MCI_LPC23xx.c(688): error:  #132: expression must have pointer-to-struct-or-union type
    MCI_LPC23xx.c(692): error:  #132: expression must have pointer-to-struct-or-union type
    MCI_LPC23xx.c(697): error:  #132: expression must have pointer-to-struct-or-union type
    compiling Serial.c...
    compiling Retarget.c...
    compiling LCD.c...
    Target not created
    Mình có đinh kèm project bên dưới.mcb2300_sd_file.zipmcb2300_sd_file.zip

    Chuyên cung cấp các sản phẩm cho nghiên cứu và học tập

  • #2
    help ,,,,,,,,,,,,,,,

    Chuyên cung cấp các sản phẩm cho nghiên cứu và học tập

    Comment


    • #3
      code bạn xài,đang chuẩn mci trên arm7tdmi nên bạn cần có 2 bộ thư viên để support FS_ARM_L.LIB de ho tro cho file system trên sd card (đọc thêm: RL-ARM User's Guide: Source Files) và nêu bạn muốn làm 1 card reader thì cần thêm thw viện USB_ARM_L.lib để hỗ trợ giao tiếp usb (xem: RL-ARM User's Guide: Create MSC Applications)

      gl
      các vấn đề về sdcard, usb, tcp/ip, upgrate firmware,...
      trên các dòng chip: stm32, lpc of nxp
      please cell phone: 01649895559

      Comment


      • #4
        Em cần mua một board MCB2300, anh chị cho em hỏi mua ở đâu ạ, giá cả thế nào ạ.

        Comment

        Về tác giả

        Collapse

        hungrom90 Tìm hiểu thêm về hungrom90

        Bài viết mới nhất

        Collapse

        Đang tải...
        X