Assistance Required for Flash Programming S32K344 Using USB Multilink Universal FX in S32 Design Stu

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

Assistance Required for Flash Programming S32K344 Using USB Multilink Universal FX in S32 Design Stu

66 Views
Aravind_Togaralli
Contributor II

Dear NXP Technical Support Team,

I hope you are doing well.

I am currently working with the FRDM-A-S32K344 evaluation board and using S32 Design Studio (S32DS) for application development. I would like to program and debug the S32K344 MCU using a PEmicro USB Multilink Universal FX debugger through the JTAG/SWD interface.

I would appreciate your guidance on the correct configuration and setup for this hardware combination. Specifically, I would like assistance with the following:

  1. Software and Driver Requirements
    • Required PEmicro drivers and firmware versions.
    • Any additional S32DS packages or device support that must be installed.
    • Recommended version compatibility between S32DS and the USB Multilink Universal FX.
  2. S32 Design Studio Debug Configuration
    • Step-by-step instructions for creating a PEmicro GDB Server debug configuration.
    • Recommended settings for the Main, Debugger, Startup, and Common tabs.
    • Any target-specific configuration required for the S32K344.
  3. Hardware Connection
    • Confirmation of the correct JTAG/SWD pin connections between the FRDM-A-S32K344 J9 header and the USB Multilink Universal FX (Port B).
    • Whether any special wiring or signal connections are recommended.
  4. Board Configuration
    • Required jumper or switch settings on the FRDM-A-S32K344 board.
    • Any configuration related to the FS26 System Basis Chip (SBC) or watchdog that should be considered to prevent resets during programming and debugging.
  5. Reference Documentation
    • Any application notes, user guides, or example projects demonstrating the use of the USB Multilink Universal FX with the S32K344 would be greatly appreciated.

For your reference, I have also attached a diagram illustrating the JTAG pin connections between the FRDM-A-S32K344 board and the USB Multilink Universal FX.

Thank you for your time and support. I look forward to your guidance.

Kind regards,

Aravind Togaralli

0 Kudos
Reply
1 Reply

35 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Aravind_Togaralli,

1. NXP always recommends using the latest SW release available. Right now, the latest release for S32K3 include:

S32DS 3.6.10 includes PEmicro interface debugging support version 6.2.1.

2. When importing an example, or creating a new S32DS application project, the respective debug configuration is generated. You can refer to the examples for the recommended settings, however, most important ones are 'C/C++ Application' path, device & port selected, and GDB Client executable path:

Julin_AragnM_1-1786048764074.png
Julin_AragnM_0-1786048752996.png

3. Yes, if you wish to debug the FRDM-A-S32K344 with an external debugger, you must use the J9 20-pin Cortex Debug + ETM header.

4. As detailed inside the FRDM-A-S32K344 development board user manual (UM12406), to enable this interface, jumper JP11 (OpenSDA voltage) must be removed.

5. You can refer to HOWTO Build a Project and Setup Debugging with GDB PEMicro Debugging Interface. Or you can refer directly to PEmicro: PEmicro NXP_Automotive S32K3xx Device Support.

For any specific function/configuration, you can try contacting PEmicro instead.

Best regards,
Julián

