CN113032331A - Master-slave file management device and system - Google Patents

Master-slave file management device and system Download PDF

Info

Publication number
CN113032331A
CN113032331A CN201911347894.0A CN201911347894A CN113032331A CN 113032331 A CN113032331 A CN 113032331A CN 201911347894 A CN201911347894 A CN 201911347894A CN 113032331 A CN113032331 A CN 113032331A
Authority
CN
China
Prior art keywords
card
module
chip
master
file management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911347894.0A
Other languages
Chinese (zh)
Inventor
李铁成
王玉泽
刘松
张秋月
庞葳
姜华
贾利坤
张鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aerospace Science and Industry Inertia Technology Co Ltd
Original Assignee
Aerospace Science and Industry Inertia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aerospace Science and Industry Inertia Technology Co Ltd filed Critical Aerospace Science and Industry Inertia Technology Co Ltd
Priority to CN201911347894.0A priority Critical patent/CN113032331A/en
Publication of CN113032331A publication Critical patent/CN113032331A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a master-slave file management device and a system, wherein the master-slave file management device comprises a singlechip module, at least one SD card module coupled with the singlechip module and a power supply module for supplying power to the singlechip module; the single chip microcomputer module comprises a single chip microcomputer chip, and the single chip microcomputer chip is provided with an SDMMC interface coupled with the SD card module; the SD card module can be detachably provided with the SD card, and the single chip microcomputer module carries out data interaction with the SD card installed on the SD card module through the SDMMC interface.

Description

