SWD over FlexIO

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

SWD over FlexIO

Jump to solution
407 Views
QuinnZ
Contributor I

Hi,

I would like to use FlexIO on the i.MX8ULP to emulate SWD communication, but I currently only see examples for other protocols (SPI, UART, etc.) and cannot find any official code related to SWD. However, SWD is included in the advertising slides regarding FlexIO Features (Introduction to the FlexIO module). So I would like to ask:

  1. Is there any official NXP code for SWD over FlexIO?
  2. If not, is there any guide on how to configure SWD over FlexIO?

Best regards

0 Kudos
Reply
1 Solution
373 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @QuinnZ,

Thank you for contacting NXP Support!

 

The FlexIO peripheral is capable to emulate SWD, unfortunately we don´t have any example for this particular case.

 

For your case I recommend to check the SWD specification to develop your own driver.

 

Arm Debug Interface Architecture Specification 

Serial Wire Debug (SWD) programming specification 

 

Best Regards,

Chavira

View solution in original post

0 Kudos
Reply
1 Reply
374 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @QuinnZ,

Thank you for contacting NXP Support!

 

The FlexIO peripheral is capable to emulate SWD, unfortunately we don´t have any example for this particular case.

 

For your case I recommend to check the SWD specification to develop your own driver.

 

Arm Debug Interface Architecture Specification 

Serial Wire Debug (SWD) programming specification 

 

Best Regards,

Chavira

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2247895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESWD%20over%20FlexIO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2247895%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20would%20like%20to%20use%20FlexIO%20on%20the%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2Fi.MX8ULP%2Fpd-p%2Fi.MX8ULP%22%20class%3D%22lia-product-mention%22%20data-product%3D%22506-1%22%20target%3D%22_blank%22%3Ei.MX8ULP%3C%2FA%3E%26nbsp%3Bto%20emulate%20SWD%20communication%2C%20but%20I%20currently%20only%20see%20examples%20for%20other%20protocols%20(SPI%2C%20UART%2C%20etc.)%20and%20cannot%20find%20any%20official%20code%20related%20to%20SWD.%20However%2C%20SWD%20is%20included%20in%20the%20advertising%20slides%20regarding%20FlexIO%20Features%20(%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fsupporting-information%2FFTF-ACC-F1179_Introduction_to_FlexIO.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EIntroduction%20to%20the%20FlexIO%20module%3C%2FA%3E).%20So%20I%20would%20like%20to%20ask%3A%3C%2FP%3E%3COL%3E%3CLI%3EIs%20there%20any%20official%20NXP%20code%20for%20SWD%20over%20FlexIO%3F%3C%2FLI%3E%3CLI%3EIf%20not%2C%20is%20there%20any%20guide%20on%20how%20to%20configure%20SWD%20over%20FlexIO%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2248412%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SWD%20over%20FlexIO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2248412%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%2F257271%22%20target%3D%22_blank%22%3E%40QuinnZ%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20contacting%20NXP%20Support!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20FlexIO%20peripheral%20is%20capable%20to%20emulate%20SWD%2C%20unfortunately%20we%20don%C2%B4t%20have%20any%20example%20for%20this%20particular%20case.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFor%20your%20case%20I%20recommend%20to%20check%20the%20SWD%20specification%20to%20develop%20your%20own%20driver.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26amp%3Bsource%3Dweb%26amp%3Brct%3Dj%26amp%3Bopi%3D89978449%26amp%3Burl%3Dhttps%3A%2F%2Fdocumentation-service.arm.com%2Fstatic%2F622222b2e6f58973271ebc21%253Ftoken%253D%26amp%3Bved%3D2ahUKEwjZ5Jfsr42RAxXYOUQIHfvDG3sQFnoECBcQAQ%26amp%3Busg%3DAOvVaw3P6WcCOejcQE78Mc2abDgD%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EArm%20Debug%20Interface%20Architecture%20Specification%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26amp%3Bsource%3Dweb%26amp%3Brct%3Dj%26amp%3Bopi%3D89978449%26amp%3Burl%3Dhttps%3A%2F%2Fcommunity.nxp.com%2Fpwmxy87654%2Fattachments%2Fpwmxy87654%2Flpc%2F55224%2F1%2FSWD%252520Programming%252520AN11553.pdf%26amp%3Bved%3D2ahUKEwjZ5Jfsr42RAxXYOUQIHfvDG3sQFnoECBgQAQ%26amp%3Busg%3DAOvVaw1m-_GHeyiCL6CzCnFNbn-Q%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ESerial%20Wire%20Debug%20(SWD)%20programming%20specification%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EChavira%3C%2FP%3E%3C%2FLINGO-BODY%3E