HOWTO: S32V234-EVB debugging with Linux and gdbserver on target machine

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

HOWTO: S32V234-EVB debugging with Linux and gdbserver on target machine

HOWTO: S32V234-EVB debugging with Linux and gdbserver on target machine

Requirements:

Procedure:

Build your Linux project. On main menu bar click Run->Debug configurations. Select C/C++ Remote Application in debug window main tab. Create new connection by clicking on New... button. 

s32ds_2017-06-30_12-21-27.png

Select SSH connection type and fill connection details - IP address and user  name. 

s32ds_2017-06-30_12-20-17.png 

2017-06-30_12-20-45.png

When done - click to apply and start debug session. Your elf file will be upload to SD card and executed by gdbserver on target machine. 

s32ds_2017-06-30_12-27-22.png

%3CLINGO-SUB%20id%3D%22lingo-sub-1103972%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHOWTO%3A%20S32V234-EVB%20debugging%20with%20Linux%20and%20gdbserver%20on%20target%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103972%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3ERequirements%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CUL%3E%3CLI%3ESD%20card%20with%20installed%20Linux%20image%20connected%20to%20EVB%20(%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-335023%22%20target%3D%22_blank%22%3EHOWTO%3A%20Prepare%20A%20SD%20Card%20For%20Linux%20Boot%20Of%20S32V234-EVB%20Using%20BSP%20From%20VSDK%3C%2FA%3E%26nbsp%3B)%3C%2FLI%3E%3CLI%3EConfigured%20network%20connection%20between%20EVB%20and%20PC%20machine%20(%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-335345%22%20target%3D%22_blank%22%3EHOWTO%3A%20S32V234%20EVB%20Linux%20-%20Static%20IP%20address%20configuration%3C%2FA%3E%26nbsp%3B)%3C%2FLI%3E%3CLI%3ES32DS%20for%20Vision%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3EProcedure%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EBuild%20your%20Linux%20project.%20On%20main%20menu%20bar%20click%20Run-%26gt%3BDebug%20configurations.%20Select%20C%2FC%2B%2B%20Remote%20Application%20in%20debug%20window%20main%20tab.%20Create%20new%20connection%20by%20clicking%20on%20New...%20button.%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-21-27.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-21-27.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F63807i953B2C4A9E00AEA2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22s32ds_2017-06-30_12-21-27.png%22%20alt%3D%22s32ds_2017-06-30_12-21-27.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3ESelect%20SSH%20connection%20type%20and%20fill%20connection%20details%20-%20IP%20address%20and%20user%20%26nbsp%3Bname.%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-20-17.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-20-17.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F63808iCE4BFEE2ED76DE9B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22s32ds_2017-06-30_12-20-17.png%22%20alt%3D%22s32ds_2017-06-30_12-20-17.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222017-06-30_12-20-45.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222017-06-30_12-20-45.png%22%20style%3D%22width%3A%20543px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F63809iECCA46571B04F535%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%222017-06-30_12-20-45.png%22%20alt%3D%222017-06-30_12-20-45.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EWhen%20done%20-%20click%20to%20apply%20and%20start%20debug%20session.%20Your%20elf%20file%20will%20be%20upload%20to%20SD%20card%20and%20executed%20by%20gdbserver%20on%20target%20machine.%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-27-22.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22s32ds_2017-06-30_12-27-22.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F63810iEAAD0B602713C528%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22s32ds_2017-06-30_12-27-22.png%22%20alt%3D%22s32ds_2017-06-30_12-27-22.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎06-30-2017 03:28 AM
Updated by: