初步添加

This commit is contained in:
HEYAHONG 2024-04-29 15:02:08 +08:00
commit 3cf4d5371e
No known key found for this signature in database
GPG Key ID: 97E3E469FE2C920B
7 changed files with 28336 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

View File

@ -0,0 +1,25 @@
# 说明
为减少成本硬件并未进行ESD防护与各种其它保护措施(如USB防电流倒灌)。
一般仅用于原理验证,生产环境请谨慎使用。
# 文件说明
## 2024-04-29
### 立创EDA(专业版)工程
[CoreBoard-001_2024-04-29.epro](CoreBoard-001_2024-04-29.epro)
### 原理图
[SCH_Schematic-CoreBoard-001_2024-04-29.pdf](SCH_Schematic-CoreBoard-001_2024-04-29.pdf)
注意:具体原理图请查看立创EDA(专业版)工程。
### PCB
![PCB-CoreBoard-001_2024-04-29](PCB-CoreBoard-001_2024-04-29.png)
注意:具体PCB板请查看立创EDA(专业版)工程。

File diff suppressed because it is too large Load Diff

7
HW/ReadMe.md Normal file
View File

@ -0,0 +1,7 @@
# 开发工具
采用立创EDA(专业版)作为PCB设计工具,官网地址:[https://pro.lceda.cn/](https://pro.lceda.cn/)
# PCB板
- [CoreBoard-001](CoreBoard-001)

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 何亚红
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

54
ReadMe.md Normal file
View File

@ -0,0 +1,54 @@
# 说明
采用HLK-7688A的核心板芯片为MT7688AN芯片作为核心芯片。
主要有以下特点:
- LAN 网口 * 1:可用于调试及固件烧录。
- WAN 网口 * 1:可通过以太网联网
- USB 2.0 * 1:可通过使用扩展板通过USB扩展外设。
- RTC:采用DS1307芯片弥补MT7688AN本身不带RTC的缺陷在某些对时间有要求的场合十分有效。
- 可通过USB Type-C连接上位机调试:采用CH340N芯片连接核心板的串口0默认串口参数为57600 8N1。
注意:对于MT7688AN芯片原厂二次开发SDK而言区分IOT模式与路由器模式其本质是是否将网口1~4的引脚作为其它功能使用在IOT模式下可使用其它功能(此时只有网口0可用)在路由模式下网口1~4均为网口不可部分或全部作为其它角色使用。若采用openwrt开发,需要在设备树中调整相应引脚功能,没有单独的模式调整。
# 固件
对于固件的烧录通常需要通过ssh或者http访问HLK-7688A模块其地址如下:
- openwrt.lan新版openwrt地址其本质是默认主机名为openwrt.lan域名主要用于局域网。
- 192.168.1.1breed固件或者新版openwrt默认局域网地址。
- 192.168.16.254:HLK-7688A默认固件的局域网地址。
## breed
breed为bootloader可以供Web刷机功能(开机时按住重启键)。
其下载地址为[https://breed.hackpascal.net/](https://breed.hackpascal.net/),文件名为[breed-mt7688-reset38.bin](https://breed.hackpascal.net/breed-mt7688-reset38.bin)。
使用ssh登录HLK-7688A模块后其主要步骤如下:
```bash
#进入tmp,将下载的文件保存内存中
cd /tmp
#下载breed-mt7688-reset38.bin
wget https://breed.hackpascal.net/breed-mt7688-reset38.bin
#写入u-boot
mtd write -r breed-mt7688-reset38.bin
#重启
reboot
```
## openwrt
HLK-7688A受openwrt官方支持,可直接通过web升级固件通过http访问HLK-7688A模块后,可直接通过系统升级升级固件。
其下载地址为[https://downloads.openwrt.org/releases/](https://downloads.openwrt.org/releases/)。
其目录为 [系统版本]/targets/ramips/mt76x8/ 其中系统版本是需要升级的版本如系统版本为23.05.1则目录为23.05.1/targets/ramips/mt76x8/。
HLK-7688A的固件名称中含有为hlk与7688a的sysupgrade.bin文件。
# 目录结构
- [HW](HW):硬件设计。