Master-slave file management device and system
Technical Field
The invention relates to the technical field of computers, in particular to a master-slave file management device and system.
Background
The existing file management system usually adopts an MCU control chip, and is externally connected with one or more storage chips, such as EEPROM, FLASH, SDRAM and the like. The universal file management system can well meet the storage and calling of data and has high maturity. However, the conventional file management system has insufficient design flexibility, and each time data in the memory chip is updated, the memory chip needs to be updated by the MCU control chip, which brings inconvenience to applications in many occasions.
Disclosure of Invention
An object of the present invention is to provide a master-slave file management apparatus, which realizes the detachable arrangement of storage media and greatly increases the flexibility and the universality of a file management system. Another object of the present invention is to provide a master-slave file management system.
In order to achieve the above object, the present invention discloses a master-slave file management device, which comprises a single chip module, at least one SD card module coupled to the single chip module, and a power module for supplying power to the single chip module;
the single chip microcomputer module comprises a single chip microcomputer chip, and the single chip microcomputer chip is provided with an SDMMC interface coupled with the SD card module;
the SD card module can detachably install an SD card, and the single chip microcomputer module carries out data interaction with the SD card installed on the SD card module through an SDMMC interface.
Preferably, the single chip microcomputer chip further comprises a USB OTG interface.
Preferably, the USB OTG device further comprises a computer coupled with the USB OTG interface.
Preferably, the single chip microcomputer chip further comprises a USART interface.
Preferably, the system further comprises a liquid crystal display coupled to the USART interface.
Preferably, the single chip microcomputer chip is an STM32F429 chip.
Preferably, the SDMMC interface pin of STM32F429 chip is connected with the data transmission pin of SD card through first resistor respectively, the SDIO pin of STM32F429 chip is connected with the clock pin of SD card, the SDIO pin of STM32F429 chip is connected with the CMD pin of SD card through first resistor.
Preferably, the USB OTG interface pin of the STM32F429 chip is connected to two pins, D-and D + of the USB connector, respectively, through a second resistor.
Preferably, the power supply module includes a power supply control chip, a third resistor, a fourth resistor, a first capacitor, a second capacitor, and a third capacitor;
all OUT pins of the power supply control chip are connected with each other and with first ends of the first capacitor and the third resistor respectively, and second ends of the first capacitor and the third resistor are grounded;
a first SET pin of the power supply control chip is respectively connected with first ends of the second capacitor and the fourth resistor, and second ends of the second capacitor and the fourth resistor are grounded;
all the IN pins and VCONTROL pins of the power supply control chip are connected with each other and with a first end of a third capacitor, and a second end of the third capacitor is grounded.
The invention also discloses a master-slave file management system, which comprises the master-slave file management device and the SD card arranged on the SD card module.
The invention forms a master-slave file management device by arranging the singlechip module and at least one SD card module coupled with the singlechip module. Wherein, external SD card module can the detachable installation SD card storage medium, and single chip microcomputer module's single chip microcomputer chip has the SDMMC interface, and accessible SDMMC interface is connected with the SD card module. The installed SD card can perform data interaction with the single chip microcomputer chip through the SD card module and the SDMMC, and different file contents can be read by installing different SD cards. When the file content in the SD card needs to be updated, the files stored in the SD card can be updated through the single chip microcomputer chip, and the method can be realized through the modes of replacing the SD card or dismounting the SD card for updating and then installing the SD card, so that the operation complexity is reduced, and the flexibility and the universality of the file management device are greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram illustrating an embodiment of a master-slave file management apparatus according to the present invention;
FIG. 2 is a circuit diagram of a single chip module and an SD card module according to an embodiment of the master-slave file management apparatus of the present invention;
FIG. 3 is a circuit diagram of a single-chip module and a USB connector according to an embodiment of the master-slave file management apparatus of the present invention;
fig. 4 is a circuit diagram showing a connection between a single-chip microcomputer module and a power supply module according to an embodiment of the master-slave file management apparatus of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an aspect of the present invention, the present embodiment discloses a master-slave file management apparatus. As shown in fig. 1, in this embodiment, the master-slave file management apparatus includes a single chip microcomputer module, at least one SD card module coupled to the single chip microcomputer module, and a power supply module for supplying power to the single chip microcomputer module.
Wherein the single chip module comprises a single chip having an SDMMC interface coupled with the SD card module.
The SD card module can detachably install an SD card, and the single chip microcomputer module carries out data interaction with the SD card installed on the SD card module through an SDMMC interface.
The invention forms a master-slave file management device by arranging the singlechip module and at least one SD card module coupled with the singlechip module. Wherein, external SD card module can the detachable installation SD card storage medium, and single chip microcomputer module's single chip microcomputer chip has the SDMMC interface, and accessible SDMMC interface is connected with the SD card module. The installed SD card can perform data interaction with the single chip microcomputer chip through the SD card module and the SDMMC, and different file contents can be read by installing different SD cards. When the file content in the SD card needs to be updated, the files stored in the SD card can be updated through the single chip microcomputer chip, and the method can be realized through the modes of replacing the SD card or dismounting the SD card for updating and then installing the SD card, so that the operation complexity is reduced, and the flexibility and the universality of the file management device are greatly improved.
In a preferred embodiment, the single chip microcomputer chip further comprises a USB OTG interface. More preferably, the master-slave file management device further comprises a computer coupled with the USB OTG interface. The single chip can be connected with a computer through a USB OTG interface and is communicated with the computer. Preferably, the USB OTG can operate in the SLAVE mode by configuring a connection mode between the USB OTG and the USB connector, and the computer can control the single chip to read data from the SD card module through the USB connector, at this time, the SD card can be recognized as an external mobile USB disk by the computer, so that a card reader function of the file management device can be realized.
In a preferred embodiment, the single chip microcomputer chip further comprises a USART interface. More preferably, the master-slave file management apparatus further comprises a liquid crystal display coupled to the USART interface. In the preferred embodiment, a USART interface of the single chip microcomputer chip is further utilized, the single chip microcomputer chip can be externally connected with a Liquid Crystal Display (LCD) through the USART interface, and the single chip microcomputer chip can display information such as the capacity of the SD card on the connected LCD.
In a preferred embodiment, the single chip microcomputer chip is an STM32F429 chip. In this embodiment, an STM32F429 chip is used as a "master", and at least one SD card module coupled to the STM32F429 chip is used as a "multiple slave" to form a "master-slave file management apparatus with multiple slaves". The STM32F429 single-chip microcomputer is used as an MCU (microprogrammed control Unit), the highest frequency is 164MHz, the chip adopts a six-stage production line, and is provided with an instruction and a data Cache, an integrated JPEG (joint photographic experts group) codec, an integrated double-precision hardware floating point computing unit and a DSP (digital signal processor) instruction, and the chip is provided with 512KB SRAM (static random access memory), 1024KB Flash, 2 DMA (direct memory access) controllers, 6 SPI (serial interfaces), 1 QSPI (quad serial interface), 3 full duplex I2S, 4 IIC (inter-integrated circuit), 8 USART (universal serial interface), two USB OTG (universal serial bus/SLAVE) support, 3 CAN (controller area network), 3 ADC (analog to digital converter), 3 ADC (12 bit), 2 DAC) with 12 bits, 1 RTC (digital to analog converter), 2 SDMMC (serial management controller), 1 FMC (micro controller) interface, 1. In this embodiment, 1 SDMMC interface of using the STM32F429 chip interacts with SD card module data, 1 USB OTG interacts with external computer data and 1 serial interface interacts with external LCD data. In a preferred embodiment, the data transmission pin of the SD card (micro SD) is connected to a first terminal of a first resistor and the SDMMC interface pin of the STM32F429 chip, respectively, and a second terminal of the first resistor is connected to a power supply terminal, which can provide a high level of, for example, 3.3V. The SDIO pin of the STM32F429 chip is connected with the clock pin of the SD card (micro SD), the CMD pin of the SD card (micro SD) is respectively connected with the first end of a first resistor and the SDIO pin of the STM32F429 chip, the second end of the first resistor is connected with the power supply end, and the power supply end can provide a high level of 3.3V for example.
It is understood that the STM32F429 own SDMMC interface adopts 4-bit mode, the highest speed can reach 48MHz (when the frequency divider is in bypass mode), and the highest speed can transmit 24MHz of data per second. Four data lines are led out to the SD card slot through SDMMC interface pins of PC8, PC9, PC10 and PC11 of STM32F429, namely PC8, PC9, PC10 and PC11 pins of STM32F429 are respectively connected with the 1 st, 2 nd, 7 th and 8 th pins of the SD card through first resistors, and SDIO _ D2, SDIO _ D3, SDIO _ D0 and SDIO _ D1 signals are led out. Wherein the resistance of the first resistor is preferably 47K, and the SDIO pin (PC12) of the STM32F429 chip is connected with the 5 th clock pin of the SD card to extract the clock signal SDIO _ SCK. The SDIO pin (PD2) of the STM32F429 chip is connected with the CMD pin of the SD card through a first resistor to extract a CMD signal, as shown in FIG. 2.
In a preferred embodiment, for the connection of other pins of the SD card, the 4 th VDD pin of the SD card may be grounded through the fourth capacitor 104, the 6 th VSS pin may be grounded, the 9 th CD pin may be grounded, and the 10 th, 11 th, 12 th and 13GND pins may be grounded.
In a preferred embodiment, the USB OTG interface pin of the STM32F429 chip is connected to two pins, D-and D + of the USB connector, respectively, through a second resistor.
Specifically, the STM32F429 chip is provided with two USB OTGs, namely a USB OTG FS and a USB OTG HS (HS needs to be realized by an externally-extended high-speed PHY chip, and the speed can reach 480Mbps), and supports a USB Host and a USB Device. In the preferred embodiment, the USB SLAVE mode is used, the USB OTG interface pin of the STM32F429 chip is connected to two pins D-and D + of the USB connector (USB-AB) through a second resistor R2, and two signals USB _ D-, USB _ D + are led out to the USB connector and further to the computer through the PA11 and PA12USB OTG interface pins of the STM32F429 chip, as shown in fig. 3. Preferably, the resistance value of the second resistor is preferably selectable to 10 Ω.
In a preferred embodiment, the 1 st VDD pin of the USB connector can be connected to a high level, for example, 3.3V, for the connection of other pins of the USB connector. The 4NC pin may be blank connected, the 5GND pin may be grounded, and the 6, 7, 8, and 9 serial pins may be grounded, respectively, to ensure proper operation of the USB connector.
In a preferred embodiment, as shown in fig. 4, the power supply module includes a power supply control chip, a third resistor R3, a fourth resistor R4, a first capacitor C1, a second capacitor C2, and a third capacitor C3. The 2 nd to 6 th, 8 th, 9 th, 16 th and 17 th OUT pins of the power supply control chip are connected to each other and to a power source terminal (e.g., 3.3V high level), respectively, the 1 st OUT pin of the power supply control chip is connected to first terminals of the first capacitor C1 and the third resistor R3, and second terminals of the first capacitor C1 and the third resistor R3 are grounded. The SET pin of the power supply control chip is connected to first ends of the second capacitor C2 and the fourth resistor R4, respectively, and second ends of the second capacitor C2 and the fourth resistor R4 are grounded. All the IN pin and VCONTROL pin of the power supply control chip are connected to each other and to a power supply terminal (e.g., 5V high level) and a first terminal of a third capacitor C3, respectively, and a second terminal of the third capacitor C3 is grounded.
Specifically, in the present embodiment, the supply voltage of the STM32F429 chip is preferably 3.3V, and in other embodiments, the supply voltage may be according to actual conditions. The power supply control chip can be preferably an LT3083EFE chip of TI corporation, the first capacitor C1, the second capacitor C2 and the third capacitor C3 are filter capacitors, the capacitance values of the first capacitor C1 and the third capacitor C3 can be preferably 10uF, and the capacitance value of the second capacitor C2 can be preferably 0.1 uF. The fourth resistor R4 is connected to pin 7 of the power supply control chip, pin 7 SET is a setting pin for setting the output voltage, and the resistance value of the fourth resistor R4 is preferably 66.5K, corresponding to an output voltage of 3.3V, as shown in fig. 4.
Based on the same principle, the embodiment also discloses a master-slave file management system. The master-slave file management system comprises the master-slave file management device and the SD card arranged in the SD card module.
Since the principle of solving the problems of the system is similar to that of the above device, the implementation of the system can be referred to the implementation of the device, and is not described in detail herein.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A master-slave file management device is characterized by comprising a single chip microcomputer module, at least one SD card module coupled with the single chip microcomputer module and a power supply module for supplying power to the single chip microcomputer module;
the single chip microcomputer module comprises a single chip microcomputer chip, and the single chip microcomputer chip is provided with an SDMMC interface coupled with the SD card module;
the SD card module can detachably install an SD card, and the single chip microcomputer module carries out data interaction with the SD card installed on the SD card module through an SDMMC interface.
2. The master-slave file management device according to claim 1, wherein the one-chip further comprises a USB OTG interface.
3. The master-slave file management device according to claim 2, further comprising a computer coupled to the USB OTG interface.
4. The master-slave file management apparatus according to claim 2, wherein said one-chip processor chip further comprises a USART interface.
5. The master-slave file management apparatus of claim 4, further comprising a liquid crystal display coupled to the USART interface.
6. The master-slave file management apparatus according to claim 1, wherein the one-chip microcomputer chip is an STM32F429 chip.
7. The master-slave file management device of claim 6, wherein SDMMC interface pins of the STM32F429 chip are respectively connected with data transmission pins of the SD card through first resistors, SDIO pins of the STM32F429 chip are connected with clock pins of the SD card, and SDIO pins of the STM32F429 chip are connected with CMD pins of the SD card through first resistors.
8. A master-slave file management device according to claim 6, characterized in that the USB OTG interface pins of the STM32F429 chip are respectively connected with two pins D-and D + of a USB connector through a second resistor.
9. The master-slave file management device of claim 6, wherein the power module comprises a power control chip, a third resistor, a fourth resistor, a first capacitor, a second capacitor and a third capacitor;
all OUT pins of the power supply control chip are connected with each other and with first ends of the first capacitor and the third resistor respectively, and second ends of the first capacitor and the third resistor are grounded;
a first SET pin of the power supply control chip is respectively connected with first ends of the second capacitor and the fourth resistor, and second ends of the second capacitor and the fourth resistor are grounded;
all the IN pins and VCONTROL pins of the power supply control chip are connected with each other and with a first end of a third capacitor, and a second end of the third capacitor is grounded.
10. A master-slave file management system comprising the master-slave file management apparatus according to any one of claims 1 to 9 and an SD card provided in the SD card module.
CN201911347894.0A 2019-12-24 2019-12-24 Master-slave file management device and system Pending CN113032331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911347894.0A CN113032331A (en) 2019-12-24 2019-12-24 Master-slave file management device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911347894.0A CN113032331A (en) 2019-12-24 2019-12-24 Master-slave file management device and system

