Program DCF for S32K358

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

Program DCF for S32K358

981件の閲覧回数
bryan-jeong
Contributor I

Hello,
I was wondering how to program additional bytes in the DCF for the S32K358. I understand I need to change the UTEST address to change my clock option for HSE-B SW, but I can't get my desired value into flash. I was wondering if there was a way to put in the value using a T32.

Thanks in advance

0 件の賞賛
返信
2 返答(返信)

939件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @bryan-jeong 

To write data in the UTEST Sector, the process is the same as used to program data in other blocks. IMPORTANT, to write data first, you need to unlock the sector using the PFCBLKU_SPELOCK[SLCK] register.

It is important to mention that the UTEST Sector is an OTP (One Time Programmable). This causes the erase operations not to be allowed. You only going to be able to append new data or configuration and read data.

 

BR, VaneB

0 件の賞賛
返信

956件の閲覧回数
ovidiubriscan
Contributor IV

Hi Bryan, for T32 here a small example of how to write into UTEST (it is from an S32K344 uC which i guess is more or less same platform as yours) : 

; Program UTEST in order to activate HSE_B usage
do ~~\demo\arm\flash\s32k3.cmm prepareonly
flash.Program 3. /OTP
Data.Set SD:0x1B000000--0x1B000007 %LE %Long 0xAABBCCDDDDCCBBAA
flash.Program off

 

Hope this helps. 

0 件の賞賛
返信