instructions.txt
来自「一个简单的能够直接操作IDE接口的函数库」· 文本 代码 · 共 30 行
TXT
30 行
Contact: My email address is
--------------------- admin@robs-projects.com --------------------------
--------------- Notes --------------------------------------------------
This code allows raw access to IDE hard discs.
It provides no FAT32 or other File system support, only the abililty to
read raw sectors.
The board that it was tested on is the EDTP IDE Interface Board with
Network Connection... see http://www.edtp.com/
The board consists of a Atmega128 with 1Mbit of SRAM attached. In this code
the external SRAM is not used or required.
I developed this code on ICC AVR V6, and to enable it to function correctly
I had to adjust the ammount of stack that is assigned, this is located in
project settings. (change to 50 to be safe)
Certain assumptions have been made in the code, due to time restrictions
and *lazyness*. You can however change this code to work on other configurations
of hardware, please send me a copy if you do :-)
The code contained in drivers.c is very board specific, also XTAL specific...
Contents;
IDE_Access.c - IDE functions that you will need to call to access drive
IDE_Base.c - Functions used by the IDE library to perform specific functions, no need for modification..
IDE_BoardSetup.h - Board Specific definitions, change to your specification to port to other boards.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?