# BloxOsLite RELEASED FOR UBISWITCH REV B

**URL:** <https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203>\
**Category:** BotBlox Software\
**Tags:** ubiswitch\
**Created:** [April 16, 2024, 9:44pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203 "2024-04-16T21:44:44Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![PeterMaes](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/petermaes/32/231_2.png) [@PeterMaes](https://forum.botblox.org/u/PeterMaes)\
**Post date:** [May 10, 2024, 2:32pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/22 "2024-05-10T14:32:19Z")

</div>

Great work BotBlox team,

with the documentation I was able to flash bootloader and application firmware in the UbiSwitch.

---

<div class="post-metadata">

**Author:** ![josh\_elijah](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/josh_elijah/32/568_2.png) [@josh\_elijah](https://forum.botblox.org/u/josh_elijah)\
**Post date:** [May 13, 2024, 2:00am UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/23 "2024-05-13T02:00:48Z")

</div>

Nice to hear some positive feedback, thanks so much, it was a mammoth effort by us.

Reach out if you have a questions.

---

<div class="post-metadata">

**Author:** ![Jeury\_Duran](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/jeury_duran/32/180_2.png) [@Jeury\_Duran](https://forum.botblox.org/u/Jeury_Duran)\
**Post date:** [August 21, 2024, 10:28pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/24 "2024-08-21T22:28:55Z")

</div>

Hey having an issue updating the firmware on my rev B UbiSwitch. Info on the hardware this is a BB-UBS-B-1 with the 64kb MCU. It’s currently running v0.1.1. Attached some images of what I’m seeing when trying to update over UART with MCUMGR and also trying SWD. Just need to get this unit updated to the latest firmware.

 ![STM32](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/e51d740348f1faf0178f89b6f55c2624195240f2.jpeg)

 ![Terminal command](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/031fdffad0a6bd558aa0e88de887a2edc5d103db.png)  
 ![UART](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/45fc30e66cbafd25a351611ebc143ef265f3a60c.png)

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [August 22, 2024, 10:21am UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/25 "2024-08-22T10:21:05Z")

</div>

Thanks for the question, I’ll leave my answers for each part

> [@Jeury\_Duran](#):
>
> update over UART with MCUMGR

This is not possible on the 64Kb UbiSwitch revision B version, as outlined in the docs [here](https://botblox.notion.site/UbiSwitch-Revision-B-Modifications-94a9a53c80a744fa8bc704ac8efdc10f). Note that this does not affect the majority of UbiSwitch revision B, which ship with 128Kb MCU.

> [@Jeury\_Duran](#):
>
> also trying SWD

You should be able to probe the MCU with the ST-Link debug probe (which I presume you are using). So given that the probe can’t seem to find the MCU, I have a few questions to ask:

1. Can you confirm the voltage you are using to power the UbiSwitch when trying to debug?
2. Could you confirm exactly what type of debug probe you are using/part number?
3. Can you show me the wiring between the debug cable and the debug probe output pins?
4. How are you securing the connection between the debug cable and header `J9` on the UbiSwitch module? If this is insecure, it can cause issues.

---

<div class="post-metadata">

**Author:** ![Jeury\_Duran](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/jeury_duran/32/180_2.png) [@Jeury\_Duran](https://forum.botblox.org/u/Jeury_Duran)\
**Post date:** [August 22, 2024, 8:32pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/26 "2024-08-22T20:32:22Z")

</div>

1. Supplying 5V to the Ubiswitch
2. Tag-Connect TC2030-IDC-NL
3. Attached an image of the schematic. (Same PCB used to flash the firmware)
4. Im just doing that by hand Im maintaining enough pressure to make full contact with all the pads and depress all the pins.  
 ![Connector Schematic](https://canada1.discourse-cdn.com/flex027/uploads/botblox1/original/1X/f5c013610db3609231f166c5721c1675ed5f561d.png)

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [August 23, 2024, 4:38pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/27 "2024-08-23T16:38:55Z")

</div>

5V power looks fine and the wiring between probe and cable looks fine.

It looks to me like the issue is the debug probe itself is an improper clone of STLink/V2 and the MCU may not be detectable with it. You can use [this post on ST’s forums](https://community.st.com/t5/stm32cubeprogrammer-mcus/st-link-v2-connection-error/td-p/590996) to find out if yours might be. If you have another STLINK or JLINK debug probe to try that would be helpful.

I’ve updated [the documentation](https://botblox.notion.site/Flashing-Upgrading-a55a2b3366204b378e0b439793241103) to reflect this with another STLINK programmer instead (as far as I know, the one advertised wasn’t an improper clone but I’d rather people not mistake them as they look very similar).

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [August 30, 2024, 2:00pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/28 "2024-08-30T14:00:52Z")

</div>

I shall close this topic to prevent useful discussion on specific BloxOsLite issues from being lost in a single topic.  
In the future, support/questions can be opened and tracked as new topics.

---

<div class="post-metadata">

**Author:** ![aaron](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.botblox.org/aaron/32/12_2.png) [@aaron](https://forum.botblox.org/u/aaron)\
**Post date:** [August 30, 2024, 2:00pm UTC](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203/29 "2024-08-30T14:00:58Z")

</div>



[Previous page](https://forum.botblox.org/t/bloxoslite-released-for-ubiswitch-rev-b/203.md?page=1)
