multi qspi flash support in cwtap

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

multi qspi flash support in cwtap

跳至解决方案
2,695 次查看
liguangyu02
Contributor II

On our product based on LS1043A, two different model of QSPI flash were used.

Now we got a problem that when do first programing with CWTAP, only one model flash could be selected.

Is there mechanism to selected flashing algorithm automatically?

Bellow is the script currently used.

liguangyu02_0-1639725390387.png

Thanks!

Guangyu

0 项奖励
回复
1 解答
2,641 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Auto selection is not supported, you need to select the appropriate flash manually.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,646 次查看
liguangyu02
Contributor II

I did this according to your adevice, the dropdown box show two flash now.

However, the auto selection seems not supported.

 

0 项奖励
回复
2,642 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Auto selection is not supported, you need to select the appropriate flash manually.

0 项奖励
回复
2,685 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to C:\Freescale\CW4NET_v2020.06\CW_ARMv8\Config\flash\algorithms\S25FS256S.xml to define your own QSPI device S25FS256S1.xml

Then add one more QSPI device in CW Target Initialization file.

if QSPI_BOOT:
# Add QSPI device
fl.add_device({"alias": "qspi", "name": "S25FS256S", "address": 0x40000000, "ws_address": 0x10000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "QSPI"})

fl.add_device({"alias": "qspi", "name": "S25FS256S1", "address": 0x40000000, "ws_address": 0x10000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "QSPI"})

0 项奖励
回复