help on CW4.6 complie error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

help on CW4.6 complie error

1,841 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

526 Views
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 Kudos
Reply

526 Views
CrasyCat
Specialist III
Hello
 
Open the file postload.cmd located in your project cmd directory and remove the command
    BS main
 
CrasyCat
0 Kudos
Reply

526 Views
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 Kudos
Reply