S32K344 Lock step core

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

S32K344 Lock step core

963 Views
nirmal_masilamani
Contributor IV

Hello Team,

I am currently working on S32K344, we want to know, how to enable lockstep core in S32K344.

I have referred below community post, 

Solved: S32K344 Lock-step kernel - NXP Community.

One thing is not clear, how to know, address for UTEST_MISC to enable/ disable lockstep.?

Tags (2)
0 Kudos
Reply
10 Replies

944 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

One thing is not clear, how to know, address for UTEST_MISC to enable/ disable lockstep.?

There is no fixed address of UTEST_MISC. It is not a register, it is a DCF (device configuration record) which is during reset phase copied to corresponding register/ registers.

You will program UTEST_MISC record into the UTEST memory in user area to the first available space.

It is in this area:

petervlna_0-1759995633418.png

First available space is filled with 0xFFFF_FFFF_FFFF_FFFF which is stop record. So load you DCF record here.

Best regards,
Peter

 

0 Kudos
Reply

934 Views
nirmal_masilamani
Contributor IV

Hello @petervlna ,

Thanks for your reply.

Can you show me an example DCF record for enabling lockstep in S32K344,

 

Tags (2)
0 Kudos
Reply

929 Views
nirmal_masilamani
Contributor IV

Hi @petervlna ,

 

Below image id the data available in 0x1B000700, so i need to copy my DCF record in 0x1B000770?

Can you give me an example for DCF Records, to enable Lockstep

nirmal_masilamani_0-1760000995795.png

Is there any document for DCF details?

Tags (2)
0 Kudos
Reply

907 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Below image id the data available in 0x1B000700, so i need to copy my DCF record in 0x1B000770?

Yes, that is correct.

Here is how the record should looks like:

at address  0x1B000770 you will load: 0x0010000400000101

So you will modify the example here:

petervlna_1-1760082759086.png

The example code for UTEST programming is here: 

 
 

https://community.nxp.com/t5/S32K/S32K344-Lock-step-kernel/m-p/1930030

Here is DCF configurator:

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K344-DCF-Configurator/ta-p/1986243

For lauterbach debugger: 

data.set 0x1B000790 %QUAD 0x0010000400000101 ;dcf_client_utest_misc

and in S3 record for PE Micro and other:

S30D1B00077001010000040010005A

Best regards,

Peter

0 Kudos
Reply

899 Views
nirmal_masilamani
Contributor IV

Hello @petervlna ,

Thank you for your reply.

S3 record for PE Micro and other:

S30D1B00077001010000040010005A,

We are using PE Micro, how can i use this S record? 

And is it mandatory to use S record or can i program DCF record directly using the example program?

Tags (2)
0 Kudos
Reply

847 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

We are using PE Micro, how can i use this S record?

I am not familiar with PE debuggers, but looking at documentation:

 

And is it mandatory to use S record or can i program DCF record directly using the example program?

Using S32 Design Studio + PE Micro Plugin

  1. Prepare your DCF record:

    • Identify the next available address in UTEST (look for the first double-word filled with 0xFF).
  2. Create a .srec file:

    • Format the DCF record into an S-record file.
  3. Configure Debugger in S32DS:

    • Use PE Micro’s plugin to set up a debugger configuration.
    • Load the .srec file as the application.
    • Use the correct flash algorithm (e.g., nxp_s32k344_1x32x1012k_hse_disabled.arp).
  4. Flash the DCF Record:

    • Start the debug session.
    • Verify the record in Memory View.

Using PE Micro’s PROG-HL-ARM Tool

  • This standalone tool supports flashing via JTAG/SWD.
  • You can load .srec or binary files and program them directly.
  • Ideal for production environments using Cyclone programmers.

More info: PE Micro S32K344 Support Page

 

And is it mandatory to use S record or can i program DCF record directly using the example program?

As UTEST is just standard flash, with OTP enabled, you can use SW to program it, like I have shared. For example C40 driver example.

Best regards,

Peter

 

0 Kudos
Reply

838 Views
nirmal_masilamani
Contributor IV

Hello @petervlna ,

Thanks for your reply.

But i am unable to debug, debugging failed with .srec files.

nirmal_masilamani_0-1760346979436.png

