S25FS256S support in CodeWarrior Flash Programmer

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

S25FS256S support in CodeWarrior Flash Programmer

跳至解决方案
1,408 次查看
liguangyu02
Contributor II

Dear Layerscap contributer,

For the shortage of MT25QU128ABA, I'm adapting a new QSPI Flash?S25FS256S to our LS1043 costomer board.

By external Programmer, the qspi image has been burned to flash and boot successfully. The erase and write operation is also fine in uboot enviroment.

However, we need to download firmware by CodeWarrior Flash Programmer and it doesn't work now.

Here is my modification for flash support.

liguangyu02_0-1639043201419.png

With this change:
1, The dump operation smaller than 64kByte is fine.

2, The dump operation larger than 64KByte failed.

3, The erase operation seems to be fine.

4, the program operation failed with "FP: can't write memory".

I have checked there do have support for this model of Flash in CW_ARMv8\Config\flash\flash_devices.html. But the flash operation still failed.

Wish someone have experinece on flashing S25FS256S.

 

Thanks!

Guangyu

 

 

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

Please modify "ws_size" as 0x1FFFF, on LS1043, the OCRAM size is totally 128K.

If you problem remains, please open "Logging Configuration" panel from Window->Preference->Debug Server Connection->Logging Configuration, please modify "Logging Level" as "DEBUG", specify the logging file, apply the change. 

Then connect to the target board to do flash programming, the low level CCS log will be captured in the specified file. Please attach this file to me to do more investigation.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,400 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please modify "ws_size" as 0x1FFFF, on LS1043, the OCRAM size is totally 128K.

If you problem remains, please open "Logging Configuration" panel from Window->Preference->Debug Server Connection->Logging Configuration, please modify "Logging Level" as "DEBUG", specify the logging file, apply the change. 

Then connect to the target board to do flash programming, the low level CCS log will be captured in the specified file. Please attach this file to me to do more investigation.

0 项奖励
回复