SJA1110 Default Configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SJA1110 Default Configuration

2,256件の閲覧回数
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,797件の閲覧回数
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,797件の閲覧回数
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,896件の閲覧回数
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,893件の閲覧回数
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 件の賞賛
返信