S32 design example project UM11965 throws error while building project - CANHUBK344

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

S32 design example project UM11965 throws error while building project - CANHUBK344

644 Views
Prasanna2
Contributor I

I am following Section 8 of UM 11965 (CANHUBK344), successfully did a offline install of the extensions & imported the sample project and did a build project. It throws multiple errors for the TODOs .. What should we do with the TODOs here, i have the reference kit hardware and in the user manual no mention of these TODOs.  And also once i build the project could you share the link of how to flash the elf file using programmer ?

Prasanna2_0-1757446089919.png

 

0 Kudos
Reply
5 Replies

570 Views
Prasanna2
Contributor I

Sorry let me rephrase my issue. The main issue relating to the build errors while compiling the sample code for CANHUBK344. I am following Section 8 of UM 11965 (CANHUBK344) &  imported the sample project and did a build project. It throws multiple compilation errors for the TODOs in the sample code MR_CANHUBK3_IEEE1722   .. What should we do with the TODOs in the sample code here, i have the reference kit hardware and in the user manual no mention of these TODOs.  How do i fix this compilation errors refer below the screentshot sample

Prasanna2_0-1757565705743.png

 

0 Kudos
Reply

563 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I am able to build this project without error

Build Finished 0 errors MR_CANHUBK3_IEEE1722.png

0 Kudos
Reply

590 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

There is no on-board debugger on the CANHUBK344 board. Did you connect external debugger(PEMicro Multilink or Segger J-Link) at P7A?

MR-CANHUBK344 external 12V and Multilink FX debugger - Copy.jpg

If you are using Segger J-Link, please refer to S32 Design Studio for S32 Platform V3.4/V3.5 + SEGGER J-LINK Plus

If you are using PEMicro Multilink, please refer to

PEMicro debug.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

499 Views
Prasanna2
Contributor I

Hello ,

Could you advise which is best option for programming & debugging ?

- PEM Micro Multi Link 

- J-LINK

Or MCU-Link Debug probe

Or other option 

Apart from flashing/programming i also want the better capabilities for debugging ..

0 Kudos
Reply

