Problems programming WeAct RP2350A_V10 with SWD

I recently got the WeAct RP2350A_V10 and was wondering if anyone else have tinkered with this board? I'm currently trying to program it by uploading code via SWD (through the Raspberry Pi Debug Probe) with PlatformIO, but it doesn't work. The actual upload process is successful, according to the logs, but the board itself never runs the code even after power recycle.

The only thing that works is powering it in BOOTSEL mode and dragging the ef2 file onto the mass storage device that gets mounted, but this is to me a very cumbersome method compared to just uploading code continously through PlatformIO.

The platformio.ini config that I'm using is this:

[env:default]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
framework = arduino
board = rpipico2
board_build.core = earlephilhower
upload_protocol = cmsis-dap

Am I missing something fundamental here? The official Pico 2 just works flawlessly with this config, but I wonder if there is something else required with the WeAct board in terms of powering it in a certain mode or something with the on-board buttons being "BOOT" and "RESET"?

reddit.com
u/tobey_g — 3 days ago

WeAct RP2350A_V10 possible to power externally with 3.3V?

I recently got the WeAct RP2350A_V10 and was reading the pinout diagram. I’m currently doing a project where I provide 3.3V externally and when using the original Pico 2 board I’m providing that to pin 39. But looking at the pinout for the WeAct board, it says that pin 39 accepts 3.6-6.5V where I assume that an internal regulator makes it 3.3V.

Have anyone used this board and can verify if it’s possible to use 3.3V externally with it? Would I use VBUS instead? Because I assume connecting it to pin 36 labelled 3V3 would create conflicts with the internal regulator, if it’s an output as with the Pico 2? Or can I disable the internal regulator with the EN pin?

reddit.com
u/tobey_g — 6 days ago

External power and ST Link v2 clone with STM32 Blue Pill?

Jag driver en breadboard-prototyp från en bänk PSU som ger 18V som sedan går genom en buck-omvandlare för 5V och sedan en LDO för 3,3V. Blue Pill är kopplad till 3,3V som kommer från LDO:n och 18V, 5V och 3,3V delar alla samma jord.

Jag har läst om vad jag ska göra med 3,3V-stiftet på ST Link v2-klonen som jag använder för programmering, och enligt min förståelse kan det eller till och med bör lämnas oanslutet om strömförsörjningen ges externt för Blue Pill.

Problemet jag får är att om jag kopplar bort 3,3V-stiftet från ST Link och försöker programmera Blue Pill, får jag ett "kan inte ansluta till målet"-fel. Om jag bara använder 3,3V från ST Link, medan PSU:n är av, så lyckas programmeringen. Jag kan också använda både 3,3V som kommer från PSU:n och 3,3V som kommer från ST Link samtidigt, och det verkar fungera med lyckad programmering. Så sammanfattningsvis behöver 3,3V-stiftet från ST Link vara kopplat för att programmeringen ska fungera.

Men om jag stänger av PSU:n, kopplar 3,3V från ST Link, slår på PSU:n och sedan av igen, får jag ett äckligt surrande ljud från kretsen. Också när 3,3V är kopplad från ST Link med PSU:n avstängd, verkar LDO:n få ström baklänges, eftersom ström-LED:en på breakout-kortet för den fortsätter att lysa.

Jag har försökt mäta mellan GND från Blue Pill (som är kopplad till samma jord som PSU:n, buck-omvandlare och LDO) och GND på ST Link v2, och det ger mig 0mV. Så de verkar vara kopplade till samma jord åtminstone.

reddit.com
u/tobey_g — 19 days ago

3.3V not working on STM32 Blue Pill?

I’ve connected 18V from external bench power supply to a buck converter set to 5V. Then from 5V to an LDO outputting 3.3V and then finally to a STM32 Blue Pill. Everything is on breakout boards on a breadboard.

When I measure outputs from all power sources they read correctly at around 17.9V, 5V and 3.2V. They all share the same ground.

But connecting the 3.3V to the 3.3V pins of the Blue Pill, with it’s ground pins connected to the same ground, it doesn’t power up. I’ve also tried connecting 5V from the buck converter to the 5V of the Blue Pill with no results. I can however connect it to an ST Link V2 and make it receive 3.3V from that, and powers it without issues.

No idea what I’m missing, but it’s probably something very dumb and basic.

reddit.com
u/tobey_g — 19 days ago
▲ 1 r/stm32

How to deal with power for USB, ST Link and external supply?

I’m doing a bit of prototyping with a Blue Pill. I want to use USB purely for communication while simultaneously using a ST Link v2 clone for debugging and programming and supply power for 3.3V externally from a bench power supply.

What should I do in order to avoid any conflict or even damage when having these things connected at the same time? I assume that I can leave 3.3V from the ST Link disconnected. But 5V from USB is regulated down to 3.3V internally on the Blue Pill, right? So do I need to somehow prevent the USB from supplying 5V as well?

When doing this bare metal without using the Blue Pull, I would simply not use 5V from USB in the schematic, but now I’m kind of forced to work around this given how things are connected on the Blue Pill module.

reddit.com
u/tobey_g — 20 days ago
▲ 1 r/Dremel

Straight cut in middle of aluminum with router stand?

I don’t have a Dremel tool yet, but I was curious if I could use it for a very specific purpose.

