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: not generating code for CAN4 mailboxes > 32 in HALCoGen 04.07.01

Part Number: HALCOGEN

We ran into an issue that HALCoGen is not generating code for the message boxes > 32 for CAN4. This occurs in HALCoGen 04.07.01 for the TMS570LC4357ZWT.

In our setup we have enabled all 64 message boxes on CAN4. After investigation, we have found out, that the code for the message boxes above 32 is not generated even though HALCoGen shows them as enabled. This results in the HAL driver not receiving anything on those message boxes silently. We have been able to enable those message boxes by setting manually "CAN_4_MESSAGE_i_BOOL_ENA" (with i being the message box number) in the dil file.

If necessary, we can provide a HALCoGen configuration that shows this issue, but this should be easily reproduceable with a standard HALCoGen configuration.

After more investigation, we have found this forum post:
It seems to be the case, that this issue still persists. I was not able to find an issue in the TI bugtracker for this, but checking the files that we have in our HALCoGen installation on disk (CAN4v000.xml:144) shows that the mentioned function still only goes to 32.

Could you please confirm that this issue still persists (in order to make sure that we did not miss anything in our setup)? If yes, I am a bit confused that this does not seem to be mentioned as a known issue in the release notes of HALCoGen. As far as we see the only measures that can be taken are modifying the contents of HALCoGen on disk as described in the linked thread or manually editiong the dil file. Is this correct? Can you propose a self-check that could be implemented in order to quickly verify that the CAN message boxes have been configured correctly?

Thank you very much!
Best regards,