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.

Halcogen bugs

Other Parts Discussed in Thread: HALCOGEN

Hi, I am developing for the RM48l950PGE and looking at the self tests. I have found a couple of issues here. We primarily use version 3.8.01, but I updated to 4.0.0 and found the same issues.

When I enable Flash ECC Check, it adds a call to  _coreEnableFlashEcc_() in sys_startup.c, but when I remove the check from the check box and regenerate, the function does not go away.

When I check EMAC SP RAM under Memory Built In Self test Enable, it causes a syntax error from a misconstructed block comment.

Can anyone tell me if these are being fixed?

Thanks,

Westin

  • Hi Westin,

    There is also a "Flash" tab in HALCoGen which includes another option to enable "Flash ECC". The "Enable Flash ECC Check" under the "SAFETY INIT" tab only enables a self-test of the ECC logic when accessing the main flash memory. If you want to disable flash ECC completely, uncheck the "Flash ECC Enable" box on the FLASH tab.

    I confirmed your observation on the misconstructed comment block. I will submit this for correction in the next update.

    Regards, Sunil

  • I see now that enabling the test for Flash ECC sets the Flash ECC Enable checkbox, but does not uncheck it when you remove the ECC tests. I have another issue we have found. If you change Counter Freq (MHZ) under RTI1 Counter 0 then generate the code and close halcogen, if you open halcogen and go back to that RTI1 Counter 0 tab, the Counter Freq text box changes back to the default of 10.000. The effect of this is that if you open that tab and then build, it will change the frequency without you knowing about it.

    Thanks,

    Westin

  • Hi Westin,

    - If you have made a Change in any of TABS in HALCoGen, unless you Generate code, or explicitly select Save project, it deos not retain the value.

    In your case if I understand correct, You changed the Freq ( say 5 MHZ), Hit generate code, closed HALCoGen, Opened again the same Project, You now see default Freq ( 10 MHZ) ? This is not possble because you hit generate code, we save project by default before Generating the code.

    If you done changes but not hit Generate code, but closed HALCoGen and opened again, you may see the previous value if configured and saved else the default value.

  • In response to your second paragraph, you are understanding what I am doing, but it is happening. I have attached two .dil files to show this. To make these, I created a new halcogen project (v4.0.0), changed the rti frequency, built code, closed halcogen, opened halcogen by double clicking on my .hcg file, opened the rti1 counter 0 tab, changed nothing, and generated code. I have a copy of the .dil file both before I opened up halcogen the second time and after I generated code the second time with no changes in halcogen.

    2627.after.txt

    6254.before.txt

    Thanks,

    Westin

  • Westin,

    I think the issue is HALCoGen does not like .5, try giving 0.5.

    I will inform this to the developer.

  • I think you are correct.

    Thanks for the help.