Sign In to Follow Application
View All Documents & Correspondence

Programmer For Uploading Bin & Ldr File To Electronic Board Through Rs 232 Interface

Abstract: The present invention converts the standard binary & loader file generated from compilation of code into acceptable formats which can be programmed inside the electronic module through RS-232 interface.

Get Free WhatsApp Updates!
Notices, Deadlines & Correspondence

Patent Information

Application #
Filing Date
19 December 2014
Publication Number
26/2016
Publication Type
INA
Invention Field
COMPUTER SCIENCE
Status
Email
Parent Application

Applicants

Hindustan Aeronautics Limited
Hindustan Aeronautics Limited, Avionics Division, P.O. Korwa, Amethi,

Inventors

1. Anuj Kumar
Hindustan Aeronautics Limited, Avionics Division, P.O. Korwa, Amethi, Pin-227412, UP, India
2. Pushpraj Kumar
Hindustan Aeronautics Limited, Avionics Division, P.O. Korwa, Amethi, Pin-227412, UP, India
3. Suresh Chandra Srivastava
Hindustan Aeronautics Limited, Avionics Division, P.O. Korwa, Amethi, Pin-227412, UP, India

Specification

TITLE OF INVENTION
PROGRAMMER FOR UPLOADING BIN & LDR FILE TO ELECTRONIC BOARD THROUGH RS-232 INTERFACE
FIELD OF THE INVENTION
This invention relates to programmer for uploading *.BIN & *.LDR file through RS-232 for use in embedded hardware to
perform the desired application of the embedded system and, more particularly, for uploading of application software in a embedded
system.
BACKGROUND OF THE INVENTION
The embedded systems are based on highly-integrated 32-bit microcontrollers, combining high-performance data
manipulation capabilities with powerful peripheral subsystems. Microcontrollers based electronic module are built up from standard
modules that interface through a common intermodule bus (IMB). Standardization facilitates rapid development of devices tailored for
specific applications.
The embedded system incorporates a 32-bit CPU, a system integration module, a time processor unit, a configurable timer
module, a queued serial module, a 10-bit queued analog-to-digital converter module, TPU emulation RAM module and a standby
RAM module (SRAM).
The embedded system can either synthesize the system clock signal from a fast reference or use an external clock input
directly. The maximum system clock speed depends hardware and software that allow changes in clock rate during operation.
Because MCU operation is fully static, register and memory contents are not affected by clock rate changes.
Modular based design of embedded hardware & software system provides the flexibility in various commercial & avionics
system which leads to fast adaptability in technology. In line with this it is recommended to port the application software according to
user requirement and same can be changed accordingly. To program the device a communication interface is required which can be
interacting with user level to system level. A programmer for uploading the binary and loader file through UART interfaces of
microcontroller are used for programming the embedded system.
SUMMARY OF PRESENT INVENTION
The present invention, therefore, is directed to programmer for uploading *.bin & *.ldr file to electronic board through RS-232
interface.
An aspect of the present invention is the compilation of the code to an object file, binary or Loader files which are to be
programmed inside the system
A further aspect of the invention is that an embedded application to be programmed inside the memory of electronic boards to
perform the desired functionality.
The system accepts unique protocols & formats to transfer the binary or loader file inside the memory which interfaces with
Motorola & Analog devices processor. The present invention converts the standard binary & loader file generated from compilation
of code in to in to acceptable formats which can be programmed inside the electronic module through RS-232 interface.
The electronic board is connected to the Personal computer/Laptop & RS-232 link is established. The file generated by the
compiler is converted into usable file through a utility on the PC/laptop. The protocol is designed so as to communicate with the
target controller by initializing the required ports of the processor.
Once the link is established & the processor starts responding to the command of computer, the modified file is programmed
inside the electronic board. Further the identification code of that software is also programmed to keep a track of the application that
has been programmed inside the electronic module.
BRIEF DESCRIPTION OF THE DRAWINGS
The features and advantages of the present invention becomes more apparent and descriptive in the description when
considered together with figures/flow charts presented:
Figure 1: is a Block Diagram of Programming setup of Embedded Module
Figure2: is a Block Diagram of reading & segregating of binary & loader file
Figure 3: is a Flow Diagram of programming of segregated file
DETAILED DESCRIPTION
The detail description for programming of binary & loader file through RS-232 interface is elaborated in below paragraph:
PROGRAMMING SET UP:
• Make connections as per the set up diagram shown in Figure-1.
• Power up the Programming station.
• Power up the Board from board level power supply.
• Execute program by Double Click on the programming station executable software.
• Click on programming window in the toolbar to open it. Select the required*.bin or *.ldr file in the file menu.
• Check RAM space address of embedded board.
• Click on “Erase & program”.
• The status of the process is shown on the terminal window and after successful completion of programming.
• After successful programming of Flash, exit from programming software and switch off the supply from Board level power
supply.
ALGORITHM FLOW CHART:
The binary & loader file generated from the compiler is converted in to usable format for uploading of the data. The above
specified file format is read by the system depending on the file name provided by the user. The data is then segregated as required
for uploading the data on RS-232 interface. A new file name as defined by the user is created. The valid data is then written to new
file & this generates a new file which needs to be programmed in the memory of electronic board.
The processor of the electronic module is then configured by initializing the basic registers of the controller as defined in the
datasheet & user manual of the IC. The RS-232 interface is then activated by defining the specified commands so that the electronic
modules are able to receive the data. The communication is then established with the electronic board as per unique protocol which
indicates the controller is ready to receive the data on RS-232 interface. Once the link is established the data can be programmed
inside the memory by the controller depending on the read write cycles.
The above programmer helps to modify the application source code at various ground stations without taking the pain of
opening & connecting a debugger/emulator to program the source code which in turn increases reliability as the electronic module
does not open up frequently. Further the same philosophy with slight modification by selecting another memory device also helps to
program the calibration data of the system inside the EEPROM. This further results in providing better user interface as the
calibration data can be changed as & when required.
The configuration that has been programmed can be controlled by the way of programming Checksum that is computed &
programmed so that unwanted alteration of the application source code can be avoided. This also provides the security checks that
have been built with the help of unique protocols so that no unwanted link can be established.

