Code flashing error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
328件の閲覧回数
embedded12
Contributor I

Hello,

I am working with the RDBESSK358BMU (S32K358) using S32 Design Studio 3.6.4 and RTD drivers. I am attempting to run a simple Dio example to toggle the onboard LED to confirm MCU operation.

The project builds, flashes, and verifies successfully via the PEmicro debugger, and the device resets without errors. Breakpoints indicate that the application reaches main() and executes normally. However, LED D does not blink or change state, even when toggling output polarity and using long delays.

I configured the GPIO pin in the project’s .mex file and regenerated code, but the generated configuration files do not appear to reflect the pin changes, even after cleaning and rebuilding the project. currently the example uses PTA0 which doesnt look for my board

Could you please advise on:

  • The correct GPIO pin mapping for LED D on this board 

  • Why .mex configuration changes may not propagate to generated files

タグ(1)
0 件の賞賛
返信
1 解決策
300件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @embedded12 

If you refer to the description.txt file included with the example, you will see that it states the example supports only the S32K3X8EVB‑Q289. This hardware is not compatible with the RDK358BMU board. There are several hardware differences between the two boards, so running any example on your board will require taking the differences into account and modifying as needed. It will not be a plug‑and‑play experience as it would be when using the EVB.

I recommend reviewing the board schematic to better understand the board’s connections and how it interacts with the other devices.

Regarding the changes made in the .mex file not being reflected in the generated files, could you please share screenshots of what you are observing? Also, which RTD version are you using so I can verify the behavior on my side?

 

BR, VaneB

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
301件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @embedded12 

If you refer to the description.txt file included with the example, you will see that it states the example supports only the S32K3X8EVB‑Q289. This hardware is not compatible with the RDK358BMU board. There are several hardware differences between the two boards, so running any example on your board will require taking the differences into account and modifying as needed. It will not be a plug‑and‑play experience as it would be when using the EVB.

I recommend reviewing the board schematic to better understand the board’s connections and how it interacts with the other devices.

Regarding the changes made in the .mex file not being reflected in the generated files, could you please share screenshots of what you are observing? Also, which RTD version are you using so I can verify the behavior on my side?

 

