Hi,
Thanks for your feedback.
We have confirmed the behavior you are seeing.
We also have confirmed that the solution we have provided was succesfull from our side:
root@s32g274ardb2:~# rmmod sja1110
[ 15.835285] sja1110 spi5.1: [sja1110_remove]
[ 15.835868] sja1110 spi5.0: [sja1110_remove]
root@s32g274ardb2:~# modprobe sja1110
[ 41.740331] sja1110 spi5.0: probing uc
[ 41.740569] sja1110 spi5.1: probing switch
[ 41.740994] sja1110 spi5.1: Could not get GPIO from device tree
[ 41.741021] sja1110 spi5.1: [sja1110_post_probe_upload_worker] Trying to initialize switch
[ 41.741172] sja1110 spi5.1: [sja1110_init_hw] loaded fw 'sja1110_switch.bin'
[ 41.741263] sja1110 spi5.1: [sja1110_pre_switch_upload] Found switch config of size 2276
[ 41.741412] sja1110 spi5.1: Uploading config...
[ 41.767460] sja1110 spi5.1: Successfully configured!
[ 41.767507] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
r[ 41.768134] sja1110 spi5.0: [sja1110_init_hw] loaded fw 'sja1110_uc.bin'
o[ 41.768151] sja1110 spi5.0: [sja1110_pre_uc_upload] Found firmware of size 320312
o[ 41.768261] sja1110 spi5.0: [sja1110_pre_uc_upload] firmware appears to be valid
t[ 41.768320] sja1110 spi5.0: [sja1110_pre_uc_upload] µC not ready for download (Status=0x31)
@[ 41.768564] sja1110 spi5.0: Uploading firmware...
s32g274ardb2:~# [ 42.592432] sja1110 spi5.0: Upload successfully verified!
In between the rmmod command and the modprobe command we have issued a RESET to the SJA1110 by grounding the R1211 for a short period, as shown below:
DanielAguirre_0-1679520144207.png
After doing this, we issue the modprobe command and the software was successfully loaded to the SJA1110.
Please, let us know.