CHAPTER 1 Intro to MotoHawk About MotoHawk ECU55580 Developers Kit ECU555128 Developers Kit System Requirements MATLAB Installation Procedure Green Hills Software Obtaining A License For Your MotoHawk Compiler MotoHawk Installation Procedure Creating an application in MATLAB Building Your Application Assembling Your Kit Starting MotoTune Checking MotoServer Programming the Module The Program ECU status pop up appears Creating A Display Checking Operation First Application Ge......
CHAPTER 1 : Intro to MotoHawk
About MotoHawk
ECU555-80 Developer’s Kit
ECU555-128 Developer’s Kit
System Requirements
MATLAB™ Installation Procedure
Green Hills Software
Obtaining A License For Your MotoHawk Compiler
MotoHawk™ Installation Procedure
Creating an application in MATLAB™
Building Your Application
Assembling Your Kit
Starting MotoTune
Checking MotoServer
Programming the Module
The Program ECU status pop up appears
Creating A Display
Checking Operation
First Application
Generating Embedded Code
Introducing a Gain Stage
MotoHawk Data Storage Blocks
MotoTune Options
Calibration and Probing Blocks
Gathering data
Throttle Control Challenge
Pin Number & Signal Name
Fault Detection on Throttle Pedal
1
2
3
4
4
5
5
6
7
8
9
9
9
9
10
10
11
11
11
15
16
17
18
18
22
22
24
Page 1
“...the difficult part of conjuring up the magic to control your engine or vehicle
is still complex. MotoHawk just makes it simpler to implement the magic.”
About MotoHawk
MotoHawk makes it possible to run a Simulink model on a MotoTron module.
MotoHawk allows you to access the Inputs and Outputs of the modules, schedule when to
execute tasks, manipulate the memory usage of the module, create a calibration interface,
and most importantly, allows a single step build of the entire application.
MotoHawk extends Simulink and Real-Time Workshop Embedded Coder to generate code
necessary to interface with the resources of the modules and control their behavior.
The goal of MotoHawk is to let the user concentrate on solving the control problem
rather than solving the programming problem.
Programming an embedded module is
notoriously difficult both in terms of coding as well as actually transporting the application into
the module during reprogramming. MotoHawk addresses all of this to make the stuff that should
be easy actually easy. Unfortunately, the difficult part of conjuring up the magic to control your
engine or vehicle is still complex. MotoHawk just makes it simpler to implement the magic.
MotoHawk Chapter 1 : Intro to MotoHawk : version 1.2
ECU555-80 Developer’s Kit
P/N: ASM-HAWK-004C-D0 & ASM-HAWK-004D-D0
1. ECU555-80 Development Module
2. ECU555-80 MotoHawk™ Harness
w/Main Power Relay and fuse
3. Power Switch Asm. w/SmartCraft™ Connector
4. SmartCraft™ to dual DB-9 Adapter (GMLAN)
5. SmartCraft™ to dual J1939 Adapter
6. USB to dual CAN Adapter
7. 6 port SmartCraft™ hub (2)
8. Optically isolated 4 port USB hub
9. Green Hills Software MULTI2000 compiler
(except P/N: ASM-HAWK-004D-D0)
10. MotoTune™ Software
11. Security Dongle
12. Boot Key
13. MotoHawk™ Blockset for Simulink™
14. 10’ SmartCraft™cable w/terminating resistors
15. SmartCraft™ terminating connector
16. MotoHawk™ Manual (this book)
17. 10’ Smartcraft Cable
6
2
9
7
17
8
11
4
5
14
10
&
13
MotoHawk Chapter 1 : Intro to MotoHawk: version 1.2
7
15
12
3
1
Page 2
ECU555-128 Developer’s Kit
P/N: ASM-HAWK-005C-D0 & ASM-HAWK-005D-D0
1. ECU555-128 Development Module
2. ECU555-128 MotoHawk™ Harness
w/Main Power Relay and fuse
3. Power Switch Asm. w/SmartCraft™ Connector
4. SmartCraft™ to dual DB-9 Adapter (GMLAM)
5. SmartCraft™ to dual J1939 Adapter
6. USB to dual CAN Adapter
7. 6 port SmartCraft™ hub (2)
8. Optically isolated 4 port USB hub
9. Green Hills Software MULTI2000™ compiler
(except P/N: ASM-HAWK-005D-D0)
10. MotoTune™ Software
11. Security Dongle
12. Boot Key
13. MotoHawk™ Blockset for Simulink™
14. 10’ SmartCraft™ cable w/terminating resistors
15. SmartCraft™ terminating connector
16. MotoHawk™ Manual (this book)
17. 10’ Smartcraft Cable
6
2
9
7
17
8
11
5
4
14
10
&
13
7
12
15
3
1
Page 3
MotoHawk Chapter 1 : Intro to MotoHawk: version 1.2
System Requirements
1. Windows XP (any SP,) Windows 2000 (SP3 or SP4)
Windows NT (SP5 or SP6a)
2. Pentium III or IV, Xeon, Pentium M, AMD Athlon,
Athlon XP, Athlon MP
3. 345 MB disk space
4. 512 MB RAM (1 GB or more recommended)
5. 16, 24, or 32 bit OpenGL capable graphics adapter
(strongly recommended)
6. Microsoft Windows supported graphics accelerator card,
printer, and sound card
7. 1400x1050 display (min)
(1600x1200 strongly recommended)
MATLAB™
Installation Procedure
Insert CD in drive. If the installer does not start automatically,
click Start/Run and double click on Autorun.exe.
Follow the instructions on the screen.
Note: If you have a network license for your installation you will need to
obtain a demo license from The Mathworks before arriving for training.
Install all of the following:
MATLAB
Simulink
Real Time Workshop
Realtime Workshop Embedded Coder
It is strongly recommended that you also install:
Stateflow
Stateflow Coder
MotoHawk Chapter 1 : Intro to MotoHawk: version 1.2
Page 4
Green Hills Software
Insert CD in drive. Click Start/Run and double click Setup.exe.
Follow on-screen instructions.
Obtaining A License For
Your MotoHawk Compiler
Once you have completed installation of the compiler on
the unit that you will be using to develop your application,
you must generate a request for a license.
Select Programs/MULTI200/PowerPC v3.6/
Licensing/License Request Generator.
Select OK at the following screen.
Each MotoHawk SDK includes one node locked license.
Contact your sales representative if more are desired.
Indicate which type of computer you have installed
the compiler on and select Next.
Initially, you will want to request an evaluation license — this will get you
up-and-running quickly.
Select Next.
The next message window contains the License Agreement.
Read it, then select Yes to continue.
You must accept License Agreement in order to use the compiler.
The next window contains the license request.
Print or Save To File, then Send it.
(An evaluation license will be sent to the e-mail address indicated
in the Customer Information window, usually the same day.)
Follow the instructions that accompany the license file.
A hard copy of the License Agreement was included with your
SDK.
FAX a signed copy to (805)965-6343, Attn: Mickey Neal.
A permanent license will be e-mailed to the address
indicated in the Customer Information window
(usually the next business day.)
MotoHawk Chapter 1 : Intro to MotoHawk: version 1.2
用的是外部低速振荡器32.768KHZ手册写低功耗运行*于32kHz功耗5.4微安软件怎么进入低功耗运行(Low-power run)模式?5.6.1 Entering Low power run modeThis mode is entered by executing the following software sequence:1. Jump to RAM(什么意思?)2. Switch
评论