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

Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN

I'm using HALCoGen v04.05.02 with the TMS570LC4357, and it appears that my settings for CAN4 mailboxes 33-64 are ignored by the code generation tool. According to the datasheet, all 4 CAN interfaces on the device support 64 mailboxes. 

Is this a bug in HALCoGen? If so, I can work around it. I just want to make sure I'm not missing something, and that the device really does support 64 mailboxes.

Thanks!

  • CAN4 of the TMS570LC4357 really does have 64 mailboxes. I was able to recreate the same problem with HALCoGen. I will report this as a HALCoGen bug.

  • Hi

    I see this issue is addressed as part of HALCoGen Internal build already.  

    This will be part 4.06.00 release, as per plan this version release is due end of Sep. 

    Workaround  until then:

    Go to C:\ti\Hercules\HALCoGen\v04.05.02\drivers\TMS570LC4357ZWT\CAN4v000.xml 

    line number 144.. in function enaMsgBox4(),   please change for loop of 32 to 64