Compare commits
22 Commits
b01-d0.1-h
...
b04-pcotto
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9259c29db3 | ||
|
|
ea2c9cb132 | ||
|
|
67a546ba86 | ||
|
|
fcd008df34 | ||
| f70f5eb503 | |||
|
|
7f7afb93b7 | ||
| 4f6a3953c8 | |||
|
|
6449ebeeac | ||
|
|
fe7b3308bc | ||
|
|
faae382955 | ||
|
|
5a5c613097 | ||
|
|
4ecbc6a0ba | ||
| c21a5d8371 | |||
|
|
845af905f9 | ||
|
|
71f8e672d5 | ||
|
|
1dd8210404 | ||
|
|
74e31ef86a | ||
|
|
d2c44d04f2 | ||
|
|
617ed894f7 | ||
|
|
c98584d029 | ||
|
|
ea0bb89a2d | ||
|
|
71e69c0dac |
9
.gitignore
vendored
9
.gitignore
vendored
@ -65,3 +65,12 @@
|
|||||||
Network Trash Folder
|
Network Trash Folder
|
||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.apdisk
|
||||||
|
|
||||||
|
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
venv/
|
||||||
|
.idea/
|
||||||
|
|
||||||
|
old/
|
||||||
|
|
||||||
|
|||||||
46
README.md
46
README.md
@ -1,14 +1,48 @@
|
|||||||
# 下位机
|
# 下位机
|
||||||
|
|
||||||
下位机根据传送带脉冲等触发相机,接收上位机给的数据,按其要求控制阀板,用在各种分选机上。
|
下位机按上位机指令根据传送带脉冲等触发相机,完成棉花异性纤维的分选任务。采用的硬件是[Alinx](https://www.alinx.com/)的AC7Z100C ZYNQ开发板。
|
||||||
|
|
||||||
|
本IO扩展版提供了
|
||||||
|
|
||||||
|
- xxxxxx
|
||||||
|
|
||||||
|
接线时,12V电源连接到IO扩展板的电源接口,相机线应连接相机触发接口`TRIG1`、`TRIG2`和对应的`GND`接口,编码器线应连接在编码器输入接口`E1`和对应的`GND`接口,物体传感器应连接输入接口`E3`和对应的`GND`接口。注意底板不连接任何外部电源。
|
||||||
|
|
||||||
|
开发和部署说明见[doc/develop_and_deploy.md](doc/develop_and_deploy.md)
|
||||||
|
|
||||||
## 目录结构
|
## 目录结构
|
||||||
|
|
||||||
- binary为编译好的可执行文件
|
- doc为说明文档,包括开发和部署细节、硬件设计的描述等
|
||||||
|
|
||||||
|
- [develop_and_deploy.md](doc/develop_and_deploy.md)为开发和部署说明,首先看这个文档
|
||||||
|
- [hardware_description.md](doc/hardware_description.md)为PL端逻辑设计说明,阐述了硬件工作的整体流程
|
||||||
|
- [pl_reference_mannual.md](doc/pl_reference_mannual.md)为PL端逻辑在AXI总线上映射的寄存器参考手册
|
||||||
|
- [sim_uppermachine_manual.md](doc/sim_uppermachine_manual.md)为模拟上位机运行的参考手册
|
||||||
|
|
||||||
- script为配置系统、安装环境、安装可执行文件、卸载可执行文件等的脚本
|
- script为配置系统、安装环境、安装可执行文件、卸载可执行文件等的脚本
|
||||||
|
|
||||||
|
关于脚本的使用,见[doc/develop_and_deploy.md](doc/develop_and_deploy.md)
|
||||||
|
|
||||||
|
- target.sh为嵌入式linux中自动启动应用程序脚本
|
||||||
|
|
||||||
|
- load\*.sh为嵌入式linux中加载驱动的脚本
|
||||||
|
- .bashrc为嵌入式linux中配置环境变量的脚本
|
||||||
|
|
||||||
- protocol为上位机和下位机通信的协议
|
- protocol为上位机和下位机通信的协议
|
||||||
|
|
||||||
- hardware下位机主板、接口板、底板等的硬件设计
|
- hardware下位机主板、接口板、底板等的硬件设计
|
||||||
- source为可执行文件的源程序
|
|
||||||
|
- pl_platform为PL端硬件设计
|
||||||
|
- xme0724ioextend为IO叠板的原理图和PCB
|
||||||
|
|
||||||
|
- source为AC7Z100C板子上运行的源程序和模拟上位机程序
|
||||||
|
|
||||||
|
- liunx_app为Linux上运行的应用程序,即业务逻辑
|
||||||
|
- linux_driver为Linux上的驱动,用于控制自定义的PL端硬件,其中drv_test结尾的目录为相应驱动模块的测试应用程序
|
||||||
|
- petalinux_config为petalinux工具在编译u-boot、kernel、rootfs前进行的配置
|
||||||
|
- petalinux_devicetree为本次自定义的Linux设备树文件部分,其余设备树为自动生成的
|
||||||
|
- petalinux_hwdescription为petalinux所使用的硬件描述文件,包含了vivado工程中的比特流等信息
|
||||||
|
- sim_uppermachine_manul为基于pyside6所编写的软件,用于模拟上位机发送指令,方便调试
|
||||||
|
|
||||||
## 版本
|
## 版本
|
||||||
|
|
||||||
@ -27,11 +61,11 @@ b分支编号-p生产环境项目名-t分选对象[-其他特点1[-其他特点2
|
|||||||
版本号遵循定义如下(不使用中文,小写无空格)
|
版本号遵循定义如下(不使用中文,小写无空格)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
b分支编号-n编译号-h硬件版本-p协议版本-s脚本版本-r代码版本
|
b分支编号-d文档版本-hPCB设计版本-lFPGA设计版本-p协议版本-s脚本版本-aAPP代码版本-i驱动版本-c系统编译配置版本-e设备树版本
|
||||||
```
|
```
|
||||||
|
|
||||||
分支编号和分支命名中编号一致
|
分支编号和分支命名中编号一致。各部分版本应在相应目录下创建文件注明,比如`2.1`版本的PCB设计:PCB工程目录中建立`version`文本文件,内容为文本`2.1`。对于涉及整体设计的大改动版本号加`1`,其余改动版本号加`0.1`。每个分支的版本各自独立,新分支的版本从`1.0`起计算,也可从建立分支处原有版本起计算
|
||||||
|
|
||||||
## 作者
|
## 作者
|
||||||
|
|
||||||
作者觉得还是不说明作者是谁比较好,免得毕业后有提着示波器的师弟师妹来问问题
|
作者徐耀,随时欢迎师弟师妹7x24提着示波器的来问问题,联系方式:QQ:1170701029;微信:CeRnYool。
|
||||||
|
|||||||
BIN
binary/target
BIN
binary/target
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/PCB1111.~(1).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/PCB1111.~(1).PcbDoc.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/PCB1111.~(2).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/PCB1111.~(2).PcbDoc.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/PCBtest.~(1).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/PCBtest.~(1).PcbDoc.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/PCBtest.~(2).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/PCBtest.~(2).PcbDoc.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/PCBtest.~(3).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/PCBtest.~(3).PcbDoc.Zip
Normal file
Binary file not shown.
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/dingkun.~(1).PcbDoc.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/dingkun.~(1).PcbDoc.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(1).PcbLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(1).PcbLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(1).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(1).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(10).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(10).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(11).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(11).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(12).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(12).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(13).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(13).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(14).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(14).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(15).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(15).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(16).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(16).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(3).PcbLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(3).PcbLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(4).PcbLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(4).PcbLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(5).PcbLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(5).PcbLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(6).PcbLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(6).PcbLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(8).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(8).SchLib.Zip
Normal file
Binary file not shown.
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(9).SchLib.Zip
Normal file
BIN
hardware/ac7z100cioextend/History/lib/zynq.~(9).SchLib.Zip
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user