Manufacturing / Production Technology, Hardware & Services


Advanced device serialisation using an external serialisation server

25 June 2014 Manufacturing / Production Technology, Hardware & Services

In the device programming industry, serialisation is the process of writing unique data to each programmed device.

It can be used to program basic numeric serial numbers to a single device address and can also be used to program more complex data such as MAC addresses, encryption keys, GUIDs and randomisation seeds to several device addresses on each device.

With modern device programming solutions, serialisation data is generated by a customer-written application called an External Serialisation Server (ESS). The ESS generates serialisation data algorithmically, retrieves serialisation information from a database, or uses more sophisticated techniques to create device-specific data for programming into each device under test (DUT). It is invoked by the programming application as needed to retrieve the required serialisation data during a job session for each DUT.

Historically, serialisation applications generate data in a vacuum without any input from the device itself. Serialisation data is either pre-computed (e.g. a list of MAC IDs) or generated based on fixed inputs that are device-independent (e.g. timestamps, firmware revision codes, etc). While this approach is effective for simple cases, it fails to address the complicated requirements of modern serialisation.

A common use case requires generating a serialisation payload based on information already stored in each device. For instance, the contents of a device hardware register must be read and passed to the serialisation application to feed a serialisation algorithm or used as a lookup key into a database of serialisation data.

In such scenarios, there must exist a communication framework by which the programming application, which is capable of reading device-specific data, can communicate bidirectionally with the ESS to facilitate device programming. Since each device/ESS is unique, the framework must be flexible and extensible, allowing each device algorithm to communicate the required information to the ESS.

Device-driven serialisation

To address the needs of modern serialisation use cases, BPM Microsystems has developed a communication framework called Device-Driven Serialisation (DDS). DDS allows an ESS to communicate bidirectionally with a device-specific programming algorithm running as part of the programming application.

Based on customer specifications, the programming algorithm is designed to read all the appropriate information needed by the ESS and pass that information to the ESS at runtime, just in time. The communication protocol between the algorithm and the ESS can be as simple as a single unidirectional data transfer or may consist of several data transfers and logic to alter operation flow based on data read from the device or returned from the ESS.

Using this approach, the ESS actually becomes part of the programming algorithm. The algorithm is written according to customer specifications and is designed to communicate with the ESS in a pre-defined manner, sending and retrieving data at the appropriate control/decision points.

The ESS has the opportunity to monitor any aspect of the operation, read any relevant information from the DUT, present appropriate messages to the user, and even choose to fail the device operation if any retrieved data fails validation.

More than just serialisation

The power of the bidirectional communication framework provided by DDS goes beyond what is typically considered serialisation. For instance, the ESS can be notified each time the device is powered on or off, or it can read device-specific data for logging purposes or details about the programming mode. Instead of just reporting a device failure, a more detailed failure analysis can be provided to indicate exactly which phase of the program and/or verify operations failed.

Because the ESS is a full-fledged Windows application, this information can be used in a myriad of ways, which include storing it in databases for later retrieval, sending email alerts to key personnel when certain trigger conditions occur, or integrating with other customer systems.

ESS considerations

The ESS is a standalone application that can be written in any language, such as C++, JavaScript or Visual Basic. The ESS project could consist of one or many source code files allowing for applications ranging from very simple to very complex.

To communicate with the programming application, the ESS will define an object that exposes a list of agreed-upon functions that are invoked using Interprocess Communication Techniques (IPC). The details of IPC are invisible to the developer and are handled by the DDS framework.

The programming algorithm will reference and invoke these ESS functions as part of the operation flow, passing the appropriate data as parameters. Each function will then take the appropriate action and return any relevant data to the algorithm.

The algorithm will then make conditional decisions based on the returned data and potentially provide additional data to the ESS in the form of a subsequent function call or modify the operation flow as a result. The entire process is customer defined both in the ESS and the programming algorithm, giving the customer full control of the operation.

Conclusion

Serialisation is a difficult problem that many original equipment manufacturers and programming centres face. Traditional approaches to serialisation have provided the framework needed to program static device-independent serialisation data, but modern serialisation requirements demand a more sophisticated approach that can generate serialisation data based on device-specific information already stored in each device.

Device-Driven Serialisation leverages a flexible, secure, bidirectional communication framework between the programming algorithm and the serialisation application, allowing for a truly custom process flow. Through DDS, the ESS is granted intimate knowledge of any arbitrary data on the DUT and can directly impact program operation flow.

For more information visit www.bpmmicro.com





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Optimising cleaning products used in electronics manufacturing
Manufacturing / Production Technology, Hardware & Services
IPC, in collaboration with ChemFORWARD, are hosting a webinar titled ‘Optimising Cleaning Products Used in Electronics Manufacturing’.

Read more...
Webinar: Rapidly create vision-based edge AI solutions
Manufacturing / Production Technology, Hardware & Services
This webinar will give attendees an overview of the development kit, and will teach how it can be leveraged with Avnet’s IoTConnect platform, to rapidly develop cloud-connected solutions.

Read more...
Webinar: End-to-end ML model development
Manufacturing / Production Technology, Hardware & Services
Whether attendees are just starting out, or looking to refine their existing skills, this webinar is the next step to becoming proficient in creating machine learning models that solve real-world problems.

Read more...
PCBWay: Your one-stop shop for electronics manufacturing from design to production
PCBWay Manufacturing / Production Technology, Hardware & Services
[Sponsored] PCBWay has a long history of providing manufacturing support and design advice based on our customers’ products, and we continue to provide our customers with printed circuit boards, components, PCB assembly, moulding services, electronic assemblies, contract manufacturing, etc., from design to mass production.

Read more...
Yamaha accelerates transition to next-gen vehicle lighting
Truth Electronic Manufacturing Manufacturing / Production Technology, Hardware & Services
Europe’s automotive lighting makers are moving away from traditional electrical production techniques to become high-speed, precision electronic assemblers.

Read more...
Eight ways temporary solder mask is used for electronic assembly
Testerion Editor's Choice Manufacturing / Production Technology, Hardware & Services
While it is most used to mask open vias in a wave soldering process, operators find all kinds of creative ways to use solder mask to solve process challenges.

Read more...
Smart AOI provides essential inspection
Testerion Manufacturing / Production Technology, Hardware & Services
TRI has introduced the Core Features 3D AOI, the TR7700QC SII, which is equipped with essential inspection functionalities tailored for the electronics manufacturing industry.

Read more...
Newest mounter designed for the autonomous factory
Techmet Manufacturing / Production Technology, Hardware & Services
Panasonic has now started accepting orders for its newest modular mounter NPM-GW. This mounter is designed to enhance production lines with the end goal of having a fully functioning autonomous factory.

Read more...
Autonomous labour-saving factory solution
Techmet Manufacturing / Production Technology, Hardware & Services
With predictive and targeted maintenance options to maximise uptime, the NPM-GH from Panasonic is the first step to a truly autonomous factory.

Read more...
Easy-PC celebrates 40 years in PCB design
Manufacturing / Production Technology, Hardware & Services
Number One Systems celebrates 40 years of success with the release of its latest update, Easy-PC Version 28, featuring more than 40 new enhancements.

Read more...