WE CLAIMS:-
Accordingly, the description of the present invention is to be considered as illustrative only and is for the purpose of teaching those skilled in the art of the best mode of carrying out the invention. The details may be varied substantially without departing from the spirit of the invention, and exclusive use of all modifications which are within the scope of the appended claims is reserved. The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:
1.Programmer for uploading *.bin (Binary) & *.ldr file to electronic board through RS-232 interface Comprising; The compilation of the code generates an object file, binary or Loader files which are to be programmed inside the system; Said system means a embedded system having 32-bit processor and interfaced with memory devices and communication peripherals with their communication port;Said protocols & formats means a unique algorithm to transfer the binary or loader file inside the memory which interfaces with Motorola & Analog devices processor; Said programming setup means a setup to interface the user with the system in which the application to be loaded and changes is made accordingly
2. The programmer for uploading software of claim 1 wherein the compilation of the code generates an object file, binary or Loader files which are to be programmed inside the system.
3. The programmer for uploading software as claimed in any of the preceding claims wherein further the checksum is also programmed to keep a track of the application that has been programmed inside the electronic module.
4. The programmer for uploading software as claimed in any of the preceding claims wherein the system accepts unique protocols & formats to transfer the binary or loader file inside the memory which interfaces with Motorola & Analog devices processor.
5. The programmer for uploading software as claimed in any of the preceding claims wherein programming set up converts the binary & loader file in to acceptable formats which can be programmed inside the electronic module through RS-232 interface.
6. The programmer for uploading software as claimed in any of the preceding claims wherein the file generated by the programming station is converted into usable file through a utility on the PC.
7. The programmer for uploading software as claimed in any of the preceding claims wherein a protocol is designed so as to communicate with the target controller by initializing the required ports of the processor. ,TagSPECI:As per Annexure-II

Documents

Application Documents

# Name Date
1 Drawings.pdf 2014-12-23
1 specification.pdf 2014-12-23
2 FORM3MP.pdf 2014-12-23
2 form5.pdf 2014-12-23
3 FORM3MP.pdf 2014-12-23
3 form5.pdf 2014-12-23
4 Drawings.pdf 2014-12-23
4 specification.pdf 2014-12-23