S32G-VNP-RDB2 - RGB_LED_M7_0 - Application project not running on SD card (bare metal).

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

S32G-VNP-RDB2 - RGB_LED_M7_0 - Application project not running on SD card (bare metal).

1,450 Views
DHPeerByte
Contributor I

Does anybody have a *.bin file i can load onto an SD card to test the functionality of the RGB Led on a S32-VNP-RDB2.

I have followed the guide (S32G-VNP-RDB2-SW-UG), checked the switch settings, confirmed data transfer to the SD card using a hex editor, but can't light the RGB Led.

In the guide, no C code is included so i used this:

Screenshot 2021-06-24 095210.png

The led is connected with a pull up resistor so presumably should be coded as 'active low'. I have also tried 'active high' (1U).

Any help would be appreciated.

Thanks

0 Kudos
3 Replies

1,359 Views
bpe
NXP Employee
NXP Employee

My apologies for not responding sooner to this request, It is not possible to
tell what went wrong in your case without debugging. Popular mistakes based on
the previous experience are:

1. Incorrect or omitted modifications of the linker file.
2. Incorrect values of RAM start pointer or RAM entry pointer in IVT tool
3. Incorrect board switch settings.

I have followed the steps in the document you mentioned and found them fully
valid and resulting in a workable binary. I have sent you my S32DS project
through the ticket you opened.

Note that RTD package offers a very similar, but more debugger-oriented GPIO example
called Siul2_Dio_Ip_Example_S32G274A_M7. You can try it by following
New->S32DS Project from Example->Dio Examples->Siul2_Dio_Ip_Example_S32G274A_M7.
menu path. A project created from that example requires just a few buttons
clicked in the GUI to build a valid executable, no code modification, but you
need a JTAG debugger to run it on the target. Details can be found in the
description.txt file in the project directory.

 

Best Regards,
Platon

 

0 Kudos

714 Views
longtengqiufeng
Contributor I

I'm sorry,but could you please send me a copy of your S32DS project ?

My email :longtengqiufeng@163.com

THANK YOU!!!!

0 Kudos

697 Views
longtengqiufeng1
Contributor III

I solved !!

I forgot modify the linker file!

0 Kudos