This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Multiplexing SWDIO/SWCLK to program panels in production - Why is it a bad idea?

Hello,

I've been researching how to go about programming our devices on the production line. Most of the threads I've seen suggest two options: either to order them pre-programmed or to use several flashers connected to a PC (or use that solution that works with microSD cards).

The first suggestion is not an option for us, we have to produce about 5000 pieces that need to be delivered to Kickstarter backers and if we want to meet our deadline we would have to send the final binaries to the manufacturer now and the firmware is not ready yet. For mass production, we will probably use this option but not right now.

The second option is to use a flasher per device (could be one per 8 or so, depending on the capabilities of the flasher), but we don't have space in the PCB to use a bed of nails or something like that to connect them directly to each device.

One choice would be to draw traces from the SWD pins out to the panel and connect them there. I read in another post asking the same question that this not a good idea at all because the traces might get shorted when the devices are depanelized.

Our panel will have 40 to 50 boards and the PCB has 4 layers. We are planning to use a single J-Link and multiplex the SWD lines to program one device at a time. We would draw the SWD lines from one of the inner layers of the PCB so we doubt we would have problems with traces being shorted when cut.

So my question is: Why is such a bad idea to multiplex the SWD to program a single device at a time?

Parents
  • Our panel will have 40 to 50 boards and the PCB has 4 layers. We are planning to use a single J-Link and multiplex the SWD lines to program one device at a time.

    Calculating the required routing space in my head, this solution will be larger than having just some tiny pads or vias for the SWD lines somewhere on each board.

    You will need some other test pads for any proper production testing anyway.

    we would have to send the final binaries to the manufacturer now and the firmware is not ready yet.

    Then just send them the Softdevice and OTA Bootloader. You can then update the firmware over thin air just before shipping off to the customer.

Reply
  • Our panel will have 40 to 50 boards and the PCB has 4 layers. We are planning to use a single J-Link and multiplex the SWD lines to program one device at a time.

    Calculating the required routing space in my head, this solution will be larger than having just some tiny pads or vias for the SWD lines somewhere on each board.

    You will need some other test pads for any proper production testing anyway.

    we would have to send the final binaries to the manufacturer now and the firmware is not ready yet.

    Then just send them the Softdevice and OTA Bootloader. You can then update the firmware over thin air just before shipping off to the customer.

Children
Related