This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Errors occur by changing halcogen settings

Other Parts Discussed in Thread: HALCOGEN

Hello guys,

one short question. i have made a project called "test" in ccs and then i made a project called "test" in halcogen aswell. i made my settings there to use the sci communication and the settings were 9600 baud, 8 data bits, no parity, 2 stop bits.
i made the proper linking of the project (right click on project -> properties -> Build/ARM Compiler/include options and i included the right folder).
Everything was working normally and fine.

Then i recgonized that i need to make some changes in the setting (i had to make 115200 baudrate, 8 data bit, no parity, and 1 stop bit (!!) ).  i made it like this:

inside my ccs project is a Halcogen file called "Test.hcg". i opened this, made my changes in the sci3 register as above mentioned and i clicked on generate code again.
Then i closed halcogen and went to ccs again. i clicked on "Project-> Build Project" and suddenly i got over 15 errors. like "sciREG3 is undefined" or "sciBASE_t is undefined" etc. So i dont know what i did wrong and how the project is working again.

thanks for every help!

regards ,
Markus

  • Did you edit the "Test.hcg" file directly? You should use the graphical interface to make changes to the HALCoGen project. As long as you limit code edits in the ".c" and ".h" files generated by HALCoGen to the "User Code" sections, your changes will be maintained.
  • Yes i went in ccs in my project directly with double click on "Test.hcg" and edit this file in Halcogen.
    But i got the mistake. i didnt have the include files in the "user code" section and so halcogen must have deleted it.
    Adding them again made away the errors.
    (Sorry for the stupidity by this and thx for giving me a hint where to check)

    best regards,
    Markus Auer