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.

TMS570LC4357: Halcogen - Dynamic CAN messagebox configuration

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

...or Message buffer, as I've generally known them...

Halcogen is really quite static as far as configurations go, none more so than having to manually specify each of the CAN mailbox settings via the GUI, rather than programmatically at run-time.

Before I go ahead and write my own interface to configure mailboxes, can some one let me know if this is a bad idea for a safety-critical application?

I have plenty of experience of CAN, but not in a safety-critical context, and I'm wondering if the static method is the way things are, and that's what I should just work with.

Thanks,

Paul.

  • Hi Paul,

    Before I go ahead and write my own interface to configure mailboxes, can some one let me know if this is a bad idea for a safety-critical application?

    This HALCoGen configuration method is not for safety-critical application.

    Actually, HALCoGen will provide only the initial configuration, but if necessary, the application can change the configuration. To change this configuration, the application can use either driver API's or can write their own API's.

    For example, if application want to change the ID of any message box, then the application can call the "canUpdateID" as shown below:

    If we change the ID at run time means, then this is kind of dynamic configuration only right. If you want to change any other modifications for your message box, then you can write an API similar to this and can do the modifications in run time.

    --
    Thanks & regards,
    Jagadish.

  • Thanks Jagadish,

    Yes found the ID change but not one for DLC change. And it looks like I'd need to enable the MessageBoxes in HalCoGen first too as it stands.

    So I'll go ahead and add the extra interfaces.

    Thanks

  • And it looks like I'd need to enable the MessageBoxes in HalCoGen first too as it stands.

    Yes paul.

    So I'll go ahead and add the extra interfaces.

    Sure.