%3CLINGO-SUB%20id%3D%22lingo-sub-2402539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAssistance%20Required%20for%20Flash%20Programming%20S32K344%20Using%20USB%20Multilink%20Universal%20FX%20in%20S32%20Design%20Stu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3EDear%20NXP%20Technical%20Support%20Team%2C%3C%2FP%3E%3CP%3EI%20hope%20you%20are%20doing%20well.%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20with%20the%20%3CSTRONG%3EFRDM-A-S32K344%3C%2FSTRONG%3E%20evaluation%20board%20and%20using%20%3CSTRONG%3ES32%20Design%20Studio%20(S32DS)%3C%2FSTRONG%3E%20for%20application%20development.%20I%20would%20like%20to%20program%20and%20debug%20the%20S32K344%20MCU%20using%20a%20%3CSTRONG%3EPEmicro%20USB%20Multilink%20Universal%20FX%3C%2FSTRONG%3E%20debugger%20through%20the%20%3CSTRONG%3EJTAG%2FSWD%20interface%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EI%20would%20appreciate%20your%20guidance%20on%20the%20correct%20configuration%20and%20setup%20for%20this%20hardware%20combination.%20Specifically%2C%20I%20would%20like%20assistance%20with%20the%20following%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CSTRONG%3ESoftware%20and%20Driver%20Requirements%3C%2FSTRONG%3E%3CUL%3E%3CLI%3ERequired%20PEmicro%20drivers%20and%20firmware%20versions.%3C%2FLI%3E%3CLI%3EAny%20additional%20S32DS%20packages%20or%20device%20support%20that%20must%20be%20installed.%3C%2FLI%3E%3CLI%3ERecommended%20version%20compatibility%20between%20S32DS%20and%20the%20USB%20Multilink%20Universal%20FX.%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ES32%20Design%20Studio%20Debug%20Configuration%3C%2FSTRONG%3E%3CUL%3E%3CLI%3EStep-by-step%20instructions%20for%20creating%20a%20%3CSTRONG%3EPEmicro%20GDB%20Server%3C%2FSTRONG%3E%20debug%20configuration.%3C%2FLI%3E%3CLI%3ERecommended%20settings%20for%20the%20%3CSTRONG%3EMain%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EDebugger%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EStartup%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3ECommon%3C%2FSTRONG%3E%20tabs.%3C%2FLI%3E%3CLI%3EAny%20target-specific%20configuration%20required%20for%20the%20S32K344.%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EHardware%20Connection%3C%2FSTRONG%3E%3CUL%3E%3CLI%3EConfirmation%20of%20the%20correct%20JTAG%2FSWD%20pin%20connections%20between%20the%20%3CSTRONG%3EFRDM-A-S32K344%20J9%20header%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3EUSB%20Multilink%20Universal%20FX%20(Port%20B)%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3EWhether%20any%20special%20wiring%20or%20signal%20connections%20are%20recommended.%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EBoard%20Configuration%3C%2FSTRONG%3E%3CUL%3E%3CLI%3ERequired%20jumper%20or%20switch%20settings%20on%20the%20FRDM-A-S32K344%20board.%3C%2FLI%3E%3CLI%3EAny%20configuration%20related%20to%20the%20%3CSTRONG%3EFS26%20System%20Basis%20Chip%20(SBC)%3C%2FSTRONG%3E%20or%20watchdog%20that%20should%20be%20considered%20to%20prevent%20resets%20during%20programming%20and%20debugging.%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EReference%20Documentation%3C%2FSTRONG%3E%3CUL%3E%3CLI%3EAny%20application%20notes%2C%20user%20guides%2C%20or%20example%20projects%20demonstrating%20the%20use%20of%20the%20%3CSTRONG%3EUSB%20Multilink%20Universal%20FX%3C%2FSTRONG%3E%20with%20the%20%3CSTRONG%3ES32K344%3C%2FSTRONG%3E%20would%20be%20greatly%20appreciated.%3C%2FLI%3E%3C%2FUL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EFor%20your%20reference%2C%20I%20have%20also%20attached%20a%20diagram%20illustrating%20the%20JTAG%20pin%20connections%20between%20the%20%3CSTRONG%3EFRDM-A-S32K344%20board%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3EUSB%20Multilink%20Universal%20FX%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20time%20and%20support.%20I%20look%20forward%20to%20your%20guidance.%3C%2FP%3E%3CP%3EKind%20regards%2C%3C%2FP%3E%3CP%3E%3CSTRONG%3EAravind%20Togaralli%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402623%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Assistance%20Required%20for%20Flash%20Programming%20S32K344%20Using%20USB%20Multilink%20Universal%20FX%20in%20S32%20Design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402623%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%2F262505%22%20target%3D%22_blank%22%3E%40Aravind_Togaralli%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E1.%20NXP%20always%20recommends%20using%20the%20latest%20SW%20release%20available.%20Right%20now%2C%20the%20latest%20release%20for%20S32K3%20include%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fnxp.flexnetoperations.com%2Fcontrol%2Ffrse%2Fdownload%3Felement%3D8103061%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ES32%20Design%20Studio%20IDE%203.6.10%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fnxp.flexnetoperations.com%2Fcontrol%2Ffrse%2Fdownload%3Felement%3D7873971%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20S32K3_S32M27x%20Real-Time%20Drivers%20ASR%20R23-11%20Version%207.0.1%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ES32DS%203.6.10%20includes%20PEmicro%20interface%20debugging%20support%20version%206.2.1.%3C%2FP%3E%0A%3CP%3E2.%20When%20importing%20an%20example%2C%20or%20creating%20a%20new%20S32DS%20application%20project%2C%20the%20respective%20debug%20configuration%20is%20generated.%20You%20can%20refer%20to%20the%20examples%20for%20the%20recommended%20settings%2C%20however%2C%20most%20important%20ones%20are%20'C%2FC%2B%2B%20Application'%20path%2C%20device%20%26amp%3B%20port%20selected%2C%20and%20GDB%20Client%20executable%20path%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_1-1786048764074.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_1-1786048764074.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393902iE70214F2399D9366%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_1-1786048764074.png%22%20alt%3D%22Julin_AragnM_1-1786048764074.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_0-1786048752996.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1786048752996.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393901i20704FC1FA6DA1DC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_0-1786048752996.png%22%20alt%3D%22Julin_AragnM_0-1786048752996.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E3.%20Yes%2C%20if%20you%20wish%20to%20debug%20the%20FRDM-A-S32K344%20with%20an%20external%20debugger%2C%20you%20must%20use%20the%26nbsp%3B%3CSTRONG%3EJ9%3CSPAN%3E%26nbsp%3B20-pin%20Cortex%20Debug%20%2B%20ETM%20header.%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E4.%20As%20detailed%20inside%20the%20FRDM-A-S32K344%20development%20board%20user%20manual%20(%3CSTRONG%3EUM12406%3C%2FSTRONG%3E)%2C%20to%20enable%20this%20interface%2C%20jumper%20%3CSTRONG%3EJP11%20(OpenSDA%20voltage)%3C%2FSTRONG%3E%20must%20be%20removed.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E5.%20You%20can%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Build-a-Project-and-Setup-Debugging-with-GDB-PEMicro%2Fta-p%2F1941848%22%20target%3D%22_blank%22%3EHOWTO%20Build%20a%20Project%20and%20Setup%20Debugging%20with%20GDB%20PEMicro%20Debugging%20Interface%3C%2FA%3E.%20Or%20you%20can%20refer%20directly%20to%20PEmicro%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.pemicro.com%2Farm%2Fdevice_support%2FNXP_Automotive%2FS32K3xx%2Findex.cfm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPEmicro%20NXP_Automotive%20S32K3xx%20Device%20Support%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20any%20specific%20function%2Fconfiguration%2C%20you%20can%20try%20contacting%20PEmicro%20instead.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E