patents.google.com

CN105094886A - Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine - Google Patents

  • ️Wed Nov 25 2015
Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine Download PDF

Info

Publication number
CN105094886A
CN105094886A CN201510338796.6A CN201510338796A CN105094886A CN 105094886 A CN105094886 A CN 105094886A CN 201510338796 A CN201510338796 A CN 201510338796A CN 105094886 A CN105094886 A CN 105094886A Authority
CN
China
Prior art keywords
uart
usb
burning
bus
converting unit
Prior art date
2015-06-18
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510338796.6A
Other languages
Chinese (zh)
Inventor
王治章
肖波
王会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Meibeike Technology Co Ltd
Original Assignee
Shenzhen Meibeike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
2015-06-18
Filing date
2015-06-18
Publication date
2015-11-25
2015-06-18 Application filed by Shenzhen Meibeike Technology Co Ltd filed Critical Shenzhen Meibeike Technology Co Ltd
2015-06-18 Priority to CN201510338796.6A priority Critical patent/CN105094886A/en
2015-11-25 Publication of CN105094886A publication Critical patent/CN105094886A/en
Status Pending legal-status Critical Current

Links

  • 238000000034 method Methods 0.000 title claims abstract description 17
  • 238000006243 chemical reaction Methods 0.000 claims abstract description 24
  • 238000012795 verification Methods 0.000 claims description 23
  • 230000008676 import Effects 0.000 claims description 3
  • 238000010586 diagram Methods 0.000 description 3
  • 230000009286 beneficial effect Effects 0.000 description 1
  • 239000004065 semiconductor Substances 0.000 description 1

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention provides a device and a method for burning a serial number to a lower computer containing an RS (Recommended Standard) 485 bus from a PC (Personal Computer). The device comprises the PC, a burner and a lower computer, wherein the PC is provided with a burning unit and a USB (Universal Serial Bus) port; the burner comprises a USB/UART (Universal Asynchronous Receiver/Transmitter) conversion unit, a checkout unit and a first UART/RS485 conversion unit, wherein the USB/UART conversion unit, the checkout unit and the first UART/RS485 conversion unit are successively connected; the USB/UART conversion unit of the burner is connected with the USB port of the PC through a USB bus; the lower computer comprises a second UART/RS485 conversion unit and a serial number read-write unit with an I2C (Inter-Integrated Circuit) interface, wherein the UART/RS485 conversion unit and the serial number read-write unit are mutually connected; the second UART/RS485 conversion unit of the lower computer is connected with the first UART/RS485 conversion unit of the burner through the RS485 bus; and the I2C interface of the serial number read-write unit is connected with an EEPROM (Electrically Erasable Programmable Read-Only Memory) through an I2C bus. The device can burn the serial number to the lower computer containing the RS485 bus to the PC and can effectively verify whether burning is successful or not since the device is provided with a checkout program.

Description

A kind of from PC burning sequence number to the apparatus and method of the slave computer containing RS485 bus

Technical field

The invention belongs to burning program technical field, be specifically related to a kind of from PC burning sequence number to the apparatus and method of the slave computer containing RS485 bus.

Background technology

For storage class semiconductor components and devices, usually need to utilize computing machine, by serial, parallel or USB connects and the program that certain tool of arranging in pairs or groups will be write writes, and the tool used in this process is exactly CD writers or is programmable device.Such as adopt the electronic product of RS485 bus then directly can not pass through the USB port of PC directly to the electronic product burning sequence number adopting RS485 bus, because RS485 bus cannot directly communicate with the usb bus of PC, how directly could pass through the USB port of PC to the electronic product burning sequence number adopting RS485 bus, become a urgent problem.

Summary of the invention

The present invention is directed to PC directly to the problem of the slave computer burning program containing RS485 bus, to provide a kind of from PC burning sequence number to the device of the slave computer containing RS485 bus, comprising:

PC, is provided with burning unit and USB port;

Cd-rom recorder, comprise the USB/UART converting unit, verification unit and the UART/RS485 converting unit that connect successively, the USB/UART converting unit of cd-rom recorder is connected with the USB port of PC by usb bus;

Slave computer, comprise interconnective 2nd UART/RS485 converting unit and the sequence number read-write cell with I2C interface, 2nd UART/RS485 converting unit of slave computer is connected with a UART/RS485 converting unit of cd-rom recorder by RS485 bus, and the I2C interface of sequence number read-write cell is connected with EEPROM by I2C bus.

