Hello,
I am experiencing an issue with SJA1110 switch where packet forwarding stops after writing L2 Lookup Table entries via SPI.
Environment:
- SJA1110 Evaluation Board
- 100BASE-T1 links
- Dynamic table access via SPI using Python
Symptom:
State Packet Forwarding
| Before writing L2 entry | Works (PTP, ping, UDP) |
| After writing L2 entry | Stops completely |
Observations:
- I wrote L2 Lookup Table entries through a custom Python script that keeps the FTDI channel open continuously for switch management
- When reading back with the provided L2 Lookup Table read script (specifying index range 0-1024), the written entries are visible
- However, when using the provided switch table dump script, only the entries defined in the ELF configuration file are shown
- The written entry can be read back correctly, but packet forwarding does not work
Questions:
Why do the L2 Lookup Table read script and the switch table dump script return different results? Is there a difference between static and dynamic entry areas in the L2 Lookup Table?
Does writing an L2 Lookup Table entry affect other internal switch state? (e.g., hash table, learning database, forwarding behavior) What could cause packet forwarding to stop even though the entry appears to be written correctly?