Other Parts Discussed in Thread: C2000WARE
Hi,
I need TI RTOS implement on TMS320F28055 chip.
is there any example available?
-Regards-
sudip
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.
Hi,
I need TI RTOS implement on TMS320F28055 chip.
is there any example available?
-Regards-
sudip
There are examples for the TI-RTOS kernel (SYS/BIOS) for the F28055. Make sure you've installed SYS/BIOS and not TI-RTOS (F28055 is not supported by TI-RTOS).
There are steps for importing examples here: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/982389/faq-where-do-i-find-sys-bios-or-ti-rtos-examples-for-my-c2000-device/3629359#3629359
Whitney
Hi Whitney,
Thanks for your reply. I will go through the document you provided.
Best regards-
sudip
Hi Whitney,
I gone through all sys/bios example. i have two queries
1. when i was trying to debug code, no halting on the break. i am not also able to debug line by line.
2. I need example sys/bios + digital input-output. when i was going to integrate inside the sys/bios example with digital IO, found lots of issues.
Actually In my application I need RTOS+ two serial port+ I2C+ some LEDS.
help me please.
Best regards-
sudip
Hi Whitney,
I gone through all sys/bios example. i have two queries
1. when i was trying to debug code, no halting on the break. i am not also able to debug line by line.
2. I need example sys/bios + digital input-output. when i was going to integrate inside the sys/bios example with digital IO, found lots of issues.
Actually In my application I need RTOS+ two serial port+ I2C+ some LEDS.
help me please.
Best regards-
sudip
1. See this post here about how to potentially free up more breakpoints.
2. We don't have any examples that demonstrate this, but it should be possible. Have you looked at this FAQ on how to take C2000Ware code and examples and combine them with a SYS/BIOS project?
Whitney
Hi Whitney,
Thanks for your reply. I will do that as you provided.
Can you please provide some link, docs thread etc. where demonstrate the procedure , how to convert RAM program into Flash or how to write a section config in details from scratch?
Best Regards-
sudip
I think this one is a good general resource on linker basics: https://software-dl.ti.com/ccs/esd/documents/c2000_c28x-compiler-understanding-linking.html
You'll also see on that page a link to a document called "Running an Application from Internal Flash Memory" which talks more specifically about Flash.
Whitney
Hi Whitney,
I tried importing with minimal example . when i add #include "device.h". the error i got.

Best regards-
sudip
That's usually a sign that you're missing the path to "device.h" in your #include search path. Check the search path in your project properties and see if device.h is found along any of those paths or if you need to add a new path.
Whitney
Hi Whitney,
Path issue solved. I think it is not "device.h" it should be "F28055_device.h" right?
now i am facing issue as below. i am not able to see code. instead assembly code debug move row color bar. is it normal, or i am missing something.

-Best Regards-
Sudip
Yes, you're right. Sorry, I overlooked which device you were using.
This issue shows up after you've loaded the code? If you reset and restart the device in CCS, does it go to main() or just it just end up back in this same place?
That code in the disassembly window is in the boot ROM, so it seems like you may be getting a reset. In the Boot module in your BIOS cfg file, can you make sure the setting to disable the watchdog is checked and see if that helps?
Whitney