S32G-VNP-RDB2 UART example is not working

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

S32G-VNP-RDB2 UART example is not working

Jump to solution
3,250 Views
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 Kudos
Reply
1 Solution
3,232 Views
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.

 

View solution in original post

0 Kudos
Reply
2 Replies
3,135 Views
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 Kudos
Reply
3,233 Views
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 Kudos
Reply