<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PST.. develop a firmware change for the Pico SCPI labTool - unique USB enumeration ID</title><link>/technologies/test-and-measurement/b/blog/posts/pst-develop-a-firmware-change-for-the-pico-scpi-labtool</link><description>scottiebabe suggested a change to the PST firmware: use the Pico unique ID in the USB enumeration string .

Have you thought about how to id more than one pico tool?

 




Let&amp;#39;s do that!
The TinyUSB USBTMC example was the...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PST.. develop a firmware change for the Pico SCPI labTool - unique USB enumeration ID</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-develop-a-firmware-change-for-the-pico-scpi-labtool</link><pubDate>Sun, 27 Aug 2023 20:17:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1d954706-5d6d-48ba-ac13-1103c837d627</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;For the agile inclined, &lt;a href="https://github.com/users/jancumps/projects/4/views/1" data-e14adj="y" rel="noopener noreferrer nofollow" target="_blank"&gt;this is the current user story board&lt;/a&gt;. &lt;br /&gt;Things we want to include in release 3 are assigned to the milestone &lt;a href="https://github.com/users/jancumps/projects/4/views/1?filterQuery=milestone%3A%22feature+set+3%22" data-e14adj="y" rel="noopener noreferrer nofollow" target="_blank"&gt;&amp;quot;feature set 3&amp;quot;&lt;/a&gt;. (our next release train)&lt;br /&gt;Items that have previous been release &lt;a href="https://github.com/users/jancumps/projects/4/archive" data-e14adj="y" rel="noopener noreferrer nofollow" target="_blank"&gt;are archived&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="165" src="/resized-image/__size/1000x330/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-1d954706-5d6d-48ba-ac13-1103c837d627/pastedimage1693167216017v1.png" width="500" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26764&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. develop a firmware change for the Pico SCPI labTool - unique USB enumeration ID</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-develop-a-firmware-change-for-the-pico-scpi-labtool</link><pubDate>Sun, 27 Aug 2023 18:17:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1d954706-5d6d-48ba-ac13-1103c837d627</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;After testing this, I wanted to contibute my unique ID contribution to TinyUSB repository.&lt;br /&gt;Only to find out that they &lt;a href="https://github.com/hathach/tinyusb/commit/041f510f909f0ce8923389c847a8d55e0b7eeee2" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;have done the same&lt;/a&gt; 3 weeks ago [emoticon:c4563cd7d5574777a71c318021cbbcc8].&lt;/p&gt;
&lt;p&gt;&lt;img height="313" src="/resized-image/__size/678x626/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-1d954706-5d6d-48ba-ac13-1103c837d627/pastedimage1693159873888v1.png" width="339" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;A bit different: they did not put any pico code in the example file. &lt;br /&gt;They abstracted it out to&amp;nbsp;a new function in their api:&amp;nbsp;&lt;a class="Link--primary Truncate-text" title="hw/bsp/board_api.h" href="https://github.com/hathach/tinyusb/commit/041f510f909f0ce8923389c847a8d55e0b7eeee2#diff-60582acea05b083dfeb61cedaf3a9936f0999f56600fdd31c8b883d42a1da772" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;hw/bsp/board_api.&lt;br /&gt;&lt;/a&gt;Then they implemented that function for all boards that they support. For the Pico in &lt;a href="https://github.com/hathach/tinyusb/blob/7bf5923052e5861f54c9cb0581e328f8be26a0a9/hw/bsp/rp2040/family.c#L191" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;hw/bsp/rp2040/family.c&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img height="147" src="/resized-image/__size/662x294/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-1d954706-5d6d-48ba-ac13-1103c837d627/pastedimage1693160211501v2.png" width="331" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once Raspberry deploys a new SDK, I can unwind my code and use the new TinyUSB approach.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26764&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. develop a firmware change for the Pico SCPI labTool - unique USB enumeration ID</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-develop-a-firmware-change-for-the-pico-scpi-labtool</link><pubDate>Sun, 27 Aug 2023 16:50:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1d954706-5d6d-48ba-ac13-1103c837d627</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;For the curious: this is what&amp;#39;s been &lt;a href="https://github.com/jancumps/pico_scpi_usbtmc_labtool/compare/main...develop-set-3" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="y"&gt;contributed to development, not yet released&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="476" src="/resized-image/__size/996x952/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-1d954706-5d6d-48ba-ac13-1103c837d627/pastedimage1693155016445v1.png" width="498" /&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26764&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: PST.. develop a firmware change for the Pico SCPI labTool - unique USB enumeration ID</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/pst-develop-a-firmware-change-for-the-pico-scpi-labtool</link><pubDate>Sun, 27 Aug 2023 15:29:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:1d954706-5d6d-48ba-ac13-1103c837d627</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Great blog post!! This is excellent to see the complete process to creating a very useful feature! The testing information is super-handy.&lt;/p&gt;
&lt;p&gt;It will be great to see what ideas people come up with (and the good thing is, not everyone needs to be good at programming, some can suggest features, others can dip their feet gently into coding by making an incremental improvement if they wish).&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26764&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>