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.

sys/bios mailbox question

Other Parts Discussed in Thread: SYSBIOS

I need to use mailboxes.

Examples TI have in the wiki (please, see the link below) are not compatible with new sys/bios versions.

There is not much information in the SYS/Bios user guide about mailboxes, and need more detailed information.

First of all I want to know, why we need to write max number of messages during mailbox configuration, and what influence

on the memory size needed does it have.

 

http://processors.wiki.ti.com/index.php/SYS/BIOS_Training_Lab:_Mailbox_App

  • Hi Yevhen,

    Can you please clarify what in that training lab is not compatible with new SYS/BIOS versions?  Is it a project import into a newer CCS issue, or something else?

    There is online documentation for Mailbox that comes with each SYS/BIOS release.  You can find this on your hard drive at a location similar to this: file:///C:/ti/bios_6_34_01_14/docs/cdoc/index.html (substitute your CCS install location and SYS/BIOS version).  Once opened, navigate to ti.sysbios.knl.Mailbox.

    When creating a Mailbox (either statically in the app configuration, or dynamically at runtime), the numMsgs and msgSize parameters are used to allocate a block of memory for holding the specified number of mailbox messages of a specified size.  This allocation is done at creation so that when the Mailbox APIs (like _post and _pend) are used at runtime there is no need for additional memory allocation, no issues if there is not enough memory remaining, and deterministic execution time.  The amount of memory allocated will be determined by the numMsgs and msgSize parameters.  Does this clarify?

    Thanks,
    Scott

  • Scott, 

    thank you for your answer, it is clear enough now.

    The errors and warnings I get during example building are: 

                        RTSC product 'Inter-processor Communication' v1.21.0.07.eng (or compatible) is not currently installed. Please install a product of compatible version, or enable one of the supported versions of this product. 

                        RTSC product 'XDAIS' v6.25.1.08 (or compatible) is not currently installed. Please install a product of compatible version, or enable one of the supported versions of this product. 

                        This project was created using a version of XDCtools that is not currently installed: 3.20.0.34.eng. Please install the XDCtools of this version, or migrate the project to one of the supported versions. 

                       RTSC product 'SYS/BIOS' v6.30.0.21.eng (or equivalent) is not currently installed. A compatible version 6.35.1.29 will be used during build. Please install a product of equivalent version, or enable one of the supported versions of this product. 

                        This project was created using a version of compiler that is not currently installed: 3.3.0.B2 [MSP430]. Another version of the compiler will be used during build: 4.1.5. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties.