SJA1110 Default Configuration

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

SJA1110 Default Configuration

2,258 Views
shanewoz
Contributor I

My company would like to utilize the SJA1110 chip as a generic L2 Ethernet switch, but isn't interested in custom software development and continued support of that software. Are there any .elf or .hex files that NXP provides to enable a generic configuration of the Ethernet switch's registers? Thanks!

Tags (1)
4 Replies

1,799 Views
rka
Contributor II

I managed to get the switch working. I extracted sja1110_switch.bin from the GoldVIP package and reverse engineered the upload code via SPI from the SJA1110 linux driver.

After bin upload, the switch says successfully configured and packets flow between the ports.

0 Kudos
Reply

1,799 Views
rka
Contributor II
However, still after days of communicating to NXP, I still did not get access to the SJA1110 SDK which makes things complicated.
0 Kudos
Reply

1,898 Views
rka
Contributor II

Hi,

 

same question for me. It looks like using the SJA1110 soldered "as delivered" does not enable switch functionality?

Regarding the original question, it seems that the SJA1110 Linux driver does load two images, one for the integrated microcontroller and one for the switch module:


#define DEF_FNAME_UC "sja1110_uc.bin"
#define DEF_FNAME_SWITCH "sja1110_switch.bin"

https://github.com/nxp-archive/autoivnsw_sja1110_linux

 

How can I get the ethernet switch functionality working in the most simple way?


Thanks

0 Kudos
Reply

1,895 Views
rka
Contributor II
My idea would be do download sja1110_switch.bin via SPI to SPI_HAP of the SJA1110. Is there a simpler way?


Thanks
0 Kudos
Reply