<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Can on Ulis Notes</title>
    <link>https://wolf-u.li/en/tag/can/</link>
    <description>Recent content in Can on Ulis Notes</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright 2006-CURRENTYEAR Uli Wolf - All rights reserved</copyright>
    <lastBuildDate>Mon, 26 Jun 2023 23:06:36 +2600</lastBuildDate>
    <atom:link href="https://wolf-u.li/en/tag/can/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BIGTREETECH EBB36 CAN bus connector</title>
      
      
      <link>https://wolf-u.li/bigtreetech-ebb36-can-bus-connector/</link>
      <pubDate>Mon, 26 Jun 2023 23:06:36 +2600</pubDate>
      <guid>https://wolf-u.li/bigtreetech-ebb36-can-bus-connector/</guid>
      <description>&lt;p&gt;When i received the 
&lt;a href=&#34;https://shareasale.com/r.cfm?b=1890927&amp;u=3683758&amp;m=131011&amp;urllink=https%3a%2f%2fbiqu.equipment%2fproducts%2fbigtreetech-ebb-36-42-can-bus-for-connecting-klipper-expansion-device%3fvariant%3d39760665215074&amp;afftrack=&#34;&gt;EBB36*&lt;/a&gt;

 of BIGTREETECH i slowly built up all the connections towards my existing hardware of the Ender 3v2. One information that was missing was the can bus connector details (e.g. type and pinout).
&lt;ins class=&#34;adsbygoogle&#34; style=&#34;display:block; text-align:center;&#34; data-ad-layout=&#34;in-article&#34; data-ad-format=&#34;fluid&#34; data-ad-client=&#34;ca-pub-2322978122735420&#34; data-ad-slot=&#34;3161252284&#34;&gt;&lt;/ins&gt;
The &lt;link rel=dns-prefetch href=//github.com /&gt; &lt;a href=&#34;https://github.com/bigtreetech/EBB/blob/master/EBB%20CAN%20V1.1%20%28STM32G0B1%29/EBB36%20CAN%20V1.1/BIGTREETECH%20EBB36%20CAN%20V1.1%20User%20Manual.pdf&#34;
    title=&#34;manual&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  manual&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; unfortunately doesn&amp;rsquo;t show the details. You could derive it from the &lt;link rel=dns-prefetch href=//github.com /&gt; &lt;a href=&#34;https://github.com/bigtreetech/EBB/blob/master/EBB%20CAN%20V1.1%20%28STM32G0B1%29/EBB36%20CAN%20V1.1/Hardware/BIGTREETECH%20EBB36%20CAN%20V1.1-SCH.pdf&#34;
    title=&#34;schematics&#34; 
     target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; &gt;
  schematics&amp;nbsp;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; class=&#34;icon&#34; aria-hidden=&#34;true&#34; focusable=&#34;false&#34; viewBox=&#34;0 -128 512 640&#34;&gt;
    &lt;path d=&#34;M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z&#34;/&gt;
  &lt;/svg&gt;&lt;/a&gt; but still isn&amp;rsquo;t very visual.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>When i received the 
<a href="https://shareasale.com/r.cfm?b=1890927&u=3683758&m=131011&urllink=https%3a%2f%2fbiqu.equipment%2fproducts%2fbigtreetech-ebb-36-42-can-bus-for-connecting-klipper-expansion-device%3fvariant%3d39760665215074&afftrack=">EBB36*</a>

 of BIGTREETECH i slowly built up all the connections towards my existing hardware of the Ender 3v2. One information that was missing was the can bus connector details (e.g. type and pinout).
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2322978122735420" data-ad-slot="3161252284"></ins>
The <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/bigtreetech/EBB/blob/master/EBB%20CAN%20V1.1%20%28STM32G0B1%29/EBB36%20CAN%20V1.1/BIGTREETECH%20EBB36%20CAN%20V1.1%20User%20Manual.pdf"
    title="manual" 
     target="_blank" rel="nofollow noopener noreferrer" >
  manual&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> unfortunately doesn&rsquo;t show the details. You could derive it from the <link rel=dns-prefetch href=//github.com /> <a href="https://github.com/bigtreetech/EBB/blob/master/EBB%20CAN%20V1.1%20%28STM32G0B1%29/EBB36%20CAN%20V1.1/Hardware/BIGTREETECH%20EBB36%20CAN%20V1.1-SCH.pdf"
    title="schematics" 
     target="_blank" rel="nofollow noopener noreferrer" >
  schematics&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> but still isn&rsquo;t very visual.</p>