Preferably, described USB/UART converting unit adopts USB/UART conversion chip, verification unit adopts single-chip microcomputer, one UART/RS485 converting unit adopts UART/RS485 conversion chip, the UART signal that USB/UART conversion chip exports verifies through single-chip microcomputer, meet agreed specifications, be forwarded to UART/RS485 conversion chip.

Further preferably, described USB/UART converting unit adopts CP2102, and a UART/RS485 converting unit adopts MAX3485.

Preferably, the 2nd UART/RS485 converting unit adopts UART/RS485 conversion chip, and sequence number read-write cell adopts single-chip microcomputer.

Further preferably, the 2nd described UART/RS485 converting unit adopts MAX3485.

In order to solve the problem, the present invention also provides a kind of from PC burning sequence number to the method for the slave computer containing RS485 bus, and the method comprises burning program, and concrete steps are:

The sequence number of pre-burning imports in burning unit by PC;

Sequence number is transferred to the USB/UART converting unit of cd-rom recorder by burning unit in the mode of usb signal by usb bus from USB port;

USB/UART converting unit is sent to verification unit after converting usb signal to UART signal; Verification unit receives the UART signal of USB/UART converting unit, verification, the UART signal meeting agreed specifications is forwarded to a UART/RS485 converting unit, and converts RS485 signal to, then passes through the two UART/RS485 converting unit of RS485 bus transfer to slave computer; The UART signal not meeting agreed specifications does not then forward, and verification unit continues the next UART signal of wait-receiving mode;

2nd UART/RS485 converting unit is sent to sequence number read-write cell after converting RS485 signal to UART signal, and sequence number read-write cell passes through I2C bus to EEPROM writing sequence number.

The method also comprises check program, and concrete steps are:

Sequence number read-write cell reads the sequence number of EEPROM write by I2C bus, and being sent to the 2nd UART/RS485 converting unit with the form of UART signal, the 2nd UART/RS485 converting unit is back to a UART/RS485 converting unit of cd-rom recorder after converting UART signal to RS485 signal;

One UART/RS485 converting unit of cd-rom recorder is forwarded to USB/UART converting unit through verification unit after just RS485 signal converts UART signal to, and USB/UART converting unit is back to the burning unit of PC after converting UART signal to usb signal;

The sequence number of passback and the sequence number sent verify by burning unit, data consistent, display burning success; Data are inconsistent, and display burning failure also points out burning again.

Owing to have employed technique scheme, the invention has the beneficial effects as follows:

Of the present invention a kind of from PC burning sequence number to the apparatus and method of the slave computer containing RS485 bus, can not only realize from PC to the slave computer burning program containing RS485 bus, checking procedure is provided with during burning program, can judge that whether sequence number is legal, whether the sequence number not meeting agreed specifications then can not be entered slave computer by burning, can also feed back in time after burning completes, number correct by the burning unit verification sequence of PC, make burning success ratio high, there will not be the phenomenon of omission.

Accompanying drawing explanation

Fig. 1 is of the present invention from PC burning sequence number to the apparatus structure block diagram of the slave computer containing RS485 bus.

Fig. 2 is of the present invention from PC burning sequence number to the burning program process flow diagram of method of the slave computer containing RS485 bus.

Fig. 3 is of the present invention from PC burning sequence number to the check program process flow diagram of method of the slave computer containing RS485 bus.

Reference numeral: 10-PC machine, 11-burning unit, 12-USB port, 20-USB bus, 30-cd-rom recorder, 31-USB/UART converting unit, 32-verification unit, 33-the one UART/RS485 converting unit, 40-RS485 bus, 50-slave computer, 51-the 2nd UART/RS485 converting unit, 52-sequence number read-write cell, 53-EEPROM.

Embodiment

With reference to Fig. 1, of the present invention a kind of from PC burning sequence number to the device of the slave computer containing RS485 bus, comprise PC 10, cd-rom recorder 30 and slave computer 50.Be provided with burning unit 11 and USB port 12 in PC 10, burning unit 11 is that a writable program obtains burn recording software.Cd-rom recorder 30 comprises the USB/UART converting unit 31, verification unit 32 and the UART/RS485 converting unit 33 that connect successively, and the USB/UART converting unit 31 of cd-rom recorder 30 is connected with the USB port 12 of PC 10 by usb bus 20.USB/UART converting unit 31 adopts USB/UART conversion chip, specifically CP2102 can be adopted, verification unit 32 adopts single-chip microcomputer, one UART/RS485 converting unit 33 adopts UART/RS485 conversion chip, specifically can adopt MAX3485, and the UART signal that USB/UART conversion chip exports verifies through single-chip microcomputer, meet agreed specifications, be forwarded to UART/RS485 conversion chip, do not meet predetermined specifications, then continue to wait for next instruction.

Slave computer 50 comprises interconnective 2nd UART/RS485 converting unit 51 and has the sequence number read-write cell 52 of I2C interface, 2nd UART/RS485 converting unit 51 of slave computer 50 is connected with a UART/RS485 converting unit 33 of cd-rom recorder 30 by RS485 bus 40, and the I2C interface of sequence number read-write cell 52 is connected with EEPROM53 by I2C bus.2nd UART/RS485 converting unit 51 adopts UART/RS485 conversion chip, and specifically can adopt MAX3485, sequence number read-write cell 52 adopts single-chip microcomputer.

With reference to Fig. 2, the present invention also provides a kind of from PC burning sequence number to the method for the slave computer containing RS485 bus, and the method comprises burning program, and concrete steps are:

The sequence number of pre-burning imports in burning unit 11 by PC 10.

Sequence number is transferred to the USB/UART converting unit 31 of cd-rom recorder 30 by burning unit 11 in the mode of usb signal by usb bus 20 from USB port 12.

USB/UART converting unit 31 is sent to verification unit 32 after converting usb signal to UART signal; Verification unit 32 receives the UART signal of USB/UART converting unit 31, verification, the UART signal meeting agreed specifications is forwarded to a UART/RS485 converting unit 33, and convert RS485 signal to, the 2nd UART/RS485 converting unit 51 of slave computer 50 is then transferred to by RS485 bus 40; The UART signal not meeting agreed specifications does not then forward, and verification unit 32 continues the next UART signal of wait-receiving mode.

2nd UART/RS485 converting unit 51 is sent to sequence number read-write cell 52 after converting RS485 signal to UART signal, and sequence number read-write cell 52 passes through I2C bus to EEPROM53 writing sequence number.

In order to check the program of burning successful, correctly whether whether, PC 10, while the order sending burning program, also returns order along with have issued.

After EEPROM53 burning sequence number, sequence number read-write cell 52 reads again the sequence number of EEPROM53 write at once by I2C bus, and the UART/RS485 converting unit 33 being back to cd-rom recorder 30 after the 2nd UART/RS485 converting unit the 51, two UART/RS485 converting unit 51 converts UART signal to RS485 signal is sent to the form of UART signal.

One UART/RS485 converting unit 33 of cd-rom recorder 30 is forwarded to through verification unit 32 the burning unit 11 being back to PC 10 after USB/UART converting unit 31, USB/UART converting unit 31 converts UART signal to usb signal after just RS485 signal converts UART signal to.

The sequence number of passback and the sequence number sent verify by burning unit 11, data consistent, display burning success; Data are inconsistent, and display burning failure also points out burning again.

Claims (7)

1., from PC burning sequence number to a device for the slave computer containing RS485 bus, it is characterized in that, comprising:

PC, is provided with burning unit and USB port;

Cd-rom recorder, comprise the USB/UART converting unit, verification unit and the UART/RS485 converting unit that connect successively, the USB/UART converting unit of cd-rom recorder is connected with the USB port of PC by usb bus;

Slave computer, comprise interconnective 2nd UART/RS485 converting unit and the sequence number read-write cell with I2C interface, 2nd UART/RS485 converting unit of slave computer is connected with a UART/RS485 converting unit of cd-rom recorder by RS485 bus, and the I2C interface of sequence number read-write cell is connected with EEPROM by I2C bus.

2. according to claim 1 from PC burning sequence number to the device of the slave computer containing RS485 bus, it is characterized in that, described USB/UART converting unit adopts USB/UART conversion chip, verification unit adopts single-chip microcomputer, one UART/RS485 converting unit adopts UART/RS485 conversion chip, the UART signal that USB/UART conversion chip exports verifies through single-chip microcomputer, meets agreed specifications, is forwarded to UART/RS485 conversion chip.

3. according to claim 2 from PC burning sequence number to the device of the slave computer containing RS485 bus, it is characterized in that, described USB/UART converting unit adopts CP2102, and a UART/RS485 converting unit adopts MAX3485.

4. according to claim 1 from PC burning sequence number to the device of the slave computer containing RS485 bus, it is characterized in that, the 2nd UART/RS485 converting unit adopts UART/RS485 conversion chip, and sequence number read-write cell adopts single-chip microcomputer.

5. according to claim 4ly it is characterized in that from PC burning sequence number to the device of slave computer containing RS485 bus, the 2nd described UART/RS485 converting unit adopts MAX3485.

6., from PC burning sequence number to a method for the slave computer containing RS485 bus, it is characterized in that, comprise burning program, concrete steps are:

The sequence number of pre-burning imports in burning unit by PC;

Sequence number is transferred to the USB/UART converting unit of cd-rom recorder by burning unit in the mode of usb signal by usb bus from USB port;

USB/UART converting unit is sent to verification unit after converting usb signal to UART signal; Verification unit receives the UART signal of USB/UART converting unit, verification, the UART signal meeting agreed specifications is forwarded to a UART/RS485 converting unit, and converts RS485 signal to, then passes through the two UART/RS485 converting unit of RS485 bus transfer to slave computer; The UART signal not meeting agreed specifications does not then forward, and verification unit continues the next UART signal of wait-receiving mode;

2nd UART/RS485 converting unit is sent to sequence number read-write cell after converting RS485 signal to UART signal, and sequence number read-write cell passes through I2C bus to EEPROM writing sequence number.

7. according to claim 6 from PC burning sequence number to the method for the slave computer containing RS485 bus, it is characterized in that, also comprise check program, concrete steps are:

Sequence number read-write cell reads the sequence number of EEPROM write by I2C bus, and being sent to the 2nd UART/RS485 converting unit with the form of UART signal, the 2nd UART/RS485 converting unit is back to a UART/RS485 converting unit of cd-rom recorder after converting UART signal to RS485 signal;

One UART/RS485 converting unit of cd-rom recorder is forwarded to USB/UART converting unit through verification unit after just RS485 signal converts UART signal to, and USB/UART converting unit is back to the burning unit of PC after converting UART signal to usb signal;

The sequence number of passback and the sequence number sent verify by burning unit, data consistent, display burning success; Data are inconsistent, and display burning failure also points out burning again.

CN201510338796.6A 2015-06-18 2015-06-18 Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine Pending CN105094886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510338796.6A CN105094886A (en) 2015-06-18 2015-06-18 Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510338796.6A CN105094886A (en) 2015-06-18 2015-06-18 Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine

Publications (1)

Publication Number Publication Date
CN105094886A true CN105094886A (en) 2015-11-25

Family

ID=54575401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510338796.6A Pending CN105094886A (en) 2015-06-18 2015-06-18 Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine

Country Status (1)

