# Onboard switch?

**URL:** <https://forum.clockworkpi.com/t/onboard-switch/16402>\
**Category:** PicoCalc\
**Created:** [March 30, 2025, 5:41pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402 "2025-03-30T17:41:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigitalDreams](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/digitaldreams/32/16007_2.png) [@DigitalDreams](https://forum.clockworkpi.com/u/DigitalDreams)\
**Post date:** [March 30, 2025, 5:41pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/1 "2025-03-30T17:41:02Z")

</div>

Photos of the main board show a dual pcb switch SW701 with no apparent lable or reference in the assembly manual… What is this for ?

---

<div class="post-metadata">

**Author:** ![DigitalDreams](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/digitaldreams/32/16007_2.png) [@DigitalDreams](https://forum.clockworkpi.com/u/DigitalDreams)\
**Post date:** [March 30, 2025, 7:05pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/2 "2025-03-30T19:05:49Z")

</div>

Seems to be some kind of boot selection/debug option.

---

<div class="post-metadata">

**Author:** ![adcockm](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/adcockm/32/1664_2.png) [@adcockm](https://forum.clockworkpi.com/u/adcockm)\
**Post date:** [March 30, 2025, 7:15pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/3 "2025-03-30T19:15:10Z")

</div>

![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/9/9ec96b499b5c26d825e7252e4844473d8c406e5c.jpeg)  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/9/9fdc5de021c3f35918769b820432362622009d24.png)

Yeah, not sure. It seems to be physically located near the PSRAM, but that probably doesn’t matter.

---

<div class="post-metadata">

**Author:** ![pkr](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/pkr/32/6084_2.png) [@pkr](https://forum.clockworkpi.com/u/pkr)\
**Post date:** [March 30, 2025, 9:41pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/4 "2025-03-30T21:41:54Z")

</div>

Just a guess: one puts mcu into programming mode, and the other one (100% guess) selects which microprocessor’s serial goes to the USB-C port

---

<div class="post-metadata">

**Author:** ![pkr](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/pkr/32/6084_2.png) [@pkr](https://forum.clockworkpi.com/u/pkr)\
**Post date:** [March 31, 2025, 3:25pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/5 "2025-03-31T15:25:48Z")

</div>

![1000005575](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/f/f692a14defdfb187af24b8dda852213be58c9db7.png)

I lied. The first switch toggles boot mode of the stm32 as well as connect its serial to the serial\<-\>USB chip. The second switch is to switch the actual USB-C port connection between the serial\<-\>USB chip and the stm32 (has its own USB interface).

So depending on which way you need to program the stm32, one or both switches must be flipped.

---

<div class="post-metadata">

**Author:** ![centerorbit](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/centerorbit/32/11375_2.png) [@centerorbit](https://forum.clockworkpi.com/u/centerorbit)\
**Post date:** [March 31, 2025, 3:46pm UTC](https://forum.clockworkpi.com/t/onboard-switch/16402/6 "2025-03-31T15:46:22Z")

</div>

This would make a great addition to the wiki: [PicoCalc/wiki at master · clockworkpi/PicoCalc · GitHub](https://github.com/clockworkpi/PicoCalc/tree/master/wiki)

If you have the time to setup a PR that’d be great, otherwise I’ll try and remember once I get ramped up. (not affiliated, just enjoying)