<p>On different sites i then found the type of connector (Molex Microfit 3.0 2x2 connector) which is supposed to be connected as follows:</p>
<p><img src="/upload/2023/06/bigtreetech-ebb36-can-connector.webp" alt="EBB CAN Connector" loading="lazy"></p>
]]></content:encoded>
    </item>
    <item>
      <title>BIGTREETECH EBB36 flash with Klipper shows File segment @0x08000000 error</title>
      
      
      <link>https://wolf-u.li/ebb36-flash-with-klipper-shows-error-file-segment-0x08000000/</link>
      <pubDate>Sat, 10 Jun 2023 23:37:04 +1000</pubDate>
      <guid>https://wolf-u.li/ebb36-flash-with-klipper-shows-error-file-segment-0x08000000/</guid>
      <description>&lt;p&gt;While trying to flash the klipper firmware to an Bigtreetech EBB36, i ran into the following error:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;6
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-plaintext&#34; data-lang=&#34;plaintext&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:04 : Erasing memory corresponding to segment 0:
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:04 : Not flash Memory : No erase done
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:04 : File segment @0x08000000 is not 255-bytes aligned. It will be aligned to @0x07FFFFF8
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:04 : Download in Progress:
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:05 : Error: failed to download Segment[0]
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;23:29:05 : Error: failed to download the File
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;After fiddeling around a bit i finally stumbled across two solutions.&lt;/p&gt;</description>
      
         <content:encoded><![CDATA[<p>While trying to flash the klipper firmware to an Bigtreetech EBB36, i ran into the following error:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span><span class="lnt">4
</span><span class="lnt">5
</span><span class="lnt">6
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">23:29:04 : Erasing memory corresponding to segment 0:
</span></span><span class="line"><span class="cl">23:29:04 : Not flash Memory : No erase done
</span></span><span class="line"><span class="cl">23:29:04 : File segment @0x08000000 is not 255-bytes aligned. It will be aligned to @0x07FFFFF8
</span></span><span class="line"><span class="cl">23:29:04 : Download in Progress:
</span></span><span class="line"><span class="cl">23:29:05 : Error: failed to download Segment[0]
</span></span><span class="line"><span class="cl">23:29:05 : Error: failed to download the File
</span></span></code></pre></td></tr></table>
</div>
</div><p>After fiddeling around a bit i finally stumbled across two solutions.</p>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-2322978122735420" data-ad-slot="3161252284"></ins>
<h2 id="use-canboot-to-flash-an-intermediate-firmware">Use Canboot to flash an intermediate firmware</h2>
<p><link rel=dns-prefetch href=//maz0r.github.io /> <a href="https://maz0r.github.io/klipper_canbus/toolhead/ebb36-42_v1.1.html"
    title="This" 
     target="_blank" rel="nofollow noopener noreferrer" >
  This&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> failed for me but might a possible path to fix it</p>
<h2 id="use-an-older-version-of-the-stm32cubeprogrammer">Use an older version of the STM32CubeProgrammer</h2>
<p>I used version 2.10 of the <link rel=dns-prefetch href=//www.st.com /> <a href="https://www.st.com/en/development-tools/stm32cubeprog.html"
    title="STM32CubeProgrammer" 
     target="_blank" rel="nofollow noopener noreferrer" >
  STM32CubeProgrammer&nbsp;<svg xmlns="http://www.w3.org/2000/svg" class="icon" aria-hidden="true" focusable="false" viewBox="0 -128 512 640">
    <path d="M384 320c-17.67 0-32 14.33-32 32v96H64V160h96c17.67 0 32-14.32 32-32s-14.33-32-32-32L64 96c-35.35 0-64 28.65-64 64V448c0 35.34 28.65 64 64 64h288c35.35 0 64-28.66 64-64v-96C416 334.3 401.7 320 384 320zM488 0H352c-12.94 0-24.62 7.797-29.56 19.75c-4.969 11.97-2.219 25.72 6.938 34.88L370.8 96L169.4 297.4c-12.5 12.5-12.5 32.75 0 45.25C175.6 348.9 183.8 352 192 352s16.38-3.125 22.62-9.375L416 141.3l41.38 41.38c9.156 9.141 22.88 11.84 34.88 6.938C504.2 184.6 512 172.9 512 160V24C512 10.74 501.3 0 488 0z"/>
  </svg></a> which solved the case for me at least.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
