Unlock instant, AI-driven research and patent intelligence for your innovation.

USB and NAND FLASH based data packaging and transmitting method

A data packaging and data packet technology, applied in digital transmission systems, transmission systems, electrical components, etc., can solve the problems of long transmission time, slow speed, and low data processing efficiency, and achieve safe transmission, less error-prone, and data processing The process is simple and the effect

Active Publication Date: 2012-11-28
REACH TECH XIAMEN
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the development of the existing embedded system, first edit and compile the code on the PC, and then transfer the generated executable file and the corresponding system configuration file to the target platform through the USB interface in a "stream" manner, and wait for the above file When it is completely transmitted to the target platform, it will be subpackaged and stored in NAND FLASH. Since the processing speed of NAND FLASH is slower than that of PC, and if there is a transmission error during the transmission process, it needs to be retransmitted, so the transmission time is longer and the processing time is longer. less data efficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • USB and NAND FLASH based data packaging and transmitting method
  • USB and NAND FLASH based data packaging and transmitting method
  • USB and NAND FLASH based data packaging and transmitting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] A kind of data packaging and transmission method based on USB and NAND FLASH of the present invention mainly comprises the following steps:

[0026] Step 1. According to the size of the NAND FLASH block, the original data is packaged in the form of blocks on the host computer to form an output file;

[0027] First, on the host computer (PC), the edited program (that is, the original data) is subpackaged in the form of blocks, such as image 3 The data packaging process shown is as follows:

[0028] (1) Open the input file that stores the original data, subpackage the input file according to the size of the NANDFLASH block, and obtain the number of data packets so as to carry out counting control;

[0029] (2) After creating the file header of the output file, start to create data packets in sequence;

[0030] (3) Read the data volume of a NAND FLASH block size from the input file sequentially, perform ECC checksum calculation, fill the packet header and data content t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a USB and NAND FLASH based data packaging and transmitting method. Firstly an input file is processed according to the characteristic of NAND FLASH block storage on a host, and an output file corresponding to the NAND FLASH block storage is generated, then the output file is transmitted to a target platform from the host, whether a data packet is successfully transmitted is confirmedly sequentially in the transmission process, if an error is produced in transmission, the data packet at the error position is transmitted again, so that data can be rapidly and safely transmitted, and multifile bulk transmission can be realized; besides, the data packet and data structure of the output file are consistent with and corresponding to NAND FLASH block storage, so that the data processing process that the output file is transmitted to the target platform to be stored in NAND FLASH is relatively simple and rapid and error is difficult to produce.

Description

technical field [0001] The invention relates to a method for packing and transmitting data based on USB and NAND FLASH. Background technique [0002] In the development of embedded systems, the method of cross-compilation is usually adopted. First, edit and compile the code on the PC, and then pass the generated executable file and the corresponding system configuration file through some interface (such as JTAG, UART or USB, etc.) Download to the target platform to run and debug. USB is a simple and high-speed transmission interface. At present, almost all embedded products, such as mobile phones and media players, support USB transmission. NAND FLASH memory has the characteristics of large capacity, fast read and write speed and low cost, and it is also more and more widely used in embedded products. [0003] At present, data transmission based on USB and NAND FLASH mostly adopts the "stream" method. In the development of the existing embedded system, first edit and comp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L1/00H04L29/08
Inventor 肖乐
Owner REACH TECH XIAMEN
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More