nirmal_masilamani_4-1760347171505.png

 

nirmal_masilamani_1-1760347040844.png

nirmal_masilamani_2-1760347127108.pngnirmal_masilamani_3-1760347147113.png

 

 

 

Tags (2)
0 Kudos
Reply

784 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am confused here.

Why you are using extension srec? The debugger states that is not an object file.

When using PE Micro tools to program devices using S-record (.srec) files, the type of S-record format you use—such as S1, S2, or S3—depends on the address range of the target device's memory.

Here’s a quick breakdown:

  • S1 records: Use 16-bit addresses (up to 64 KB). Suitable for small memory ranges.
  • S2 records: Use 24-bit addresses (up to 16 MB). Less common, but used for mid-range addressing.
  • S3 records: Use 32-bit addresses (up to 4 GB). Most commonly used for modern microcontrollers and flash programming.

For PE Micro programming:

  • If you're targeting a 32-bit MCU or using a memory map that goes beyond 64 KB, you should use S3 records.
  • PE Micro tools like PROG or Cyclone programmers typically support S3 format for flash programming.

Maybe I am wrong, but use S3 extension instead of srec.

Best regards,

Peter

0 Kudos
Reply

700 Views
nirmal_masilamani
Contributor IV

hello @petervlna ,

I have referred the below community post for debugging using .srec file.

HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power - NXP Community

.s3 extension also not working

WIth S32DS and PEMICRO,

Is there a way to program DCF record using .srec file?

If yes, can you share any refer documents?

Tags (2)
0 Kudos
Reply

574 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes, you can program DCF records into UTEST flash on the S32K344 using a .srec file with S32 Design Studio (S32DS) and PEMICRO tools. Here's a summary of how to do it and where to find supporting documentation:

Steps to Program DCF Record Using .srec File
  1. Prepare the DCF Record:

    • Use the S32K344 DCF Configurator tool to calculate the correct DCF record values. [community.nxp.com]
    • Identify the next available address in UTEST flash (e.g., starting from 0x1B000700) by checking for the first double-word filled with 0xFF.
  2. Create the .srec File:

    • Format the DCF record into an S3 record line.
    • Example: S30D1B00077001010000040010005A
    • This line represents a DCF record at address 0x1B000770. [community.nxp.com]
  3. Configure S32DS Debugger:

    • Create a new debug configuration in S32DS.
    • Set the .srec file as the application to load.
    • In the debugger tab, enable "Use Alternative Algorithm" and point to the correct PEMICRO flash algorithm (nxp_s32k344_1x32x980k_hse_enabled.arp).
    • Disable "Load Symbols" and "Run on Reset" since this session is only for programming.
  4. Program the Flash:

    • Start the debug session. The .srec file will be loaded into the UTEST flash.
    • After programming, verify the memory content in the Memory View.

 

nxp_s32k344_1x32x980k_hse_enabled.arp algorithm supports HSE-enabled devices and is suitable for UTEST flash programming.

I have never tried it by using PEMicro so I can't verify the steps from my experience.

Best regards,