Publications (1)

Publication Number Publication Date
CN113032331A true CN113032331A (en) 2021-06-25

Family

ID=76451803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911347894.0A Pending CN113032331A (en) 2019-12-24 2019-12-24 Master-slave file management device and system

Country Status (1)

Country Link
CN (1) CN113032331A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030672A (en) * 2003-06-24 2004-01-29 Canon Inc Bus management device, controller of complex machine having the same, and bus management method
US20110016241A1 (en) * 2009-07-17 2011-01-20 Hon Hai Precision Industry Co., Ltd. Universal serial bus device
CN103616015A (en) * 2013-11-29 2014-03-05 浙江农林大学 Panoramic laser scanning device for measuring forest stock volume parameter
CN204028959U (en) * 2014-08-26 2014-12-17 深圳市金溢科技股份有限公司 A kind of portable IC card supplements read write line with money
CN104270295A (en) * 2014-09-16 2015-01-07 奇瑞汽车股份有限公司 Can bus data recording device
US20150293880A1 (en) * 2013-10-16 2015-10-15 The Regents Of The University Of California Serial bus interface to enable high-performance and energy-efficient data logging
CN208076083U (en) * 2018-05-15 2018-11-09 四川海天仪表电器开发有限公司 A kind of band temperature calibration output configurable type intelligent pressure sensor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030672A (en) * 2003-06-24 2004-01-29 Canon Inc Bus management device, controller of complex machine having the same, and bus management method
US20110016241A1 (en) * 2009-07-17 2011-01-20 Hon Hai Precision Industry Co., Ltd. Universal serial bus device
US20150293880A1 (en) * 2013-10-16 2015-10-15 The Regents Of The University Of California Serial bus interface to enable high-performance and energy-efficient data logging
CN103616015A (en) * 2013-11-29 2014-03-05 浙江农林大学 Panoramic laser scanning device for measuring forest stock volume parameter
CN204028959U (en) * 2014-08-26 2014-12-17 深圳市金溢科技股份有限公司 A kind of portable IC card supplements read write line with money
CN104270295A (en) * 2014-09-16 2015-01-07 奇瑞汽车股份有限公司 Can bus data recording device
CN208076083U (en) * 2018-05-15 2018-11-09 四川海天仪表电器开发有限公司 A kind of band temperature calibration output configurable type intelligent pressure sensor

