Moving from a Development Board to Custom PCB – What Should We Check First?

Most embedded projects start with development boards like ESP32 DevKit, STM32 Nucleo, or Arduino. They make firmware development easier, especially when working with PlatformIO.

But moving from a development board to a custom PCB brings a different set of challenges. Sometimes firmware that works perfectly on a development board behaves differently on custom hardware.

A few things I think are worth checking before starting firmware development on a new PCB:

  • Pin mapping: Verify GPIO assignments, I²C, SPI, and UART connections against the actual schematic.

  • Power supply: Check regulator capacity, voltage stability, and decoupling, especially when using Wi-Fi modules and multiple peripherals.

  • Debugging access: Make sure UART, JTAG, or SWD interfaces are accessible for firmware debugging.

  • PlatformIO configuration: Maintain the correct board settings, upload configuration, and pin definitions for custom hardware.

  • Peripheral testing: Test sensors, displays, and communication interfaces individually before integrating the complete application.

At PCBCool, we help hardware developers turn electronic designs into assembled boards. One thing that becomes particularly important during this transition is considering programming, debugging, and testing access right from the PCB design stage.

I’m curious about other developers’ experiences:

  1. Do you maintain separate PlatformIO environments for development boards and custom PCBs?

  2. What is the most common issue you face during the first firmware upload to a newly assembled PCB?

  3. Do you test peripherals individually or bring up the complete application at once?

Would love to hear your experiences and suggestions!