Hi All,
I want to configure the S32K344 dual-core operating mode.I have already seen S32K344-LOCKTETP-EN .But the data I read is different from what's in the link.The first available space (all 0xFF) for a new record is at 0x1B000780,different from what's in the link.I write {0x00,0x01,0x00,0x00,0x04,0x00,0x10,0x00}at 0x1B000780,then the chip is locked.Can you tell me what's wrong?
This is my code
解決済! 解決策の投稿を見る。
Hi david
I've solved the problem.The chip is not actually locked, but after writing the DCF, the chip becomes s32k324, and the chip type needs to be changed to s32k324 to connect to it.
Thanks,
Frank
The data I read from 0x1B000768 is D7 2A D5 82 50 00 04 00 D7 2A D5 82 70 00 04 00 D7 2A D5 82 B0 01 04 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ...So I write a new record at 0x1B000780.
An address to be written is correct, I have checked device we have here and it is the same (it is needed to use first erased area aligned to 64-bit).
A data to be written in order to disable locktesp are as folows:
#define PROGRAM_DATA1 (0x00100004) /* UTEST_MISC DCF Control Word */
#define PROGRAM_DATA0 (0x00000100) /* UTEST_MISC Data Word */
/* UTEST Miscellaneous Register */
uint32_t utest_misc_dcf[ ] = {
(uint32_t)PROGRAM_DATA0, /* DCF Data word 8h [0:31] */
(uint32_t)PROGRAM_DATA1 /* DCF Control word Ch [32:63] */
};
Hi david
I've solved the problem.The chip is not actually locked, but after writing the DCF, the chip becomes s32k324, and the chip type needs to be changed to s32k324 to connect to it.
Thanks,
Frank
Hi david
What I wrote is the same as yours,But it didn't work.Whether there are other operations to disable the lockstep,such as place the code in RAM,disable the MPU before programming,lock the UTEST Flash area after programming. Warm Reset after programming?
Thanks,
Frank