Similar Documents

Publication Publication Date Title
CN107077183B (en) Low power implementation of Type-C connector subsystem
US7761645B2 (en) Physical device (PHY) support of the USB2.0 link power management addendum using a ULPI PHY interface standard
KR20050011407A (en) Memory card, connector for Universal Serial Bus and Universal Serial Bus connection system
CN211207252U (en) Mainboard and computer supporting DDR3 memory
CN100489807C (en) Computer system status monitoring circuit
US7039742B1 (en) Handheld option pack identification scheme
CN107506321A (en) A kind of COMe_nano core boards based on Godson 2H chips
US20100070694A1 (en) Computer system having ram slots with different specifications
US10860513B1 (en) I3C hub promoting backward compatibility with I2C
CN210324191U (en) Computer module and mainboard
CN113032331A (en) Master-slave file management device and system
CN108255760A (en) A kind of multipath I 2 C system and data read-write method
CN101853231B (en) Mainboard, computer and storage device
US6772249B1 (en) Handheld option pack interface
CN212061064U (en) CPU board card with quick plug interface
CN207650799U (en) A kind of CPCI modules and mainboard
CN110610728B (en) Memory circuit board controlled by universal serial bus
CN207148820U (en) A kind of COMe_nano core boards based on Godson 2H chip applications
US7269746B1 (en) Method of transmitting identification data from an option pack to a main unit before the option pack is fully powered
CN104112103A (en) Remote management data encryption daughter card applied to blade server
US20050114553A1 (en) Handheld option pack interface
CN100368956C (en) Mainframe board
CN215117513U (en) Hardware interface conversion module
CN216310788U (en) Novel embedded system development platform
CN117076360B (en) Circuit compatible with integrated circuit bus interface and serial peripheral interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination