How does ZLG guarantee 10,000 sets of Xiaomi smart home set programming?

MWC 2015 officially opened, a number of smart device manufacturers are the first to release their new products, the mobile phone is no longer "big red", the smart device of the Internet of Everything has come. In order to satisfy the rush of electronic hardware enthusiasts who are itchy, how can ZLG Zhiyuan Electronics improve the efficiency of key device programming?

Xiaomi Smart Home Suite has built-in Xiaomi intelligent module, which adopts Zigbee networking protocol, which includes four kinds of products: multi-function gateway, human body sensor, door and window sensor and wireless switch. The components in the set are networked through the "brain" of the multi-function gateway.

Zigbee networking

The core of the multi-function gateway is NXP's JN5168, which is the "brain in the brain." After carefully disassembling the smart gateway, as shown below, the red circle is the JN5168 chip.

Smart gateway disassembly

Smart gateway disassembly

1.1 The problem is coming, what about capacity?

In addition to its excellent performance, JN5168 has to solve product supply problems quickly. If the intelligent hardware is seriously out of stock, the perfect product will be easily seized by the competitors who are pressing hard.

1.1.1 Abandon serial and parallel, the transmission speed is increased by 8 times, and the whole film is burned for only 13 seconds.

Since the JN5168 only supports the serial programming interface and the maximum clock rate is 1Mbps, it is obvious that the serial data transmission speed is extremely slow. It takes at least 60 seconds to complete the entire (256KB) erase + program + verify operation. Even if 5 machines are burned at the same time, only 3,000 pieces can be burned per day.

ZLG innovatively abandoned the serial transmission method used by ordinary programmers and switched to parallel transmission. Extending the data bit width from 1 bit to 8 bits increases the overall transfer speed by at least 8 times. Flash is almost always writing! It takes only 13 seconds to complete the entire (256KB) erase + program + check operation!

Comparison between serial burning and parallel burning

Comparison between serial burning and parallel burning

1.1.2 4 independent sites asynchronously programmed, the production capacity increased by at least 4 times

The programming speed of a single chip can no longer be faster. If it is faster, only the four stations that rely on the SmartPRO T9000-PLUS will burn at the same time. In the case of multi-site programming, the normal programmer usually uses synchronous programming, that is, each time all the chips must be taken and then burned at the same time, as shown in the following figure.

Synchronous programming mode

Synchronous programming mode

This mode is 4 times faster than single-site burning. But the problem is obvious: the programmer is idle when picking and dropping the chip! Why not take advantage of these free hours?

The SmartPRO T9000-PLUS uses asynchronous programming. The four stations are independent of each other and do not interfere with each other. The automatic sensing chip is ready to burn. The burning process is shown in the figure below. In this way, even when the chip is picked up and put, there is still a chip burning, keeping the high-efficiency burning state every moment!

Asynchronous programming mode

Asynchronous programming mode

In the end, the average time required to burn 4 JN5168 chips is less than the time of simultaneous programming. Therefore, compared with single-site burning, the productivity increase is not only 4 times, but more than 4 times! Only one SmartPRO T9000-PLUS is needed, making it easy to burn 10,000 chips a day.

SmartPRO T9000-PLUS asynchronous site schematic

SmartPRO T9000-PLUS asynchronous site schematic

1.2 Is it just a simple requirement to burn Flash?

The user requires that at the same time as burning, it is necessary to support the erasing of the EEPROM and encrypt the chip. The SmartPRO T9000-PLUS not only erases the EEPROM, but also programs and reads it to meet any needs now and in the future. Similarly, the SmartPRO T9000-PLUS provides an intuitive encryption configuration interface that allows the user to freely choose which level of encryption (CRP_LEVEL1, CRP_LEVEL2) to use, whether to disable JTAG, etc., all in a simple click of the mouse. carry out.

JN5168 encryption configuration interface

JN5168 encryption configuration interface

Fish Tank

Jinhu Weibao Trading Co., Ltd , https://www.weibaoe-cigarette.com

Posted on