Unusual error with V3 board

Came across an error I haven’t seen before when attempting to upload to a board that my computer (Windows) isn’t seeing. I’ve tried with 2 separate computers and 2 known good cables. Neither of these computers/cables have had issue with several other boards. When I connect the board, I only see COMs that aren’t the board, I try to upload it anyway and I get the following error:

“Cannot perform port reset: 1200-bps touch: opening port at 1200bps: The semaphore timeout period has expired.”

Is this the first time you’re programming this board?

Does the board work apart from USB?

Does the LED on the board do anything?

Where did you get the board from?

Do you have warranty?

1 Like

I bought the board off AliExpress. It already came pre-programmed with a crappy config. It works except for the USB. The on-board LED pulses once every second.

Random thought- can I reconfig it over Bluetooth? I’ve never used the Bluetooth function before so I’m not sure

I have identified the problem.

Proffieboards don’t have bluetooth, but they have a serial port that is often used together with a bluetooth module. It may be possible to put the board in bootloader mode and upload over serial, but I’m not sure if anybody has ever tried that.

There is also something called an SWD port (accessible through pads on the bottom of the board) which can be used to program the board. You need an SWD programmer, but those can be had for a few bucks.

1 Like
  1. LOL. Yeah, I know, but they’re cheaper and they work more often than not.
  2. Can you elaborate on this method? Any documentation?

I think the closest thing we have to documentation might be this thread:

The SWD port can also be used to debug the board. If you do decide to go this route I can dig up the openocd commands you need to program the board.

Thank you! I’ll definitely need the Windkws version! Are there any particular ST-Links that you recommend?

I think most ST-link V2’s are crappy clones, but they should just work…

I think you would still use the openocd command to upload from windows.

What is the SWD port method?

Also, where are the SWDIO, SWDCLK pads on the V3 board? I didn’t see them in the manual and they’re not labeled

There are three round pads on the bottom of the board.

The one next to the SCL pad is SWDIO, the one next to DATA2 is SWDCLK.

Wire those two, plus GND to the ST-link V2 and you should be ready to go.

Then, open up ProffieOS in arduino and hit verify. Read the output and find the location of the “ProffieOS.ino.elf” file. Then open up a cmd or powershell window and run openocd as:

openocd.exe -f stm32l452.cfg program c:\full\path\to\ProffieOS.ino.elf verify reset exit

Note, I have not tried this on windows, so there may be permission issues to figure out, but in principle, these are the steps that you need to do.