S32G-VNP-RDB2 UART example is not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32G-VNP-RDB2 UART example is not working

跳至解决方案
3,246 次查看
anand_s
Contributor III

Hi,

We are using S32G-VNP_RDB2 board. We have tried to run the UART example which is available in the S32 RTD AUTOSAR 4.4.D2012 package.

In the description of the project we have noticed : " Make sure that positions of 2 jumpers on the board are correct: Set jump J26 to 4-6, 3-5 positions" this sentence, but in the board there is no J26 jumper is available.

We followed the same steps in the doc:S32G-VNP-RDB2 REAL TIME DRIVER EXAMPLE ENABLEMENT GUIDE and generated the .elf file. To test the UART we generated Blob image for SD card and tried to run the example but UART is not printing anything.

Could you please help us what is we are missing and also what is the significance of Jumper J26.

0 项奖励
回复
1 解答
3,228 次查看
bpe
NXP Employee
NXP Employee

You are trying to follow instructions that are obsolete and not for your
board. Update your RTD package to the most recent one. I do not see J26
mentioned anywhere in the example descriptions accompanying HF2 or HF3
release of RTD. Regarding Flash-based application, steps in the Software
Enablement guide are to give you an idea how to build a workable image, but
the exact values of various inputs to IVT and related tools may require
adjustments depending on the project. There are no ready settings for
UART RTD examples. You have to debug your application in
order to see what actually is happening and what to correct. Refer to S32DS
User Guide, section titled "Debugging with S32 Debug Probe from flash for all
other targets" for instructions on how to debug an application residing in a
Flash memory. This document is located in S32DS\help\pdf\ folder of your
S32DS installation.

Best Regards,
Platon.

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,131 次查看
anand_s
Contributor III

In this example the UART is working based on Interrupt. So while checking the Vector_Table.S file, we found that the Handler is not included in the table. After referring Reference manual we identified the NVIC vector ID of LinFlexD1 (used for UART1) which is 83. Added the Handler in the vector table (In table - Number 83 ) after this the UART example worked as expected.

0 项奖励
回复
3,229 次查看
bpe
NXP Employee
NXP Employee

You are trying to follow instructions that are obsolete and not for your
board. Update your RTD package to the most recent one. I do not see J26
mentioned anywhere in the example descriptions accompanying HF2 or HF3
release of RTD. Regarding Flash-based application, steps in the Software
Enablement guide are to give you an idea how to build a workable image, but
the exact values of various inputs to IVT and related tools may require
adjustments depending on the project. There are no ready settings for
UART RTD examples. You have to debug your application in
order to see what actually is happening and what to correct. Refer to S32DS
User Guide, section titled "Debugging with S32 Debug Probe from flash for all
other targets" for instructions on how to debug an application residing in a
Flash memory. This document is located in S32DS\help\pdf\ folder of your
S32DS installation.

Best Regards,
Platon.

 

0 项奖励
回复