我这边的测试代码,在12F和13的开发板上下载都是正常的,但是在01F的模组上烧录就有问题,我看了一下,编译的分区表是2M的
错误报错如下
- [15:07:24.000] - ========= flash read jedec ID =========
- [15:07:24.000] - Flash load shake hand
- [15:07:24.025] - default set DTR high
- [15:07:24.140] - clean buf
- [15:07:24.143] - send sync
- [15:07:24.361] - ack is b'afa7'
- [15:07:24.362] - reshake
- [15:07:24.362] - sleep
- [15:07:27.375] - default set DTR high
- [15:07:27.483] - clean buf
- [15:07:27.486] - send sync
- [15:07:27.593] - ack is b''
- [15:07:27.594] - retry
- [15:07:27.595] - {"ErrorCode": "0001","ErrorMsg":"BFLB EFLASH LOADER SHAKEHAND FAIL"}
- [15:07:27.595] - {"ErrorCode": "0030","ErrorMsg":"BFLB READ FLASH JEDEC ID FAIL"}
- [15:07:27.596] - Burn Retry
- [15:07:27.596] - 0
- [15:07:27.596] - Burn return with retry fail
复制代码
开发板数据如下
- [15:06:54.195] - ========= flash read jedec ID =========
- [15:06:54.195] - Flash load shake hand
- [15:06:54.213] - default set DTR high
- [15:06:54.319] - clean buf
- [15:06:54.321] - send sync
- [15:06:54.552] - ack is b'4f4b'
- [15:06:54.585] - Read flash jedec ID
- [15:06:54.586] - readdata:
- [15:06:54.586] - b'5e401680'
- [15:06:54.586] - Finished
- [15:06:54.589] - Program operation
- [15:06:54.590] - Dealing Index 0
复制代码
这个是代码里要做修改吗? |