443 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Lauterbach TRACE32
PEMicro Multilink
SEGGER J-Link

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2166122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32%20design%20example%20project%20UM11965%20throws%20error%20while%20building%20project%20-%20CANHUBK344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166122%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20following%20Section%208%20of%20UM%2011965%20(CANHUBK344)%2C%20successfully%20did%20a%20offline%20install%20of%20the%20extensions%20%26amp%3B%20imported%20the%20sample%20project%20and%20did%20a%20build%20project.%20It%20throws%20multiple%20errors%20for%20the%20TODOs%20..%20What%20should%20we%20do%20with%20the%20TODOs%20here%2C%20i%20have%20the%20reference%20kit%20hardware%20and%20in%20the%20user%20manual%20no%20mention%20of%20these%20TODOs.%26nbsp%3B%20And%20also%20once%20i%20build%20the%20project%20could%20you%20share%20the%20link%20of%20how%20to%20flash%20the%20elf%20file%20using%20programmer%20%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Prasanna2_0-1757446089919.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Prasanna2_0-1757446089919.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356124i9B7B7E986D40F546%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Prasanna2_0-1757446089919.png%22%20alt%3D%22Prasanna2_0-1757446089919.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2173037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32%20design%20example%20project%20UM11965%20throws%20error%20while%20building%20project%20-%20CANHUBK344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2173037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%2C%3C%2FP%3E%3CP%3ECould%20you%20advise%20which%20is%20best%20option%20for%20programming%20%26amp%3B%20debugging%20%3F%3C%2FP%3E%3CP%3E-%20PEM%20Micro%20Multi%20Link%26nbsp%3B%3C%2FP%3E%3CP%3E-%20J-LINK%3C%2FP%3E%3CP%3EOr%20MCU-Link%20Debug%20probe%3C%2FP%3E%3CP%3EOr%20other%20option%26nbsp%3B%3C%2FP%3E%3CP%3EApart%20from%20flashing%2Fprogramming%20i%20also%20want%20the%20better%20capabilities%20for%20debugging%20..%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32%20design%20example%20project%20UM11965%20throws%20error%20while%20building%20project%20-%20CANHUBK344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20able%20to%20build%20this%20project%20without%20error%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Build%20Finished%200%20errors%20MR_CANHUBK3_IEEE1722.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Build%20Finished%200%20errors%20MR_CANHUBK3_IEEE1722.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356454i61270F45B189C713%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Build%20Finished%200%20errors%20MR_CANHUBK3_IEEE1722.png%22%20alt%3D%22Build%20Finished%200%20errors%20MR_CANHUBK3_IEEE1722.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2167428%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32%20design%20example%20project%20UM11965%20throws%20error%20while%20building%20project%20-%20CANHUBK344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167428%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ESorry%20let%20me%20rephrase%20my%20issue.%20The%20main%20issue%20relating%20to%20the%20build%20errors%20while%20compiling%20the%20sample%20code%20for%20CANHUBK344.%20I%20am%20following%20Section%208%20of%20UM%2011965%20(CANHUBK344)%20%26amp%3B%26nbsp%3B%20imported%20the%20sample%20project%20and%20did%20a%20build%20project.%20%3CSTRONG%3EIt%20throws%20multiple%20compilation%20errors%20for%20the%20TODOs%20in%20the%20sample%20code%26nbsp%3BMR_CANHUBK3_IEEE1722%26nbsp%3B%20%26nbsp%3B.%3C%2FSTRONG%3E.%20What%20should%20we%20do%20with%20the%20TODOs%20in%20the%20sample%20code%20here%2C%20i%20have%20the%20reference%20kit%20hardware%20and%20in%20the%20user%20manual%20no%20mention%20of%20these%20TODOs.%26nbsp%3B%20How%20do%20i%20fix%20this%20compilation%20errors%20refer%20below%20the%20screentshot%20sample%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Prasanna2_0-1757565705743.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Prasanna2_0-1757565705743.png%22%20style%3D%22width%3A%20399px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356418i384EB9EE99A5D724%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Prasanna2_0-1757565705743.png%22%20alt%3D%22Prasanna2_0-1757565705743.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2166489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32%20design%20example%20project%20UM11965%20throws%20error%20while%20building%20project%20-%20CANHUBK344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2166489%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20on-board%20debugger%26nbsp%3Bon%20the%20CANHUBK344%20board.%20Did%20you%20connect%20external%20debugger(PEMicro%20%3CA%20href%3D%22https%3A%2F%2Fwww.pemicro.com%2Fproducts%2Fproduct_viewDetails.cfm%3Fproduct_id%3D15320180%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMultilink%3C%2FA%3E%20or%20Segger%20%3CA%20href%3D%22https%3A%2F%2Fwww.segger.com%2Fproducts%2Fdebug-probes%2Fj-link%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EJ-Link%3C%2FA%3E)%20at%20P7A%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MR-CANHUBK344%20external%2012V%20and%20Multilink%20FX%20debugger%20-%20Copy.jpg%22%20style%3D%22width%3A%20750px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22MR-CANHUBK344%20external%2012V%20and%20Multilink%20FX%20debugger%20-%20Copy.jpg%22%20style%3D%22width%3A%20750px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356219i6CB0756195616118%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22MR-CANHUBK344%20external%2012V%20and%20Multilink%20FX%20debugger%20-%20Copy.jpg%22%20alt%3D%22MR-CANHUBK344%20external%2012V%20and%20Multilink%20FX%20debugger%20-%20Copy.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20using%20Segger%20J-Link%2C%20please%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FS32-Design-Studio-for-S32-Platform-V3-4-V3-5-SEGGER-J-LINK-Plus%2Fta-p%2F1635798%22%20target%3D%22_self%22%3ES32%20Design%20Studio%20for%20S32%20Platform%20V3.4%2FV3.5%20%2B%20SEGGER%20J-LINK%20Plus%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20using%20PEMicro%20Multilink%2C%20please%20refer%20to%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PEMicro%20debug.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PEMicro%20debug.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F356221i1166E4CB03A4523F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PEMicro%20debug.png%22%20alt%3D%22PEMicro%20debug.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E