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.

TPSDriverLib calls from user mode

Hello

I'm trying to use the TPSDriverLib running from a FreeRTOS task and having problems.

Right now I'm trying to fix the "TPS_TestErrorPinMonitoring". To set/clear the error pin the driverlib accesses registers for privileged mode. I don't like the idea of having to be in privileged mode for making calls to the TPSDriverLIB. Are you working on a new version where this privileged mode problem will be fixed? Some kind of SWI API for the privileged mode register access. 

The TPSDriverlib source files are "Property of Texas Instruments, Unauthorized reproduction and/or distribution is strictly prohibited. This product is protected under copyright law and trade secret law as an unpublished work." Can I make the nessesary changes myself and share within my organization? 

Best Regards

Henrik

  • Henrik,

    Thanks for using our forum.

    Please can you have a look at the following post? It includes a link to a discussion on how to provide privilege access to a function running in user mode.

    Please let me know if this is helpful.

  • Hi Henrik,

    Yes, it’s allowed for sharing internally.  Only real restriction is the code needs to execute on a TI device.  Modifying the code may make using the CSP more difficult I would guess.

    The current design of the TPS Driver Library calls all diagnostic APIs in privilege mode. We don’t have any plans of changing the design of the TPS Library as of now.

    Best Regards,

    Sharath