Hello All.
I have been able to successfully build and generate the IVT blob for the RGB / UART example projects in the S32G DS 3.6.
Since I currently do not have any Debugger, the only way for me to run the program is via flashing the binary using the Flash Tool.
I have tried many programs and flashed it successfully, but nothing seems to work.
Can anyone tell me where am I going wrong?
For reference,
Main Program:
Linker:
IVT Config:
Flashing done on QSPI Flash memory as well as SD Card, both load the program successfully but I don't see the LEDs light up or UART print (Linflexd_Uart Example).
Thank you!
Solved! Go to Solution.
hi,Contributor II
1.You can try to the baremetal/MCAL RTD demo using this way.
2. You need to download the package(Integration_Reference_Examples_S32G3_2023_02) to find the file of QSPI configuration. The file foder is the (
C:\nxp\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash), you can find it in this folder.
Also, I cannot share the project with you, due to the policy of company, sorry for the inconvenience.
BR
Joey
hi,
Thank you contacting us.
What is your value of intc_vector? Make sure it is right to be set.
1. You can try to refer to this link for your issue. (https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/S32G/7641/1/S32G-VNP-RDB2-SW-UG.pdf)
2.Also, make sure your project configuration correct, and please try to reduce the size of binary.
Hope this can help you.
BR
Joey
Hi.
Thank you for the response.
I think i have the intc_vector value correct, please have a look.
And I am not sure why the size is a lot more than the one given in the Enablement guide. Can you tell me what could be the reason?
Thank you!
hi,arun_belamge
Thank you for your reply.
Please modify the linker file , you can try to reduce the size of binary.
BR
Joey
Hello Joey.
I made minor size changes in linker file and got the size of the binary reduced to less than 3mb, yet the program doesn't work.
Please help!!!
Thank you.
BR
Arun
hi,arun_belamge
Thank you for your reply.
Do you cannot use the demo of uart on both SD and Qspi mode?
What is your RTD/IDE version?
BR
Joey
hi,arun_belamge
Thank you for your reply.
I have helped you to test the demo of Uart_Example_S32G399A_M7 in RTD 5.0.0, and apply it to use the QSPI mode on RDB3 board. It is the process as the below.
1.Built the demo of Uart and create the .bin file in S32DS IDE. I do not modify any more, just Update Code and Built it.
2. Create the Blob.bin file. You can refer to the configuration as the following picture.
3.Flash the blob.bin to Nor Flash and setting the hardware boot from QSPI, then open serial console to choose 9600 baterate, you can find the output information.
Hope this can help you.
BR
Joey
hi,Contributor II
1.You can try to the baremetal/MCAL RTD demo using this way.
2. You need to download the package(Integration_Reference_Examples_S32G3_2023_02) to find the file of QSPI configuration. The file foder is the (
C:\nxp\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash), you can find it in this folder.
Also, I cannot share the project with you, due to the policy of company, sorry for the inconvenience.
BR
Joey
hi,arun_belamge
Could you share your IVT configuration?
This is my S32 Flash Tool configuration, you can try to compare it, make sure your blob.bin flash successfully.
BR
Joey
Hi Joey.
Here is the IVT config screenshot:
Flashing screenshot:
Thanks!
hi,arun_belamge
Do you use the customer board or RDB3?
BR
Joey
hi,arun_belamge
Could you try to the demo of Uart_Example_S32G399A_M7 in RTD? And refer to my configuration.
BR
Joey
UPDATE
I reinstalled the S32DS 3.6 and the drivers and now I am able to run the UART Example projects.
But the LED project still doesn't work, this is my code:
Please have a look.
Thank you.
BR
Arun
hi,arun_belamge
Thank you for your reply.
It is good news.
Do you have set the SW11 ON?
Do you have the Multimeter to test the pin?
BR
Joey
hi,arun_belamge
Glad to support you.
You can post new ticket if you have any question.
BR
Joey