如何在smart snippets toolbox中,更改FLASH连接端口?

2 posts / 0 new
Last post
461245495@qq.com
Offline
Last seen:4 months 5 days ago
加入:2017-02-05 04:06
如何在smart snippets toolbox中,更改FLASH连接端口?

您好,

我这边设计PCB时,把FLASH (W25X20CL)的连接端口改成了P0_0 sck, P0_1 CS, P0_2 MISO, P03 MOSI,但在用smart snippets toolbox 烧录时,发现默认flash默认端口是P0_0 sck, P0_3 CS, P0_6 MISO, P05 MOSI,请问一下smart snippets toolbox这个默认设置有没有办法更改?

Device:
CYibin
Offline
Last seen:1 month 2 weeks ago
Staff
加入:2017-12-14 02:48
你好,

你好,

在 SmartSnippets Toolbox 中,找到 Booter & Board Setup 工具,可以根据需要任意配置 IO 口。

但是,如果 IO 口不是默认的 FLASH IO 的话,即使你成功把数据烧录到 flash 里了,程序也无法加载到 ram 中运行。

解决的办法是:在 580 的 OTP 中烧录 second bootloader。second bootloader 在 SDK 中有工程,可以根据需要进行开发后烧录到 OTP 里面。