multi qspi flash support in cwtap

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

multi qspi flash support in cwtap

ソリューションへジャンプ
2,767件の閲覧回数
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,713件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,718件の閲覧回数
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,714件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
2,757件の閲覧回数
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 件の賞賛
返信