KW36 dflash can not read?

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

KW36 dflash can not read?

908 次查看
jictannu
Contributor III

I try to read dflash by jflash, but I got:

mmexport1587366273149.jpg

How can I get the state of the dflash? Is it in read protection?

I find this in Reference Manual:

pastedImage_1.png

Is there any API for Flash Read protection?

标签 (1)
0 项奖励
3 回复数

760 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Remember that the KW36 provides 256 KB FlexNVM. So, I am not sure if you modify the partition memory but, you have to be sure that the device has not set the EEPROM feature and the whole FlexNVM can serve as a basic data flash.

Address range starting from 0x1000 0000 to 0x1003 FFFF, D-flash also has an alias starting from address 0x0004 0000

https://www.nxp.com/docs/en/reference-manual/MKW36A512RM.pdf 

Please look at the figure 4-22 

Regards,

Mario

0 项奖励

760 次查看
jictannu
Contributor III

Hi, Mario. How can I know my D-flash start at  0x1000 0000 or 0x0004 0000?

0 项奖励

760 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

If you are referring to at the address 0x1000 0000 or 0x0004 0000, it is the same. You have to be sure that you do not have partitioned the FlexNVM.

Please look at the driver example that we provide.

"C:\SDKs\kw36\boards\frdmkw36\driver_examples\flash\flexnvm_dflash"

What is the final application that you are developing?

Regards,

Mario

0 项奖励