Advanced Embedded Microcontroller Seminar Home Page
Day 1--introduction and overview of microcontrollers
Day 2--SH-1 specifics
Day 3--developing code
Hands on Portion
- PWM demo code. This code will drive the SH1WH-MD1
at a PWM base frequency of 20 KHz. It sets channels 0-3 to identical values,
but you can easily pick out which channel does what from the code.
Hitachi SH-1 User's Manual
Seminar Hands-On Portion Code and Development Tools
Suggestded install procedure
DOS-to-SH1 cross compiler and complete source examples. (7.5 MB zipped
) Complete gcc/binutils for DOS, see setenv.bat for
that need to be added to autoexec.bat. sh1wh
directory has a templdos directory
with DOS templates, plus code examples for RTC, FLASH, FPGA, and monitor code
(some code examples will require a makefile transplant to make them compile
under DOS, as they were written in the linux environment).
Java-based terminal interaction program (153K zipped); provides binary upload protocol
support. Requires JDK1.1.6 or better, plus
java.comm extensions. JDK can be retrieved from the
Sun Java website; will require about 30-40 megs to install.
java.comm (263K zipped)
of the proper version (1.1 beta, I believe) for the JTerm software.
Once you have unzipped the file, read the PlatformSpecific.html
file and follow the install instructions!
Sample items that need to be added to your
autoexec.bat to make the comm software and dev
Obtain gcc and binutils sources from prep.ai.mit.edu, and configure for
cross-compile to sh-coff; for more detailed directions and a gzip'd tarfile of my source tree, contact me.
Linux-based serial-port uploader source code by
Matt DeBergalis. Use in conjunction with a standard linux
serial communications package (like minicom); you can fire up both the
uploader and the comm package simultaneously for convenience. Ignore any
warnings about locks on the serial port.
FPGA Libraries for
Xilinx Foundation series of design tools.
Note: All schematics are copyright (c) Andrew Huang 1999 and
are provided for reference only. The availability of these schematics does
not imply any license for implementation.
The SH1WH Microcontroller Hardware
Description of SH1WH microcontroller and
This page has been accessed at least
times since the counter was last reset,
or January 22, 1999
whichever is more recent.