DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus

A CAN bus and program technology, which is applied in the field of DSP program programming based on CAN bus, can solve the problems of slow programming time, inability to realize remote programming, inconvenient target board update, etc.

Inactive Publication Date: 2014-12-17
DONGFANG ELECTRIC CORPLESHAN NEW ENERGY EQUIP
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the deficiencies of the prior art, to provide a DSP program programming method based on the CAN bus, which solves the problems of slow programming time, inability to realize remote programming and inconvenient updating of the target board

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
  • DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus
  • DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus
  • DSP (Digital Signal Processor) programming method based on CAN (Controller Area Network) bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Describe technical scheme of the present invention in further detail below in conjunction with accompanying drawing: as figure 1 Shown, the DSP programming method based on CAN bus, it comprises the following steps:

[0024] S1: if figure 2 As shown, connect the DSP and the host computer.

[0025] S2: The upper computer sends the FLASH erasing command to the DSP through the CAN bus.

[0026] S3: The DSP receives the command, configures parameters, verifies the API version, and unlocks the password. If it succeeds, it proceeds to step S4. If it fails, it uploads the error information to the host computer and returns to step S2.

[0027] S4: The DSP uses the FLASH erase function to erase the designated FLASH area. If the erase is successful, upload the erase completion flag to the host computer and proceed to step S5. If it fails, upload the error message to the host computer and return to step S2.

[0028] S5: The upper computer receives the erasing completion flag, a...

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 discloses a DSP (Digital Signal Processor) programming method based on a CAN (Controller Area Network) bus. The DSP programming method comprises the following steps of (1) erasing a FLASH by an upper computer; (2) converting the format of a target program and downloading multi-row target program codes by the upper computer, and waiting for receiving a DSP uploading logo; (3) receiving and checking the codes by a DSP, outputting a checking result as a logo and uploading the logo to the upper computer; (4) carrying out code transmission and programming on the DSP by the upper computer according to the logo which is uploaded by the DSP. According to the DSP programming method based on the CAN bus, disclosed by the invention, the multi-row date transmission and programming in one time is adopted, measures for preventing line skipping and line leakage are adopted in a program, the purpose of quickly programming the program of a lower computer is achieved on the premise that correct programming is ensured, and the efficiency of carrying out program upgrading and debugging program replacing on a target board is greatly increased.

Description

technical field [0001] The invention relates to a DSP programming method based on CAN bus. Background technique [0002] At present, there are several ways to burn DSP programs: [0003] (1) Emulator programming program: firstly, connect the emulator to the JTAG interface of the DSP, and at the same time connect it to the computer with the emulator driver and CCS application software installed. Then turn on the DSP power supply, open the CCS application software, select the corresponding DSP chip model and emulator, connect the DSP on the CCS application software, click the program burning tool, select the burning target file, and click the program burning button after decryption, the program After the burning is completed, close the interface and disconnect the connection with the DSP. The disadvantage of this method is: since the DSP and the emulator are connected through 2×7 double-row pins, the double-row pins can only be arranged on the target board and cannot be led ...

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 Applications(China)
IPC IPC(8): G06F9/44G06F13/10
Inventor 李存利袁维蓉
Owner DONGFANG ELECTRIC CORPLESHAN NEW ENERGY EQUIP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products