help on CW4.6 complie error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

help on CW4.6 complie error

1,839 次查看
dynogreen
Contributor I
Hi All,

I have a board with 9S12C and have a return error message after Hiwave loading like below;

Postload command file correctly executed.
           ^
Error: unknown identifier
           ^
Error: expression expected (use BS ? to query syntax)
Stop at Function: No function with the name "main" was found.

in>

Please help. Many thanks.

标签 (1)
0 项奖励
回复
3 回复数

524 次查看
dynogreen
Contributor I
Thanks for the information.
My problem is really on using a existing .abs file to flash the board via the Hiwave.exe and the .abs file is without the debug information, I guess. Can we fix it? Thanks.
0 项奖励
回复

524 次查看
CrasyCat
Specialist III
Hello
 
Open the file postload.cmd located in your project cmd directory and remove the command
    BS main
 
CrasyCat
0 项奖励
回复

524 次查看
CrasyCat
Specialist III
Hello
 
Looking at the message you are displaying I assume that you are building your application without debug information.
Please search for FAQ-27442 on wwww.freescale.com for information on how to make sure you generate debug information for your project.
 
CrasyCat
0 项奖励
回复