BR, VaneB

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-2340378%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E3%82%B3%E3%83%BC%E3%83%89%E7%82%B9%E6%BB%85%E3%82%A8%E3%83%A9%E3%83%BC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340378%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%3C%2FP%3E%3CP%3E%E7%A7%81%E3%81%AFS32%20Design%20Studio%203.6.4%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6RDBESSK358BMU%EF%BC%88S32K358%EF%BC%89%E3%82%92%E6%89%B1%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%81%9D%E3%81%97%E3%81%A6RTD%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E3%80%82MCU%E3%81%AE%E5%8B%95%E4%BD%9C%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81%E3%82%AA%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%89LED%E3%82%92%E7%82%B9%E6%BB%85%E3%81%95%E3%81%9B%E3%82%8B%E3%82%B7%E3%83%B3%E3%83%97%E3%83%AB%E3%81%AADio%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%93%E3%81%AE%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AF%E3%80%81PEmicro%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%92%E4%BB%8B%E3%81%97%E3%81%A6%E3%83%93%E3%83%AB%E3%83%89%E3%80%81%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%80%81%E6%A4%9C%E8%A8%BC%E3%82%92%E6%AD%A3%E5%B8%B8%E3%81%AB%E5%AE%8C%E4%BA%86%E3%81%97%E3%80%81%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E3%81%AF%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%AA%E3%81%8F%E3%83%AA%E3%82%BB%E3%83%83%E3%83%88%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%80%82%E3%83%96%E3%83%AC%E3%83%BC%E3%82%AF%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88%E3%81%AF%E3%80%81%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%8Cmain()%E9%96%A2%E6%95%B0%E3%81%AB%E5%88%B0%E9%81%94%E3%81%97%E3%80%81%E6%AD%A3%E5%B8%B8%E3%81%AB%E5%AE%9F%E8%A1%8C%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E7%A4%BA%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E5%87%BA%E5%8A%9B%E6%A5%B5%E6%80%A7%E3%82%92%E5%88%87%E3%82%8A%E6%9B%BF%E3%81%88%E3%81%9F%E3%82%8A%E3%80%81%E9%95%B7%E3%81%84%E9%81%85%E5%BB%B6%E6%99%82%E9%96%93%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9F%E3%82%8A%E3%81%97%E3%81%A6%E3%82%82%E3%80%81LED%20D%E3%81%AF%E7%82%B9%E6%BB%85%E3%81%97%E3%81%9F%E3%82%8A%E7%8A%B6%E6%85%8B%E3%81%8C%E5%A4%89%E5%8C%96%E3%81%97%E3%81%9F%E3%82%8A%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CP%3E%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AE.mex%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%A7GPIO%E3%83%94%E3%83%B3%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%A8%E5%86%8D%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AF%E6%9B%B4%E6%96%B0%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%A2%E3%83%83%E3%83%97%E3%81%97%E3%81%A6%E5%86%8D%E3%83%93%E3%83%AB%E3%83%89%E3%81%97%E3%81%9F%E5%BE%8C%E3%81%A7%E3%82%82%E3%80%81%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E6%A7%8B%E6%88%90%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AB%E3%81%AF%E3%83%94%E3%83%B3%E3%81%AE%E5%A4%89%E6%9B%B4%E3%81%8C%E5%8F%8D%E6%98%A0%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%82%88%E3%81%86%E3%81%A7%E3%81%99%E3%80%82%E7%8F%BE%E5%9C%A8%E3%80%81%E3%81%93%E3%81%AE%E4%BE%8B%E3%81%A7%E3%81%AFPTA0%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E7%A7%81%E3%81%AE%E3%83%9C%E3%83%BC%E3%83%89%E3%81%AF%E6%A4%9C%E7%B4%A2%E3%81%95%E3%82%8C%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%3CP%3E%E4%BB%A5%E4%B8%8B%E3%81%AE%E7%82%B9%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%82%A2%E3%83%89%E3%83%90%E3%82%A4%E3%82%B9%E3%82%92%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B%EF%BC%9F%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%E3%81%93%E3%81%AE%E3%83%9C%E3%83%BC%E3%83%89%E4%B8%8A%E3%81%AELED%20D%E3%81%AE%E6%AD%A3%E3%81%97%E3%81%84GPIO%E3%83%94%E3%83%B3%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%E3%81%AA%E3%81%9C.mex%E3%81%AA%E3%81%AE%E3%81%8B%E8%A8%AD%E5%AE%9A%E5%A4%89%E6%9B%B4%E3%81%8C%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AB%E5%8F%8D%E6%98%A0%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2340557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Code%20flashing%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2340557%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F261068%22%20target%3D%22_blank%22%3E%40embedded12%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%81%AB%E5%90%8C%E6%A2%B1%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8Bdescription.txt%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E5%8F%82%E7%85%A7%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81%E3%81%93%E3%81%AE%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%81%AFS32K3X8EVB-Q289%E3%81%AE%E3%81%BF%E3%82%92%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%81%A8%E8%A8%98%E8%BC%89%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E3%81%93%E3%81%A8%E3%81%8C%E3%82%8F%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%81%AE%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A6%E3%82%A7%E3%82%A2%E3%81%AFRDK358BMU%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A8%E4%BA%92%E6%8F%9B%E6%80%A7%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%822%E3%81%A4%E3%81%AE%E3%83%9C%E3%83%BC%E3%83%89%E3%81%AB%E3%81%AF%E3%83%8F%E3%83%BC%E3%83%89%E3%82%A6%E3%82%A7%E3%82%A2%E4%B8%8A%E3%81%AE%E9%81%95%E3%81%84%E3%81%8C%E3%81%84%E3%81%8F%E3%81%A4%E3%81%8B%E3%81%82%E3%82%8B%E3%81%9F%E3%82%81%E3%80%81%E3%81%8A%E4%BD%BF%E3%81%84%E3%81%AE%E3%83%9C%E3%83%BC%E3%83%89%E3%81%A7%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%AB%E3%81%AF%E3%80%81%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E9%81%95%E3%81%84%E3%82%92%E8%80%83%E6%85%AE%E3%81%97%E3%80%81%E5%BF%85%E8%A6%81%E3%81%AB%E5%BF%9C%E3%81%98%E3%81%A6%E4%BF%AE%E6%AD%A3%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82EVB%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%99%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AE%E3%82%88%E3%81%86%E3%81%AB%E3%80%81%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A2%E3%83%B3%E3%83%89%E3%83%97%E3%83%AC%E3%82%A4%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AB%E4%BD%BF%E3%81%88%E3%82%8B%E3%82%8F%E3%81%91%E3%81%A7%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%3C%2FP%3E%0A%3CP%3E%E5%9F%BA%E6%9D%BF%E3%81%AE%E6%8E%A5%E7%B6%9A%E6%96%B9%E6%B3%95%E3%82%84%E4%BB%96%E3%81%AE%E3%83%87%E3%83%90%E3%82%A4%E3%82%B9%E3%81%A8%E3%81%AE%E7%9B%B8%E4%BA%92%E4%BD%9C%E7%94%A8%E3%82%92%E3%82%88%E3%82%8A%E3%82%88%E3%81%8F%E7%90%86%E8%A7%A3%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81%E5%9F%BA%E6%9D%BF%E3%81%AE%E5%9B%9E%E8%B7%AF%E5%9B%B3%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%82%92%E3%81%8A%E5%8B%A7%E3%82%81%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E.mex%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AB%E5%8A%A0%E3%81%88%E3%82%89%E3%82%8C%E3%81%9F%E5%A4%89%E6%9B%B4%E3%81%AB%E9%96%A2%E3%81%97%E3%81%A6%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%AB%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8C%E5%8F%8D%E6%98%A0%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%E3%81%A8%E3%81%AE%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%81%8C%E3%80%81%E3%81%A9%E3%81%AE%E3%82%88%E3%81%86%E3%81%AA%E7%8A%B6%E6%B3%81%E3%81%AB%E3%81%AA%E3%81%A3%E3%81%A6%E3%81%84%E3%82%8B%E3%81%8B%E3%82%92%E7%A4%BA%E3%81%99%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%E3%82%92%E5%85%B1%E6%9C%89%E3%81%97%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B%EF%BC%9F%E3%81%BE%E3%81%9F%E3%80%81%E7%A7%81%E3%81%AE%E7%92%B0%E5%A2%83%E3%81%A7%E5%8B%95%E4%BD%9C%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AB%E3%80%81%E3%81%A9%E3%81%AERTD%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%82%92%E3%81%8A%E4%BD%BF%E3%81%84%E3%81%8B%E6%95%99%E3%81%88%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%E3%80%81VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E