S32K344 LOCKTETP_EN

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

S32K344 LOCKTETP_EN

Jump to solution
3,141 Views
1260784871
Contributor II

1、Can the S32K344 be configured for dual core use?

2、If yes, how do you configure it? Please tell us the details.

 

0 Kudos
Reply
1 Solution
3,127 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @1260784871,

A new DCF record with LOCKSTEP_EN = 0 has to be programmed into the UTEST OTP memory.

This can be done using by the C40 IP RTD driver.

First, locate your current DCF record in the UTEST be reading the memory via a debugger.

The first available space (all 0xFF) for a new record should be at 0x1B000768 for a device with the default configuration.

I will send you a simple test project.

 

Regards,

Daniel

 

 

View solution in original post

0 Kudos
Reply
12 Replies
3,128 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @1260784871,

A new DCF record with LOCKSTEP_EN = 0 has to be programmed into the UTEST OTP memory.

This can be done using by the C40 IP RTD driver.

First, locate your current DCF record in the UTEST be reading the memory via a debugger.

The first available space (all 0xFF) for a new record should be at 0x1B000768 for a device with the default configuration.

I will send you a simple test project.

 

Regards,

Daniel

 

 

0 Kudos
Reply
2,083 Views
FrankLiu2019
Contributor II

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.But it didn't work, and the chip was locked

0 Kudos
Reply
2,107 Views
FrankLiu2019
Contributor II

Hi Daniel 

What I read from UTEST does not agree with yours.After I wrote the DCF record to flash, the chip locked.This is my code ,Can you tell me what went wrong.

 How-to-configure-the-S32K344-dual-core-operating-mode 

0 Kudos
Reply
2,022 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @FrankLiu2019,

I see a colleague of mine responded to How-to-configure-the-S32K344-dual-core-operating-mode 

 

BR, Daniel

0 Kudos
Reply
2,366 Views
DrJonM
Contributor II

Hi @danielmartynek 

I would also be interested in your simple test project. Where can O get it?

 

Thanks,

Jon

0 Kudos
Reply
2,335 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @DrJonM,

Something like that:

#define program_address (0x1B000778)  /* UTEST start address */
#define program_data1 (0x00100004)  /* UTEST DCF Control Word */
#define program_data0 (0x00000100)  /* UTEST Data Word, LOCKSTEP = 0, decoupled*/

/* 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] */
};

volatile tFLASH_STATUS status;

int main(void)
{
	PFLASH_Unlock(PFLASH_BL5, PFLASH_SS0, PFLASH_S0);

	if((*(uint32_t*)program_address) == 0xFFFFFFFF)
	{
         status = FLASH_Write((uint32_t*)program_address, utest_misc_dcf, sizeof(utest_misc_dcf));
	}
	else{
	    __asm__("NOP");
	}

	for (;;) {
	}
	return 0;
}

 

Regards,

Daniel

0 Kudos
Reply
1,548 Views
ALXY_WANG1
Contributor I
Hi Daniel

Could you send me the project? I also need unlock the S32K344 and tried by myself failed.

Thanks
0 Kudos
Reply
1,539 Views
danielmartynek
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
1,313 Views
1260784871
Contributor II

I want to divide the core frequency by 2, after executing the following statement, I can not download the code. May I ask why

1260784871_0-1718448858007.png

 

0 Kudos
Reply
2,432 Views
ZhouPengfei
Contributor III

Hi Daniel

Could you send me the project? I also need unlock the second core and tried by myself failed.

Thanks

0 Kudos
Reply
1,314 Views
1260784871
Contributor II

I want to divide the core frequency by 2, after executing the following statement, I can not download the code. May I ask why

1260784871_0-1718448753536.png

 

0 Kudos
Reply
3,116 Views
1260784871
Contributor II

thanks~

0 Kudos
Reply