<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>In Vehicle NetworkingのトピックRe: SJA1110: Packet forwarding stops after writing L2 Lookup Table entry via SPI</title>
    <link>https://community.nxp.com/t5/In-Vehicle-Networking/SJA1110-Packet-forwarding-stops-after-writing-L2-Lookup-Table/m-p/2298370#M131</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214076"&gt;@HeeSu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Thank you for the details. But I still miss a few specifics to move this query forward.&lt;/P&gt;
&lt;P&gt;Clarifications needed:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;“L2 Lookup Table read script” — do you mean read_l2_lookup_table.py from sja1110evm_hosttools_v1.2 (runtime read over SPI)?&lt;/LI&gt;
&lt;LI&gt;“Switch table dump script” — which exact tool/script is this?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please share:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your switch configuration (ELF/HEX or project (MEX file)) and the custom Python scripts you used. For successful upload of python scripts, you need to rename python scripts to .txt .&lt;/LI&gt;
&lt;LI&gt;Console output/logs from both scripts.&lt;/LI&gt;
&lt;LI&gt;Runtime L2 table snapshots (index 0…1024) before/after the write that triggers the issue, plus the DYN_BE_LKP_CTRL register readout before/after (to confirm the write sequence completed).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please also review my earlier posts, where dynamic configuration has been discussed:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32G/Dynamic-configuration-in-sja1110/m-p/2127036" target="_blank"&gt;https://community.nxp.com/t5/S32G/Dynamic-configuration-in-sja1110/m-p/2127036&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32G/Register-access-for-SJA1110-Switch/m-p/2140123" target="_blank"&gt;https://community.nxp.com/t5/S32G/Register-access-for-SJA1110-Switch/m-p/2140123&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you prefer to proceed privately, you can open a support ticket here:&lt;BR /&gt;&lt;A href="https://support.nxp.com/s/?language=en_US" target="_blank"&gt;https://support.nxp.com/s/?language=en_US&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 13:59:29 GMT</pubDate>
    <dc:creator>PavelL</dc:creator>
    <dc:date>2026-01-22T13:59:29Z</dc:date>
    <item>
      <title>SJA1110: Packet forwarding stops after writing L2 Lookup Table entry via SPI</title>
      <link>https://community.nxp.com/t5/In-Vehicle-Networking/SJA1110-Packet-forwarding-stops-after-writing-L2-Lookup-Table/m-p/2297685#M130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with SJA1110 switch where packet forwarding stops after writing L2 Lookup Table entries via SPI.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SJA1110 Evaluation Board&lt;/LI&gt;&lt;LI&gt;100BASE-T1 links&lt;/LI&gt;&lt;LI&gt;Dynamic table access via SPI using Python&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Symptom:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;State Packet Forwarding&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Before writing L2 entry&lt;/TD&gt;&lt;TD&gt;&lt;LI-EMOJI id="lia_white-heavy-check-mark" title=":white_heavy_check_mark:"&gt;&lt;/LI-EMOJI&gt; Works (PTP, ping, UDP)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;After writing L2 entry&lt;/TD&gt;&lt;TD&gt;&lt;LI-EMOJI id="lia_cross-mark" title=":cross_mark:"&gt;&lt;/LI-EMOJI&gt; Stops completely&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;Observations:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I wrote L2 Lookup Table entries through a custom Python script that keeps the FTDI channel open continuously for switch management&lt;/LI&gt;&lt;LI&gt;When reading back with the provided L2 Lookup Table read script (specifying index range 0-1024), the written entries are visible&lt;/LI&gt;&lt;LI&gt;However, when using the provided switch table dump script, only the entries defined in the ELF configuration file are shown&lt;/LI&gt;&lt;LI&gt;The written entry can be read back correctly, but packet forwarding does not work&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Why do the L2 Lookup Table read script and the switch table dump script return different results?&lt;/STRONG&gt; Is there a difference between static and dynamic entry areas in the L2 Lookup Table?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Does writing an L2 Lookup Table entry affect other internal switch state?&lt;/STRONG&gt; (e.g., hash table, learning database, forwarding behavior) What could cause packet forwarding to stop even though the entry appears to be written correctly?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 22 Jan 2026 02:03:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/In-Vehicle-Networking/SJA1110-Packet-forwarding-stops-after-writing-L2-Lookup-Table/m-p/2297685#M130</guid>
      <dc:creator>HeeSu</dc:creator>
      <dc:date>2026-01-22T02:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1110: Packet forwarding stops after writing L2 Lookup Table entry via SPI</title>
      <link>https://community.nxp.com/t5/In-Vehicle-Networking/SJA1110-Packet-forwarding-stops-after-writing-L2-Lookup-Table/m-p/2298370#M131</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214076"&gt;@HeeSu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;
&lt;P&gt;Thank you for the details. But I still miss a few specifics to move this query forward.&lt;/P&gt;
&lt;P&gt;Clarifications needed:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;“L2 Lookup Table read script” — do you mean read_l2_lookup_table.py from sja1110evm_hosttools_v1.2 (runtime read over SPI)?&lt;/LI&gt;
&lt;LI&gt;“Switch table dump script” — which exact tool/script is this?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please share:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Your switch configuration (ELF/HEX or project (MEX file)) and the custom Python scripts you used. For successful upload of python scripts, you need to rename python scripts to .txt .&lt;/LI&gt;
&lt;LI&gt;Console output/logs from both scripts.&lt;/LI&gt;
&lt;LI&gt;Runtime L2 table snapshots (index 0…1024) before/after the write that triggers the issue, plus the DYN_BE_LKP_CTRL register readout before/after (to confirm the write sequence completed).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please also review my earlier posts, where dynamic configuration has been discussed:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32G/Dynamic-configuration-in-sja1110/m-p/2127036" target="_blank"&gt;https://community.nxp.com/t5/S32G/Dynamic-configuration-in-sja1110/m-p/2127036&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32G/Register-access-for-SJA1110-Switch/m-p/2140123" target="_blank"&gt;https://community.nxp.com/t5/S32G/Register-access-for-SJA1110-Switch/m-p/2140123&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you prefer to proceed privately, you can open a support ticket here:&lt;BR /&gt;&lt;A href="https://support.nxp.com/s/?language=en_US" target="_blank"&gt;https://support.nxp.com/s/?language=en_US&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 13:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/In-Vehicle-Networking/SJA1110-Packet-forwarding-stops-after-writing-L2-Lookup-Table/m-p/2298370#M131</guid>
      <dc:creator>PavelL</dc:creator>
      <dc:date>2026-01-22T13:59:29Z</dc:date>
    </item>
  </channel>
</rss>

