Get started
Connect to your board
Your slot: today, 45 minutes.
-
1
Start the session
Reserves the board, reflashes the starter firmware and starts the debug server.
- Board reserved
- Board reflashed with the clean starter firmware
- Debug server listening on port 3333
- Analyzer connected
-
2
Open the tunnel from your PC
Pick one. SSH needs nothing extra on Windows 10/11.
ssh -N -L 3333:10.8.3.N:3333 student@lab.opcode-labs.com
Leave this terminal open during the session. Student accounts are not active yet: this command will work once they are.
[Interface] PrivateKey = <generated for this session> Address = <assigned for this session> [Peer] PublicKey = <lab server key> Endpoint = lab.opcode-labs.com:51820 AllowedIPs = 10.8.3.N/32
Paste into the WireGuard app as a new tunnel. It stops working when the session ends.
-
3
Debug in STM32CubeIDE
Run › Debug Configurations › your project › Debugger tab.
Debug probe ST-LINK (OpenOCD) GDB connection Connect to remote GDB server Host name localhost Port 3333 Startup tab Keep “Download” checked Debug server not started
Hardware
Your board
Camera off
Start the session to see your board.
Buttons
Hold to keep B1 pressed, like a real finger.
Target
State: off
Halt, step and breakpoints happen in CubeIDE.
Activity
Signals
Logic analyzer
Waiting for the session to start.
D0 PA5LD2 LED
D1 PC13B1 button
LED frequency–
LED duty cycle–
B1 presses–
Cursor–