4 posts / 0 new
Last post
kuo41006
Offline
Last seen:1 hour 59 min ago
Joined:2019-05-20 09:17
QSPI FLASH 14699

HI 您好:

目前在使用上遇到一些問題

設備 :DA1469x?PRO kit + DA14699 daughterboard

SDK :SDK_10.0.8.105

smartsnippetsstudio2.0.14.1748

smartsnippets Toolbox v5.0.14.3080

目前遇到一些狀況想請教一下:

移植FLASH mx25u3235 改為 at25sl128a

有參考DA1469x Adesto AT25SL128A Flash driver

QSPI燒入時也有設定

Product ID: DA1469x-00

Flash: Adesto AT25SL128A

active_image_address: 0x2000

update_image_address: 0x2000

但會出現錯誤
call: "D:\project\labar\SDK_10.0.8.105\binaries\cli_programmer.exe" --cfg C:\Users\WORKS5~1\AppData\Local\Temp\tmpnouu07py --check-booter-load --no-kill gdbserver write_qspi 8192 C:\Users\WORKS5~1\AppData\Local\Temp\tmppguk6des
Writing to address: 0x00002000 offset: 0x00000000 chunk size: 0x00002000
Verify writing to qspi address 0x2000 failed. Retrying ...

請問這段要如何完成呢??
Recompile the uartboot, libprogrammer and cli_programmer projects with the added flash driver files.

使用toolbox要讀取資flash也會出現問題

按下read會出現error

[INFO General @20-12-29 18:04:16] ROMTbl[0][0]: , CID: , PID: Cortex-M33
[INFO General @20-12-29 18:04:16] ROMTbl[0][1]: , CID: , PID: DWT
[INFO General @20-12-29 18:04:16] ROMTbl[0][2]: , CID: , PID: FPB
[INFO General @20-12-29 18:04:16] ROMTbl[0][6]: , CID: , PID: CTI
[INFO General @20-12-29 18:04:16] ROMTbl[0][7]: , CID: , PID: MTB
[INFO General @20-12-29 18:04:16] BTLE device selected.
[INFO QSPI Flash @20-12-29 18:04:23] Succesfully connected to JLinkGDBServer on localhost: 2331
[INFO QSPI Flash @20-12-29 18:04:25] Firmware file D:\DiaSemi\SmartSnippetsStudio2.0.14\Toolbox\common_resources\SupportPackages\DA1469x\toolbox_resources/common/uartboot.bin has been successfully uploaded to the device.
[INFO QSPI Flash @20-12-29 18:05:25] Successfully downloaded firmware file.
[INFO QSPI Flash @20-12-29 18:05:32] Started reading 32768 bytes from memory.
(错误QSPI Flash @20-12-29 18:07:32] readi失败ng memory.

Attachment:
Device:
KevinL
Offline
Last seen:1 week 3 days ago
Staff
Joined:2017-11-06 13:52
Hi kuo41006,

Hi kuo41006,

Dialog网站上提供了如何添加新的FLASH驱动,添加新的FLASH后要重新编译uartboot,libprogrammer,cli_programmer。

BR, Kevin

kuo41006
Offline
Last seen:1 hour 59 min ago
Joined:2019-05-20 09:17
hi KevinL

hi KevinL

想請問 uartboot,libprogrammer,cli_programmer 重新编译, 有參考的資料嗎? 目前卡在這邊不清楚如何重新编译這三個資料

lewis zhang
Offline
Last seen:4 hours 34 min ago
Joined:2020-07-13 04:20
下面的链接有说明如何添加一个新的Flash驱动和重新编译这

下面的链接有说明如何添加一个新的Flash驱动和重新编译这3个资料。

http://lpccs-docs.dialog-semiconductor.com/da1469x_creating_flash_driver/introduction.html