Codewarrior
使用指南
使用指南
使用指南使用指南
TM
• 利用向导创建一个新工程项目
• 在新项目中加入或删除文件
• 调试
•启动程序
• PRM文件设置
• 如何对IO及寄存器进行操作
• 如何写中断程序
•嵌入式编程注意事项
•Codewarrior 定购信息
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
TM
创建新工程 1
创建新工程
创建新工程
创建新工程
1111、、、、创建新工程
创建新工程
创建新工程
创建新工程
2222、、、、选择选择选择选择HCS12 New Project Wizard
HCS12 New Project Wizard
HCS12 New Project Wizard
HCS12 New Project Wizard
3333、、、、输入工程名
输入工程名
输入工程名
输入工程名
Slide 3
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
4444、、、、选择选择选择选择MCUMCUMCUMCU类型类型类型类型
5555、、、、选择语言类型
选择语言类型
选择语言类型
选择语言类型
创建新工程 2
创建新工程
创建新工程
创建新工程
Slide 4
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
选择是否采用Processor Expert
6666、、、、选择是否采用
Processor Expert
选择是否采用
选择是否采用
Processor Expert
Processor Expert
选择是否使用PCPCPCPC----lint
7777、、、、选择是否使用
lint
选择是否使用
选择是否使用
lintlint
创建新工程 3
创建新工程
创建新工程
创建新工程
如果用如果用如果用如果用Processor Expert
Processor Expert,,,,选择选择选择选择 YesYesYesYes
Processor Expert
Processor Expert
Slide 5
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
8888、、、、选择是否用浮点运算
选择是否用浮点运算
选择是否用浮点运算
选择是否用浮点运算
9999、、、、选择存储器类型
选择存储器类型
选择存储器类型
选择存储器类型
创建新工程 4
创建新工程
创建新工程
创建新工程
Slide 6
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
10101010、、、、选择调试器类型
选择调试器类型
选择调试器类型
选择调试器类型
创建新工程 5
创建新工程
创建新工程
创建新工程
Slide 7
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
编译编译编译编译
调试调试调试调试
是否产生调试信息
是否产生调试信息
是否产生调试信息
是否产生调试信息
源程序文件夹
源程序文件夹
源程序文件夹
源程序文件夹
Start up
Start up文件夹文件夹文件夹文件夹
Start up
Start up
PrmPrmPrmPrm文件夹文件夹文件夹文件夹
MapMapMapMap文件夹文件夹文件夹文件夹
库文件夹
库文件夹
库文件夹库文件夹
代码长度 变量长度
代码长度
变量长度
代码长度代码长度
变量长度变量长度
是否被包含在Target
是否被包含在
Target中中中中
Target
是否被包含在
是否被包含在
Target
列出相关文件
列出相关文件
列出相关文件
列出相关文件
Slide 8
TM
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product
or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.