初始创建FTP服务器

This commit is contained in:
2026-07-21 22:08:11 +08:00
parent d48be81478
commit 6d404d136e
10 changed files with 265 additions and 357 deletions

View File

@@ -152,10 +152,10 @@ HAL_Init() → SystemClock_Config() → MX_GPIO_Init() → MX_USART1_UART_Init()
| 分区名 | 偏移 | 大小 | 块范围 | 用途 |
|--------|------|------|--------|------|
| ftl_fatfs | 128MB | 128MB | Block 1024~2047 | dhara FTL + FatFS 文件系统 |
| ftl_fatfs | 0 | 256MB | Block 0~2047 | dhara FTL + FatFS 文件系统 |
- FatFS 通过 dhara FTL 访问 `ftl_fatfs` 分区`nand_ftl.c``FTL_START_BLOCK = FTL_FATFS_OFFSET / GD5F_BLOCK_SIZE`
- Block 0~1023128MB预留可供后续扩展
- FatFS 通过 dhara FTL 访问全部 2048 个块`nand_ftl.c``FTL_START_BLOCK = 0`
- dhara FTL 自动管理坏块(`dhara_nand_is_bad` / `dhara_nand_mark_bad`
## TPAFE5160 驱动关键点