Peter

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2182742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182742%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20on%20S32K344%2C%20we%20want%20to%20know%2C%20how%20to%20enable%20lockstep%20core%20in%20S32K344.%3C%2FP%3E%3CP%3EI%20have%20referred%20below%20community%20post%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Lock-step-kernel%2Fm-p%2F1930030%22%20target%3D%22_blank%22%3ESolved%3A%20S32K344%20Lock-step%20kernel%20-%20NXP%20Community%3C%2FA%3E.%3C%2FP%3E%3CP%3EOne%20thing%20is%20not%20clear%2C%20how%20to%20know%2C%20address%20for%26nbsp%3B%3CSPAN%3EUTEST_MISC%20to%20enable%2F%20disable%20lockstep.%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2189094%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189094%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EYes%2C%20you%20can%20program%20DCF%20records%20into%20UTEST%20flash%20on%20the%20S32K344%20using%20a%20.srec%20file%20with%20S32%20Design%20Studio%20(S32DS)%20and%20PEMICRO%20tools.%20Here's%20a%20summary%20of%20how%20to%20do%20it%20and%20where%20to%20find%20supporting%20documentation%3A%3C%2FP%3E%0A%3CH5%20id%3D%22toc-hId--1617192914%22%20id%3D%22toc-hId--1594248297%22%3ESteps%20to%20Program%20DCF%20Record%20Using%20.srec%20File%3C%2FH5%3E%0A%3COL%3E%0A%3CLI%3E%0A%3CP%3EPrepare%20the%20DCF%20Record%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUse%20the%20%3CA%20tabindex%3D%220%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K344-DCF-Configurator%2Fta-p%2F1986243%22%20target%3D%22_blank%22%20data-tabster%3D%22%7B%22%20restorer%3D%22%22%3ES32K344%20DCF%20Configurator%20tool%3C%2FA%3E%20to%20calculate%20the%20correct%20DCF%20record%20values.%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K344-DCF-Configurator%2Fta-p%2F1986243%22%20target%3D%22_blank%22%3E%5Bcommunity.nxp.com%5D%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EIdentify%20the%20next%20available%20address%20in%20UTEST%20flash%20(e.g.%2C%20starting%20from%200x1B000700)%20by%20checking%20for%20the%20first%20double-word%20filled%20with%200xFF.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ECreate%20the%20.srec%20File%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFormat%20the%20DCF%20record%20into%20an%20S3%20record%20line.%3C%2FLI%3E%0A%3CLI%3EExample%3A%26nbsp%3B%3CSTRONG%3ES30D1B00077001010000040010005A%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EThis%20line%20represents%20a%20DCF%20record%20at%20address%200x1B000770.%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Lock-step-core%2Fm-p%2F2184716%22%20target%3D%22_blank%22%3E%5Bcommunity.nxp.com%5D%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EConfigure%20S32DS%20Debugger%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECreate%20a%20new%20debug%20configuration%20in%20S32DS.%3C%2FLI%3E%0A%3CLI%3ESet%20the%20.srec%20file%20as%20the%20application%20to%20load.%3C%2FLI%3E%0A%3CLI%3EIn%20the%20debugger%20tab%2C%20enable%20%22%3CSTRONG%3EUse%20Alternative%20Algorithm%3C%2FSTRONG%3E%22%20and%20point%20to%20the%20correct%20PEMICRO%20flash%20algorithm%20(%3CSTRONG%3Enxp_s32k344_1x32x980k_hse_enabled.arp%3C%2FSTRONG%3E).%3C%2FLI%3E%0A%3CLI%3EDisable%20%22Load%20Symbols%22%20and%20%22Run%20on%20Reset%22%20since%20this%20session%20is%20only%20for%20programming.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EProgram%20the%20Flash%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EStart%20the%20debug%20session.%20The%20.srec%20file%20will%20be%20loaded%20into%20the%20UTEST%20flash.%3C%2FLI%3E%0A%3CLI%3EAfter%20programming%2C%20verify%20the%20memory%20content%20in%20the%20Memory%20View.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CBR%20%2F%3E%0A%3CP%3Enxp_s32k344_1x32x980k_hse_enabled.arp%26nbsp%3Balgorithm%20supports%20HSE-enabled%20devices%20and%20is%20suitable%20for%20UTEST%20flash%20programming.%3C%2FP%3E%0A%3CP%3EI%20have%20never%20tried%20it%20by%20using%20PEMicro%20so%20I%20can't%20verify%20the%20steps%20from%20my%20experience.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2187462%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2187462%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_blank%22%3E%40petervlna%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EI%20have%20referred%20the%20below%20community%20post%20for%20debugging%20using%20.srec%20file.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio%2Fta-p%2F1099436%22%20target%3D%22_blank%22%3EHOWTO%3A%20Program%20DCF%20record%20into%20UTEST%20flash%20in%20S32%20Design%20Studio%20for%20Power%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3CP%3E.s3%20extension%20also%20not%20working%3C%2FP%3E%3CP%3EWIth%20S32DS%20and%20PEMICRO%2C%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20program%20DCF%20record%20using%20.srec%20file%3F%3C%2FP%3E%3CP%3EIf%20yes%2C%20can%20you%20share%20any%20refer%20documents%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2185367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2185367%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20am%20confused%20here.%3C%2FP%3E%0A%3CP%3EWhy%20you%20are%20using%20extension%20srec%3F%20The%20debugger%20states%20that%20is%20not%20an%20object%20file.%3C%2FP%3E%0A%3CP%3EWhen%20using%20%3CSTRONG%3EPE%20Micro%3C%2FSTRONG%3E%20tools%20to%20program%20devices%20using%20%3CSTRONG%3ES-record%20(.srec)%3C%2FSTRONG%3E%20files%2C%20the%20type%20of%20S-record%20format%20you%20use%E2%80%94such%20as%20%3CSTRONG%3ES1%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ES2%3C%2FSTRONG%3E%2C%20or%20%3CSTRONG%3ES3%3C%2FSTRONG%3E%E2%80%94depends%20on%20the%20%3CSTRONG%3Eaddress%20range%3C%2FSTRONG%3E%20of%20the%20target%20device's%20memory.%3C%2FP%3E%0A%3CP%3EHere%E2%80%99s%20a%20quick%20breakdown%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3ES1%20records%3C%2FSTRONG%3E%3A%20Use%20%3CSTRONG%3E16-bit%20addresses%3C%2FSTRONG%3E%20(up%20to%2064%20KB).%20Suitable%20for%20small%20memory%20ranges.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ES2%20records%3C%2FSTRONG%3E%3A%20Use%20%3CSTRONG%3E24-bit%20addresses%3C%2FSTRONG%3E%20(up%20to%2016%20MB).%20Less%20common%2C%20but%20used%20for%20mid-range%20addressing.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ES3%20records%3C%2FSTRONG%3E%3A%20Use%20%3CSTRONG%3E32-bit%20addresses%3C%2FSTRONG%3E%20(up%20to%204%20GB).%20Most%20commonly%20used%20for%20modern%20microcontrollers%20and%20flash%20programming.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH4%20id%3D%22toc-hId-179642074%22%20id%3D%22toc-hId--1604751401%22%3EFor%20PE%20Micro%20programming%3A%3C%2FH4%3E%0A%3CUL%3E%0A%3CLI%3EIf%20you're%20targeting%20a%20%3CSTRONG%3E32-bit%20MCU%3C%2FSTRONG%3E%20or%20using%20a%20memory%20map%20that%20goes%20beyond%2064%20KB%2C%20you%20should%20use%20%3CSTRONG%3ES3%20records%3C%2FSTRONG%3E.%3C%2FLI%3E%0A%3CLI%3EPE%20Micro%20tools%20like%20%3CSTRONG%3EPROG%3C%2FSTRONG%3E%20or%20%3CSTRONG%3ECyclone%20programmers%3C%2FSTRONG%3E%20typically%20support%20S3%20format%20for%20flash%20programming.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EMaybe%20I%20am%20wrong%2C%20but%20use%20S3%20extension%20instead%20of%20srec.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_blank%22%3E%40petervlna%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%3CP%3EBut%20i%20am%20unable%20to%20debug%2C%20debugging%20failed%20with%20.srec%20files.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_0-1760346979436.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_0-1760346979436.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360444iA111FD0D00E57AC9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_0-1760346979436.png%22%20alt%3D%22nirmal_masilamani_0-1760346979436.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_4-1760347171505.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_4-1760347171505.png%22%20style%3D%22width%3A%20331px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360449iC2CC62AD7B0204D7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_4-1760347171505.png%22%20alt%3D%22nirmal_masilamani_4-1760347171505.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_1-1760347040844.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_1-1760347040844.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360446i9AC9351138C7C176%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_1-1760347040844.png%22%20alt%3D%22nirmal_masilamani_1-1760347040844.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_2-1760347127108.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_2-1760347127108.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360447i35B2B95DBB07232D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_2-1760347127108.png%22%20alt%3D%22nirmal_masilamani_2-1760347127108.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_3-1760347147113.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_3-1760347147113.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360448iCBAC69E2BC249D1B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_3-1760347147113.png%22%20alt%3D%22nirmal_masilamani_3-1760347147113.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EWe%20are%20using%20PE%20Micro%2C%20how%20can%20i%20use%20this%20S%20record%3F%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EI%20am%20not%20familiar%20with%20PE%20debuggers%2C%20but%20looking%20at%20documentation%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAnd%20is%20it%20mandatory%20to%20use%20S%20record%20or%20can%20i%20program%20DCF%20record%20directly%20using%20the%20example%20program%3F%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-179614237%22%20id%3D%22toc-hId-882761432%22%3EUsing%20S32%20Design%20Studio%20%2B%20PE%20Micro%20Plugin%3C%2FH4%3E%0A%3COL%3E%0A%3CLI%3E%0A%3CP%3EPrepare%20your%20DCF%20record%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIdentify%20the%20next%20available%20address%20in%20UTEST%20(look%20for%20the%20first%20double-word%20filled%20with%200xFF).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ECreate%20a%20.srec%20file%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFormat%20the%20DCF%20record%20into%20an%20S-record%20file.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EConfigure%20Debugger%20in%20S32DS%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUse%20PE%20Micro%E2%80%99s%20plugin%20to%20set%20up%20a%20debugger%20configuration.%3C%2FLI%3E%0A%3CLI%3ELoad%20the%20.srec%20file%20as%20the%20application.%3C%2FLI%3E%0A%3CLI%3EUse%20the%20correct%20flash%20algorithm%20(e.g.%2C%20nxp_s32k344_1x32x1012k_hse_disabled.arp).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3EFlash%20the%20DCF%20Record%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EStart%20the%20debug%20session.%3C%2FLI%3E%0A%3CLI%3EVerify%20the%20record%20in%20Memory%20View.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CH4%20id%3D%22toc-hId--1627840226%22%20id%3D%22toc-hId--924693031%22%3E%3CSTRONG%3EUsing%20PE%20Micro%E2%80%99s%20PROG-HL-ARM%20Tool%3C%2FSTRONG%3E%3C%2FH4%3E%0A%3CUL%3E%0A%3CLI%3EThis%20standalone%20tool%20supports%20flashing%20via%20JTAG%2FSWD.%3C%2FLI%3E%0A%3CLI%3EYou%20can%20load%20.srec%20or%20binary%20files%20and%20program%20them%20directly.%3C%2FLI%3E%0A%3CLI%3EIdeal%20for%20production%20environments%20using%20Cyclone%20programmers.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EMore%20info%3A%20%3CA%20tabindex%3D%220%22%20href%3D%22https%3A%2F%2Fwww.pemicro.com%2Farm%2Fdevice_support%2FNXP_Automotive%2FS32K3xx%2FS32K344%2Findex.cfm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20nofollow%22%20data-tabster%3D%22%7B%22%20restorer%3D%22%22%3EPE%20Micro%20S32K344%20Support%20Page%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EAnd%20is%20it%20mandatory%20to%20use%20S%20record%20or%20can%20i%20program%20DCF%20record%20directly%20using%20the%20example%20program%3F%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EAs%20UTEST%20is%20just%20standard%20flash%2C%20with%20OTP%20enabled%2C%20you%20can%20use%20SW%20to%20program%20it%2C%20like%20I%20have%20shared.%20For%20example%20C40%20driver%20example.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2183851%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183851%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_blank%22%3E%40petervlna%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%3CP%3E%3CSTRONG%3ES3%20record%20for%20PE%20Micro%20and%20other%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ES30D1B00077001010000040010005A%2C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWe%20are%20using%20PE%20Micro%2C%20how%20can%20i%20use%20this%20S%20record%3F%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20is%20it%20mandatory%20to%20use%20S%20record%20or%20can%20i%20program%20DCF%20record%20directly%20using%20the%20example%20program%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2183689%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2183689%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EBelow%20image%20id%20the%20data%20available%20in%26nbsp%3B0x1B000700%2C%20so%20i%20need%20to%20copy%20my%20DCF%20record%20in%26nbsp%3B%3CSTRONG%3E0x1B000770%3C%2FSTRONG%3E%3F%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EYes%2C%20that%20is%20correct.%3C%2FP%3E%0A%3CP%3EHere%20is%20how%20the%20record%20should%20looks%20like%3A%3C%2FP%3E%0A%3CP%3Eat%20address%26nbsp%3B%200x1B000770%20you%20will%20load%3A%26nbsp%3B0x0010000400000101%3C%2FP%3E%0A%3CP%3ESo%20you%20will%20modify%20the%20example%20here%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1760082759086.png%22%20style%3D%22width%3A%20683px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1760082759086.png%22%20style%3D%22width%3A%20683px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360215iEDB7130ABB5F5B5C%2Fimage-dimensions%2F683x422%3Fv%3Dv2%22%20width%3D%22683%22%20height%3D%22422%22%20role%3D%22button%22%20title%3D%22petervlna_1-1760082759086.png%22%20alt%3D%22petervlna_1-1760082759086.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20example%20code%20for%20UTEST%20programming%20is%20here%3A%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20class%3D%22lia-attachment-row-element%20lia-message-attachment-link-row-element%22%3E%3CSPAN%20class%3D%22lia-link-navigation%20lia-attachment-link-disabled%20lia-link-disabled%22%20aria-disabled%3D%22true%22%3EC40_Ip_Example_S32K344.zip%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-attachment-row-element%20lia-media-document%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-attachment-row-element%20lia-media-document%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Lock-step-kernel%2Fm-p%2F1930030%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-Lock-step-kernel%2Fm-p%2F1930030%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHere%20is%20DCF%20configurator%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K344-DCF-Configurator%2Fta-p%2F1986243%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FS32K344-DCF-Configurator%2Fta-p%2F1986243%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EFor%20lauterbach%20debugger%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3Edata.set%200x1B000790%20%25QUAD%200x0010000400000101%20%3Bdcf_client_utest_misc%3C%2FP%3E%0A%3CP%3Eand%20in%20S3%20record%20for%20PE%20Micro%20and%20other%3A%3C%2FP%3E%0A%3CP%3ES30D1B00077001010000040010005A%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_blank%22%3E%40petervlna%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBelow%20image%20id%20the%20data%20available%20in%26nbsp%3B0x1B000700%2C%20so%20i%20need%20to%20copy%20my%20DCF%20record%20in%26nbsp%3B%3CSTRONG%3E0x1B000770%3C%2FSTRONG%3E%3F%3C%2FP%3E%3CP%3ECan%20you%20give%20me%20an%20example%20for%20DCF%20Records%2C%20to%20enable%20Lockstep%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_0-1760000995795.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_0-1760000995795.png%22%20style%3D%22width%3A%20375px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360029i1FA9D78BB5F04C30%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_0-1760000995795.png%22%20alt%3D%22nirmal_masilamani_0-1760000995795.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIs%20there%20any%20document%20for%20DCF%20details%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182866%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F13836%22%20target%3D%22_blank%22%3E%40petervlna%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%3CP%3ECan%20you%20show%20me%20an%20example%26nbsp%3B%3CSPAN%3EDCF%20record%20for%20enabling%20lockstep%20in%20S32K344%2C%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2182818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20Lock%20step%20core%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2182818%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EOne%20thing%20is%20not%20clear%2C%20how%20to%20know%2C%20address%20for%20UTEST_MISC%20to%20enable%2F%20disable%20lockstep.%3F%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EThere%20is%20no%20fixed%20address%20of%20UTEST_MISC.%20It%20is%20not%20a%20register%2C%20it%20is%20a%20DCF%20(device%20configuration%20record)%20which%20is%20during%20reset%20phase%20copied%20to%20corresponding%20register%2F%20registers.%3C%2FP%3E%0A%3CP%3EYou%20will%20program%20UTEST_MISC%20record%20into%20the%20UTEST%20memory%20in%20user%20area%20to%20the%20first%20available%20space.%3C%2FP%3E%0A%3CP%3EIt%20is%20in%20this%20area%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1759995633418.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1759995633418.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360018i8009D21A0207937E%2Fimage-dimensions%2F800x504%3Fv%3Dv2%22%20width%3D%22800%22%20height%3D%22504%22%20role%3D%22button%22%20title%3D%22petervlna_0-1759995633418.png%22%20alt%3D%22petervlna_0-1759995633418.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFirst%20available%20space%20is%20filled%20with%200xFFFF_FFFF_FFFF_FFFF%20which%20is%20stop%20record.%20So%20load%20you%20DCF%20record%20here.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E