SJA1110 Default Configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SJA1110 Default Configuration

2,277 次查看
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!

标记 (1)
4 回复数

1,818 次查看
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 项奖励
回复

1,818 次查看
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 项奖励
回复

1,917 次查看
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 项奖励
回复

1,914 次查看
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 项奖励
回复