multi qspi flash support in cwtap

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

multi qspi flash support in cwtap

Jump to solution
2,694 Views
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 Kudos
Reply
1 Solution
2,640 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
Reply
3 Replies
2,645 Views
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 Kudos
Reply
2,641 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
2,684 Views
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 Kudos
Reply