CN1540529A - The method of CPLD to realize the mobile storage of CF card - Google Patents
The method of CPLD to realize the mobile storage of CF card Download PDFInfo
- Publication number
- CN1540529A CN1540529A CNA2003101034204A CN200310103420A CN1540529A CN 1540529 A CN1540529 A CN 1540529A CN A2003101034204 A CNA2003101034204 A CN A2003101034204A CN 200310103420 A CN200310103420 A CN 200310103420A CN 1540529 A CN1540529 A CN 1540529A
- Authority
- CN
- China
- Prior art keywords
- card
- cpld
- cpu
- mobile storage
- address
- 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
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
本发明公开了一种CPLD实现CF卡移动存储的方法,该方法包括:选择CF卡的True IDE Mode接口模式,并使CF卡通过CPLD与CPU连接,即设置CPLD使CPU的地址线与CF卡的地址线及片选端连接;CPU对CF卡发出读写命令,对CF卡进行读写操作。并且,CF卡的socket槽中的CD0、CD1插针长度应该比电源插针短,两者之间的长度差应保证CF卡在拔出的时候,CD0和CD1已经和插槽脱离,CF还保持供电状态;CF卡的中断通过CPLD与CPU连接,如果CPU仅支持电平信号的中断触发,则在CPLD中把CD0、CD1跳变转换成电平中断信号。本发明通过的CPLD代替接口芯片,成本比较低。
The invention discloses a method for CPLD to realize mobile storage of a CF card. The method includes: selecting the True IDE Mode interface mode of the CF card, and connecting the CF card with the CPU through the CPLD, that is, setting the CPLD so that the address line of the CPU is connected to the CF card The address line and the chip selection terminal are connected; the CPU sends read and write commands to the CF card, and performs read and write operations on the CF card. In addition, the length of the CD0 and CD1 pins in the socket slot of the CF card should be shorter than the power pins. Keep the power supply status; the interrupt of the CF card is connected to the CPU through the CPLD. If the CPU only supports the interrupt trigger of the level signal, the transition of CD0 and CD1 is converted into a level interrupt signal in the CPLD. The CPLD adopted in the present invention replaces the interface chip, and the cost is relatively low.
Description
?/CS1 | ??/CS0 | ?A2 | ??A1 | ?A0 | ??/IORD | ??/IOWR | ????BIT?WITHE |
?1 | ??0 | ?0 | ??0 | ?0 | ??RD?Data | ??WR?Data | ????8?or?16bit |
?1 | ??0 | ?0 | ??0 | ?1 | ??Error?Register | ??Features | ????8bit |
?1 | ??0 | ?0 | ??1 | ?0 | ??Sector?Count | ??Sector?Count | ????8bit |
?1 | ??0 | ?0 | ??1 | ?1 | ??Sector?No. | ??Sector?No. | ????8bit |
?1 | ??0 | ?1 | ??0 | ?0 | ??Cylinder?Low | ??Cylinder?Low | ????8bit |
?1 | ??0 | ?1 | ??0 | ?1 | ??Cylinder?High | ??Cylinder?High | ????8bit |
?1 | ??0 | ?1 | ??1 | ?0 | ??Select ??Card/Head | ??Select ??Card/Head | ????8bit |
?1 | ??0 | ?1 | ??1 | ?1 | ??Status | ??Command | ????8bit |
?0 | ??1 | ?1 | ??1 | ?0 | ??Alt?Status | ??Device?Control | ????8bit |
process(GRESET,GCLK) begin if(GRESET=′0′)then CD0_REG<=′0′; CD1_REG<=′0′; CD0_REG_CMP<=′0′; CD1_REG_CMP<=′0′; Elsif(GCLK′event and GCLK=′1′)then if(((CD0_REG_CMP=′0′)and(CD0_REG=′1′))and((CD1_REG_CMP=′0′)and(CD1_REG=′1′)))then CPU_INT<=′0′; end if; CD0_REG<=/CD0; CD1_REG<=/CD1; CD0_REG_CMP<=CD0_REG; CD1_REG_CMP<=CD1_REG; <!-- SIPO <DP n="4"> --> <dp n="d4"/> end if;end process.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2003101034204A CN1540529A (en) | 2003-10-31 | 2003-10-31 | The method of CPLD to realize the mobile storage of CF card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2003101034204A CN1540529A (en) | 2003-10-31 | 2003-10-31 | The method of CPLD to realize the mobile storage of CF card |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1540529A true CN1540529A (en) | 2004-10-27 |
Family
ID=34333290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2003101034204A Pending CN1540529A (en) | 2003-10-31 | 2003-10-31 | The method of CPLD to realize the mobile storage of CF card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1540529A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277105B (en) * | 2007-03-30 | 2010-05-26 | 陈钜泯 | Rhythm signal coding control system |
CN102508801A (en) * | 2011-11-07 | 2012-06-20 | 杭州华三通信技术有限公司 | Host drive device and host drive method, and transmission control device and transmission control method |
CN102541781A (en) * | 2011-12-15 | 2012-07-04 | 北京科诺伟业科技有限公司 | DMA (direct memory access) method for realizing converter fault storage by using CF (compact flash) card |
CN111163131A (en) * | 2019-12-09 | 2020-05-15 | 杭州迪普科技股份有限公司 | Removable storage device and data transmission method |
-
2003
- 2003-10-31 CN CNA2003101034204A patent/CN1540529A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277105B (en) * | 2007-03-30 | 2010-05-26 | 陈钜泯 | Rhythm signal coding control system |
CN102508801A (en) * | 2011-11-07 | 2012-06-20 | 杭州华三通信技术有限公司 | Host drive device and host drive method, and transmission control device and transmission control method |
CN102508801B (en) * | 2011-11-07 | 2014-07-02 | 杭州华三通信技术有限公司 | Host drive device and host drive method, and transmission control device and transmission control method |
CN102541781A (en) * | 2011-12-15 | 2012-07-04 | 北京科诺伟业科技有限公司 | DMA (direct memory access) method for realizing converter fault storage by using CF (compact flash) card |
CN102541781B (en) * | 2011-12-15 | 2014-09-24 | 北京科诺伟业科技股份有限公司 | A DMA Method for Converter Fault Storage Using CF Card |
CN111163131A (en) * | 2019-12-09 | 2020-05-15 | 杭州迪普科技股份有限公司 | Removable storage device and data transmission method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200089403A1 (en) | Extended utilization area for a memory device | |
US5493574A (en) | Power efficient RAM disk and a method of emulating a rotating memory disk | |
CN1514332A (en) | Method and device for accessing flash memory card | |
CN101051279A (en) | Peripheral equipment operation method, peripheral equipment and host | |
CN1540530A (en) | The Method of Realizing Hot Swapping of CF Card | |
CN1540529A (en) | The method of CPLD to realize the mobile storage of CF card | |
CN1241096C (en) | IDE hard disc interface for supporting hot inserting and startup as inserting memory card | |
CN1435796A (en) | Memroy drive device compatible with multiple mobile memory cards | |
CN112015671A (en) | Flash memory controller, memory device, and method of accessing a flash memory module | |
CN212084122U (en) | NVMe controller | |
CN1242324C (en) | Method of large capacity movable memory for mobile telephone | |
CN1464363A (en) | Switching and judging method of memory card common connection device and its common terminal | |
CN101599295B (en) | integrated storage device and control method thereof | |
CN2854695Y (en) | Mobile storage device with storage and card reading function | |
CN112052189A (en) | Memory device, electronic device, and reading method associated therewith | |
CN114356224B (en) | File address optimization method, terminal, server and computer readable storage medium | |
US20070043887A1 (en) | [adaptor device for ms memory card interface] | |
CN1553356A (en) | Computer system capable of dynamic access external storage device | |
CN112988068B (en) | Memory control method, memory storage device and memory controller | |
CN1317655C (en) | DMA transmission method adapted for SD cards | |
CN2529322Y (en) | CF expansion card | |
CN2802659Y (en) | DataPlay movement control circuit | |
HK40009715A (en) | Extended utilization area for a memory device | |
CN1786931A (en) | Flash memory card access device and method | |
CN2627591Y (en) | A device for automatically switching card slots of PCMCIA riser cards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: HUAWEI TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: GANGWAN NETWORK CO., LTD. Effective date: 20060922 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20060922 Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant after: Huawei Technologies Co., Ltd. Address before: 100089, No. 21 West Third Ring Road, Beijing, Haidian District, Long Ling Building, 13 floor Applicant before: Harbour Networks Holdings Limited |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |