help on CW4.6 complie error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

help on CW4.6 complie error

1,801件の閲覧回数
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 返答(返信)

486件の閲覧回数
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 件の賞賛
返信

486件の閲覧回数
CrasyCat
Specialist III
Hello
 
Open the file postload.cmd located in your project cmd directory and remove the command
    BS main
 
CrasyCat
0 件の賞賛
返信

486件の閲覧回数
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 件の賞賛
返信