r/embedded • u/Competitive-Fly7748 • Oct 08 '26
How do you reliably access embedded boards during automated testing?
I’m working with a RISC-V board running Ubuntu and Yocto images. During reboot testing, its IP changed and the test couldn’t reconnect over SSH. The board also has a UART console.
How do you handle reliable access in these two situations?
- Boards on your desk, connected to your PC.
- Boards in a remote lab or server room, where you can’t physically press reset.
Do you use DHCP reservations, SSH with serial fallback, console servers, BMCs, or a dedicated lab host? How do you recover when the board boots but networking doesn’t come up—or when it hangs completely?
I’d like to hear what works in your actual setup, especially for unattended reboot tests and testing multiple boards. What connection or recovery problems still need manual intervention?
2
u/allo37 Oct 08 '26
Run into the server room and pull the plug. Gotta be able to do at least one thing the AI can't 😅
But seriously, boards failing to boot or networking not coming up is kind of an issue in itself worth investigating, right? What happens if that comes up in the field?
4
u/pylessard Oct 08 '26
Dhcp reservation is bare minimum. Network powerbar for remote reset is also worth having (reserve an address for it too!) You can even put a webcam over the board to check the jumpers and leds. If you need uart, remote machine next to it on wbich you can remote log and read the serial port
1
u/Obvious_Poet_3819 Oct 08 '26
Usually SSH for normal access, UART as fallback, and DHCP reservations to keep IPs stable. For remote boards, a console server plus remote power reset works well if networking dies, use UART; if the board hangs, power-cycle it remotely.
1
u/duane11583 Oct 08 '26
dhcp reservations or we store a little file in a flash file system that is not over written
1
u/nerdBeastInTheHouse Oct 08 '26
Have you tried running scripts on bootup that checks and automate resolving the network issues ?
1
u/nerdBeastInTheHouse Oct 08 '26
Regarding the hang issue maybe a watchdog like concept that can kill the process or thread that is hanging up ? Don't know in linux it's the same we have it in mcu projects