Tool/software: TI-RTOS
Hello all,
Does anyone has experience of using the TI-RTOS in a code independent application?
Target is MSP430F5438A, IDE is IAR MSP430 (version 7.11), TI-RTOS version (tirtos_msp43x_2_20_00_06).
Thanks
Allen
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.
Tool/software: TI-RTOS
Hello all,
Does anyone has experience of using the TI-RTOS in a code independent application?
Target is MSP430F5438A, IDE is IAR MSP430 (version 7.11), TI-RTOS version (tirtos_msp43x_2_20_00_06).
Thanks
Allen
I'm not sure I understand your question. But, we do not support partial links or position independent code in the MSP430 SYS/BIOS kernel. The kernel is a set of C functions that is provided as a library. Code is linked againt the kernel (like any other set of C functions) by the linker.
Thanks Karl,
Do you mean we can not use the TI-RTOS library in a position independence IAR project?
Thanks
Allen
Todd, Just want to confirm that the TI-RTOS does not support the position independent project?
Thanks
Allen
Allen --
SYS/BIOS MSP430 does not support position independent code.
-Karl-
Thanks Karl,
We have a similar discussion in the thread below.
It is a pity that the TI-RTOS does not support the code independence feature.
We are developing our product using the MSP430F5438A and TI-RTOS, for the FW update feature, we would prefer to build a position independent code.
The upload the image to the flash where stores the new image, then just jump to the new image if the upload verified OK.
If the TI-RTOS does not support the feature, the other option is to copy the new image to the area where the original app exists, which I already implemented and tested.
However, it is clear, the option 1 is a better solution.
Is there any plan to support the feature for the TI-RTOS in the future?
Allen
Hello Karl,
As you mentioned in you former reply: "I'm not sure I understand your question. But, we do not support partial links or position independent code in the MSP430 SYS/BIOS kernel. The kernel is a set of C functions that is provided as a library. Code is linked againt the kernel (like any other set of C functions) by the linker."
what is the problem with building the kernel a position independent piece of code as any other “set of C functions” ?
Thanks
Allen
The issue is that the kernel may call into RTS functions that need to be locked down also. Theoretically this might be possible, but TI does not support it due to the effort to document, validate, maintain, etc.
Todd
Hi Todd,
Thanks for the reply and please let me know if TI-RTOS has the plan to have the PIC feature in the future.
Allen
**Attention** This is a public forum