Code generator for H8S-2377
The widespread use of micro-controllers in the fields of education and application development have led to the need for a generic initialization code generator tool to aid tertiary students as well as developers. With this aim a generic description methodology for MCUs was developed by researchers a...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Final Year Project |
Language: | English |
Published: |
2009
|
Subjects: | |
Online Access: | http://hdl.handle.net/10356/16945 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Nanyang Technological University |
Language: | English |
id |
sg-ntu-dr.10356-16945 |
---|---|
record_format |
dspace |
spelling |
sg-ntu-dr.10356-169452023-03-03T21:00:05Z Code generator for H8S-2377 Gorthi Prashant Bhanu. Chng Eng Siong School of Computer Engineering DRNTU::Engineering::Computer science and engineering::Hardware The widespread use of micro-controllers in the fields of education and application development have led to the need for a generic initialization code generator tool to aid tertiary students as well as developers. With this aim a generic description methodology for MCUs was developed by researchers at NTU’s Computer Engineering lab. The description methodology bundled with a java based MCU Initialization Code Generator software was put to test using data from the H8S-2377 MCU. The report begins by stating the purpose and scope of the project followed by a literary review of research in the area of microcontroller initialization code generation. In the subsequent chapters a thorough analysis of the structural aspects of an MCU, the various features of MCU peripherals and initialization sequences is conducted so as to evaluate the completeness of the XML based MCU description methodology. To this effect the dependency problem was identified whereby the setting for certain registers in an MCU is a mathematical function of other register settings. This feature of an MCU register, referred to as a dependency, is not supported by the current description methodology. As a result, the user has to manually calculate the function to initialize the dependent register. A solution to the dependency problem is presented in this report by allowing users to enter the mathematical function in the MCU description, parsing the function in the Code Generator software to evaluate the dependency and subsequently assigning the calculated value to the dependent register in the initialization sequence. The report also presents a reverse engineering feature to the MCU Initialization Code Generator software which allows users to input previously saved initialization sequences and observe the corresponding register settings through the GUI. The report concludes by summarizing the contributions of the project and laying out the future work in the project. Bachelor of Engineering (Computer Engineering) 2009-05-29T02:22:56Z 2009-05-29T02:22:56Z 2009 2009 Final Year Project (FYP) http://hdl.handle.net/10356/16945 en Nanyang Technological University 53 p. application/pdf |
institution |
Nanyang Technological University |
building |
NTU Library |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
NTU Library |
collection |
DR-NTU |
language |
English |
topic |
DRNTU::Engineering::Computer science and engineering::Hardware |
spellingShingle |
DRNTU::Engineering::Computer science and engineering::Hardware Gorthi Prashant Bhanu. Code generator for H8S-2377 |
description |
The widespread use of micro-controllers in the fields of education and application development have led to the need for a generic initialization code generator tool to aid tertiary students as well as developers. With this aim a generic description methodology for MCUs was developed by researchers at NTU’s Computer Engineering lab. The description methodology bundled with a java based MCU Initialization Code Generator software was put to test using data from the H8S-2377 MCU.
The report begins by stating the purpose and scope of the project followed by a literary review of research in the area of microcontroller initialization code generation. In the subsequent chapters a thorough analysis of the structural aspects of an MCU, the various features of MCU peripherals and initialization sequences is conducted so as to evaluate the completeness of the XML based MCU description methodology. To this effect the dependency problem was identified whereby the setting for certain registers in an MCU is a mathematical function of other register settings. This feature of an MCU register, referred to as a dependency, is not supported by the current description methodology. As a result, the user has to manually calculate the function to initialize the dependent register. A solution to the dependency problem is presented in this report by allowing users to enter the mathematical function in the MCU description, parsing the function in the Code Generator software to evaluate the dependency and subsequently assigning the calculated value to the dependent register in the initialization sequence.
The report also presents a reverse engineering feature to the MCU Initialization Code Generator software which allows users to input previously saved initialization sequences and observe the corresponding register settings through the GUI. The report concludes by summarizing the contributions of the project and laying out the future work in the project. |
author2 |
Chng Eng Siong |
author_facet |
Chng Eng Siong Gorthi Prashant Bhanu. |
format |
Final Year Project |
author |
Gorthi Prashant Bhanu. |
author_sort |
Gorthi Prashant Bhanu. |
title |
Code generator for H8S-2377 |
title_short |
Code generator for H8S-2377 |
title_full |
Code generator for H8S-2377 |
title_fullStr |
Code generator for H8S-2377 |
title_full_unstemmed |
Code generator for H8S-2377 |
title_sort |
code generator for h8s-2377 |
publishDate |
2009 |
url |
http://hdl.handle.net/10356/16945 |
_version_ |
1759853522421022720 |