I want to cut through 1.5-2 mm aluminum sheets, about 70-80 mm for slide potentiometer slots that are in the middle of the sheet, so I’m not cutting from the edge of the sheet. I think the width of the slots needs to be about 3-4 mm.

I’ve looked at techniques for doing straight router cuts like in this video: https://youtu.be/BDenJHzgXCw?is=al3QRUsvns4CShSW

But in my scenario, I imagine the bit going through the aluminum into the waste board, so it’s not about milling but cutting through. Can a Dremel be used for this with a plunge router stand? In that case, what type of bits should I go for?

u/tobey_g — 1 month ago

Big head, what to do?

A few years ago I bought glasses online from Ace & Tate but I ended up not wearing them a lot because I was never fully comfortable neither mentally or physically with wearing them.

The thing is that I have a huge head and a lot of the glasses I try are leaning forwards quite a lot due to the temples being too short for my head. It’s not too much of a problem width wise from ear to ear, it’s more the depth that is an issue.

I guess those online brands like Ace & Tate or Bloobloom are just not for me given their ”one size fits all” approach. So what are my alternatives? Can you modify glasses that you buy from these companies, extending the temples, or am I stuck with brands that offer longer temples?

reddit.com
u/tobey_g — 1 month ago

What type of noise is this?

Not sure if this is the correct Reddit to ask this, but I suspect this is noise coming from a 5G antenna placed on a roof nearby my appartment. I get it through some unbalanced and old audio equipment and it gets worse the closer the equipment is placed to the antenna. Just want to get your thoughts on the characteristics of the noise, if I'm right in my suspicions or not.

To me the noise has two layers. 1) low frequency "machine gun" like pulse and 2) high frequency digital sounding random "chirping".

u/tobey_g — 2 months ago

Just stumbled upon this clip which seems to show a very promising method for doing toner transfer to aluminum for front panels.

Have anyone tried this? Does it work with whatever label/sticker paper you can get hold off or does it need to be a specific kind? And do I understand it right that he peels off the sticker and prints on what’s underneath the sticker on the sheet? So it’s not the other side of the sticker?

u/tobey_g — 2 months ago

I’m making a box with 8x66 mm Baltic pine sides. The box will measure around 300x170 mm. Since I’m going for something basic, I want to use traditional miter joints, so each side is cut in 45 degrees right angle.

I’ve understood that only glueing the joints is a bad idea. But if I despite that were to go that path, are there things to think about in order to at least avoid an absolute, total catastrophe?

Should both sides be glued? Should I use more glue than usual? Extra strong glue? I thought about enforcing it with brad nails, but I worry that they will split the wood very easily since it’s only 8 mm thick?

reddit.com
u/tobey_g — 2 months ago

When drilling holes in 1.5 mm aluminum sheets using your average drill driver for front panels, I've tried center punching, placing the tip of the drill as exact as possible on the center, then keeping a straight angle and a firm grip as possible, but it always ends up getting off by quite a bit. It's not even practical because some components will just not fit next to eachother if one hole ends up being too close to the other.

Is it only possible to achieve with a drill press or what are the tips for achieving straight holes by hand? It's not that the hole needs to be straight on the vertical obviously given the thin aluminum, it's more about the placement of the holes across the panel ending up all over the place.

reddit.com
u/tobey_g — 2 months ago

Schematic: https://imgur.com/a/6shkwCA

I've built quite a lot of Eurorack DIY kits over the years and have become more and more interested in building something from scratch myself, so 1-2 years back I decided to try creating my first schematic for a MIDI to CV module.

I've dabbled a bit with the Raspberry Pi Pico and also bought a desk PSU so that I could breadboard this while drawing the schematic and powering it correctly. Parts of the schematic come from my previous experience building a MIDI sequencer, but for other parts that were unfamiliar to me, I've looked at other schematics for reference, read some datasheets for the components, and then adapted things to my needs.

With that said, I started working on this a few years ago and have since paused it for different reasons, coming back to it occasionally and making updates without verifying them on a breadboard. So there could be major issues I'm not aware of, or things that might sort of work on a breadboard but end up being unpredictable in a finished product, or things that I've thought were incorrect but then when updating them blindly without testing it on breadboard, actually making it worse.

The goal is to order a PCB and try to make it a 1U module. One PCB for the UI, with jacks, pots, and display, and another for the rest.

Some of the updates I've made without testing on a breadboard:

  • I was initially using an L7805 as the regulator for 12V to 5V, but I read that it's inefficient and can generate an unnecessary amount of heat, which might require a heatsink when placed in a case. So I'm now using a TSR 1 instead, which should be a more efficient drop-in replacement for the L7805. Not sure if I'm overestimating the heat issue, but I thought it was worth mentioning.
  • For some reason I also used the MCP600x for pitch and velocity when breadboarding, and it somehow worked. But when reviewing the schematic, I realised that this is most likely overloading the op-amp, since I'm feeding it +12V and it can only handle around 5 to 6V. So I'm now using the TL072 for pitch and velocity (0 to 10V), and the MCP6004 for gate, clock, and reset, as triggers/gates (0 to 5V).

I would greatly appreciate any help reviewing the schematic and pointing out anything that might need fixing or improving!

u/tobey_g — 2 months ago