DSA and SPI issues

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

DSA and SPI issues

Jump to solution
716 Views
xiaoshumiao
Contributor IV

Hi:

I am using S32G-VNP-RDB3 and Linux BSP 43.0

Before I enabled sja1110 DSA, I could flash the firmware via spi and JTAG according to 'S32G-VNP-RDB3 Ethernet Enablement Guide', and could ping 192.168.0.200 successfully in linux.

When I enabled DSA, executing the command setenv sja1110_dsa yes in uboot, and set J189 Pin1-2: Short, Pin3-4: Short, I found that I could not load the sja1110 firmware through spi.

I set J189 (Pin1-2: Open; Pin3-4: Short) and wrote firmware via JTAG port successfully. then I set J189 (Pin1-2: Short; Pin3-4: Short) to use dsa , ping 192.168.0.200 failed.

My question : how to flash sja1110 firmware when using DSA.

xiaoshumiao_0-1747879351964.pngxiaoshumiao_1-1747879370964.png

 

0 Kudos
Reply
1 Solution
689 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @xiaoshumiao 

Thanks for the post.

Once using DSA driver for SJA1110, the firmware you mentioned is not needed for use the ports of SJA1110.

since firmware running inside SJA1110, the ping operation failed.

 

BR

Chenyin

View solution in original post

0 Kudos
Reply
2 Replies
642 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @xiaoshumiao 

Thanks for your reply.

For such cases, every ports of SJA1110 could be directly shown in Linux(could be seen from ifconfig -a or other commands),  you may set IP for the port that wish to use, and directly use it then.

 

BR

Chenyin

0 Kudos
Reply
690 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @xiaoshumiao 

Thanks for the post.

Once using DSA driver for SJA1110, the firmware you mentioned is not needed for use the ports of SJA1110.

since firmware running inside SJA1110, the ping operation failed.

 

BR

Chenyin

0 Kudos
Reply