Please use this identifier to cite or link to this item: https://hdl.handle.net/10356/16945
Title: Code generator for H8S-2377
Authors: Gorthi Prashant Bhanu.
Keywords: DRNTU::Engineering::Computer science and engineering::Hardware
Issue Date: 2009
Abstract: 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.
URI: http://hdl.handle.net/10356/16945
Rights: Nanyang Technological University
Fulltext Permission: restricted
Fulltext Availability: With Fulltext
Appears in Collections:SCSE Student Reports (FYP/IA/PA/PI)

Files in This Item:
File Description SizeFormat 
GorthiPrashantBhanu09.pdf
  Restricted Access
3.12 MBAdobe PDFView/Open

Page view(s)

277
checked on Sep 28, 2020

Download(s)

4
checked on Sep 28, 2020

Google ScholarTM

Check

Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.