Country Link
CN (1) CN105094886A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573957A (en) * 2015-12-11 2016-05-11 中国电子科技集团公司第四十一研究所 Measuring instrument programmable interface conversion system and method
CN107436776A (en) * 2016-05-26 2017-12-05 鸿富锦精密工业(深圳)有限公司 Programming system and method for burn-recording
CN109582322A (en) * 2018-11-20 2019-04-05 海信(山东)空调有限公司 A kind of programming system and burning control method
WO2020103107A1 (en) * 2018-11-22 2020-05-28 北京比特大陆科技有限公司 Data processing apparatus
CN113485724A (en) * 2021-07-14 2021-10-08 珠海泰芯半导体有限公司 Burning method and device of user identification code, storage medium and upper computer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202013746U (en) * 2011-02-28 2011-10-19 苏州瀚瑞微电子有限公司 Burning tool
CN203350862U (en) * 2012-12-13 2013-12-18 上海亨通光电科技有限公司 Small USB blaster programmer
WO2013189304A1 (en) * 2012-06-21 2013-12-27 Shenzhen Byd Auto R & D Company Limited Method, upper computer and system for programming in bus network
CN104156250A (en) * 2014-08-20 2014-11-19 深圳市安邦信电子有限公司 Handheld off-line programmer and off-line programming method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202013746U (en) * 2011-02-28 2011-10-19 苏州瀚瑞微电子有限公司 Burning tool
WO2013189304A1 (en) * 2012-06-21 2013-12-27 Shenzhen Byd Auto R & D Company Limited Method, upper computer and system for programming in bus network
CN203350862U (en) * 2012-12-13 2013-12-18 上海亨通光电科技有限公司 Small USB blaster programmer
CN104156250A (en) * 2014-08-20 2014-11-19 深圳市安邦信电子有限公司 Handheld off-line programmer and off-line programming method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573957A (en) * 2015-12-11 2016-05-11 中国电子科技集团公司第四十一研究所 Measuring instrument programmable interface conversion system and method
CN105573957B (en) * 2015-12-11 2018-07-24 中国电子科技集团公司第四十一研究所 A kind of measuring instrument programmable interface converting system and method
CN107436776A (en) * 2016-05-26 2017-12-05 鸿富锦精密工业(深圳)有限公司 Programming system and method for burn-recording
CN107436776B (en) * 2016-05-26 2020-11-03 南宁富桂精密工业有限公司 Burning system and burning method
CN109582322A (en) * 2018-11-20 2019-04-05 海信(山东)空调有限公司 A kind of programming system and burning control method
WO2020103107A1 (en) * 2018-11-22 2020-05-28 北京比特大陆科技有限公司 Data processing apparatus
CN113485724A (en) * 2021-07-14 2021-10-08 珠海泰芯半导体有限公司 Burning method and device of user identification code, storage medium and upper computer

Similar Documents

Publication Publication Date Title
CN105094886A (en) 2015-11-25 Device and method for burning serial number to lower computer containing RS (Recommended Standard) 485 bus from PC (Personal Computer) machine
CN102833002B (en) 2014-12-10 Data transmission device and method supporting fibre channel protocol
CN104679559B (en) 2019-06-18 The method of single-chip microcontroller online programming
CN102662903A (en) 2012-09-12 Method for realizing hot-plug of PCIE equipment by CPLD or FPGA
CN211427190U (en) 2020-09-04 Server circuit and mainboard based on Feiteng treater 2000+
CN113760748A (en) 2021-12-07 FPGA prototype verification device and method
CN103853642A (en) 2014-06-11 Injection type simulation system for infrared digital image based on USB3.0 and method thereof
CN104104436A (en) 2014-10-15 Electricity meter data acquisition apparatus with infrared upgrade function and upgrade method thereof
CN104820655A (en) 2015-08-05 CPU hot plug implementation method and system based on FPGA
CN103077144A (en) 2013-05-01 Serial peripheral interface (SPI) communication interface for ensuring data integrity, and communication method thereof
CN104102561B (en) 2017-07-14 Universal sequence bus testing device
CN104123246A (en) 2014-10-29 Interface expansion device and serial attached SCSI expander
CN108153624B (en) 2021-04-27 Test circuit board suitable for NGFF slot
CN103164313A (en) 2013-06-19 Debugging system and debugging method
CN102129881A (en) 2011-07-20 Solid-state storage disk device and system suitable for peripheral component interconnection express interface
CN106847344B (en) 2019-11-19 Assertion-Based Memory Controller Interface Timing Parameterized Verification System
CN113434442A (en) 2021-09-24 A switch and data access method
CN107885693A (en) 2018-04-06 High-capacity and high-speed data transfer and storage system and method based on PCIE3.0
CN100511172C (en) 2009-07-08 Inter-board transparent transmission bus test device and method thereof
CN104021086B (en) 2016-12-07 A kind of implementation method of 8 single-chip microcomputers, 16 memory element RAM of read-write
CN102866755A (en) 2013-01-09 Power-on reset device for integrated test system
CN203117968U (en) 2013-08-07 SPI (Serial Peripheral Interface) communication interface
CN103365815B (en) 2015-11-18 The SD memory card interface that under support SD pattern, IP realizes
US20160170926A1 (en) 2016-06-16 Apparatus, computer, and method of supporting usb storage device to hot plug
CN105068962A (en) 2015-11-18 I2C controller access method and I2C controller access system

Legal Events

Date Code Title Description
2015-11-25 C06 Publication
2015-11-25 PB01 Publication
2015-12-23 C10 Entry into substantive examination
2015-12-23 SE01 Entry into force of request for substantive examination
2018-11-13 WD01 Invention patent application deemed withdrawn after publication
2018-11-13 WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151125