Hi,
I am using stellaris LM4F232 evaluation kit, could u please guide me to port linux /RTlinux into the same .
Regards,
Tamil Vanan K
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.
> could u please guide me to port linux
That is a big ask! People write books on this stuff, and it will take months if you have not done it before. Besides which, unless the LM4F232 has grown an MMU, you can't port Linux to it.
There are plenty of RTOS examples for Stellaris chips - including FreeRTOS examples that can be found here: http://www.freertos.org/a00090.html#TI although these examples are very old and don't include many of the newer FreeRTOS features.
I did a very minor fixup for the FreeRTOS port for the LM3S811 -- latest version. It seems to work fine. Linux on the LM4F232 board might be a touch more of a challenge though.
So when do we get a LM4F232 kit with Ethernet and a MMU? Just askin'
thank you for your reply , i am using stellaris LM4F232H5QD evaluation board .will it support sysbios? ,if so, please guide me on this
regards,
tamil
Tamil:
Just download the software from here:
http://www.ti.com/tool/sysbios
This assume CCS V5.2 -- latest upgraded. The SysBIOS does not appear to work with the latest Compiler -- v5.01 -- so use version 4.96 or lower -- which I have verified does work -- assuming you have done upgrades and have multiple compilers installed.
When you look at Properties --> Build if you choose the General tab you can set the compiler. (Right Click on project in LH window.)
Then when you start a new project you can look at the bottom of the screen and it offers templates -- some of which are sysbios. I suggest you start with the smallest example (called minimal). When you get ti to compile go on to look at the generic examples.
Once you generate the base program, you will see a programname.cfg file. Double Click on the x.cfg file and view the screen -- explore a little bit -- touch nothing -- see if it compiles.
The System Overview tab will show you a graphical representation of what you are about to compile.
Over the next few days I will try to move the FreeRTOS demo in Stellarisware for the LM3S811 -- if I am successful I will start a new thread. I am currently compiling it under Cygwin. You can look for my earliest post for the small note I made about FreeRTOS -- it was a simple fix to compile it under Cygwin with the new display unit. Since then I have done a couple of very minor things with it.
Keep in mind that the SysBIOS appears to be from the DSP side -- they have lots of flash and lots of RAM -- your board should work -- mine is troublesome.
Good Luck!
> Over the next few days I will try to move the FreeRTOS demo in Stellarisware for the LM3S811
Note that the demos in the Stellarisware are, as far as I can tell, based on a realllllllllllly old version of FreeRTOS. You should be able to drop in the latest FreeRTOS files (V7.2.0 at the time of writing) over the existing ones in the FreeRTOS/Source directory, but, depending on the base version, you may need to install the SVC handler (older versions of FreeRTOS didn't use it, later versions use SVC to start the scheduler only).
FreeRTOS:
Sorry if that was not clear. See my original post.
http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/p/64163/729227.aspx#729227
I am using the latest FreeRTOS as posted on your web site. I also used the latest Stellarisware and Display drivers for the RTI Blue Display (With no mirrored text even! It shows correctly on the display!) This was all done under the eab tool chain as suggested by your site -- and compiled with Cygwin so the scripts for cleanup work correctly. It did also compile correctly under Eclipse -- same tool chain I use for the Make COntroller. I also compiled it under IAR Kickstart latest version successfully It works fine.
My effort now will be to see if it can be compiled under the CCS V5.2. Hopefully V5.01 of the Compiler will work as well. In other words I want to move it into the TI tool chain -- unless you are offering. :-) -- then all my projects will be in one place and I can add the examples as tasks -- then I can do a "real" project. ;-)
Cheers!
Excellent. I would encourage you to post your efforts to the FreeRTOS Interactive forum: http://interactive.freertos.org/forums/135229-texas-instruments
Hi Richard,
as the thread-starter wrote he owns a LM4F232 board (like me) which has a Cortex M4 core.
I am a little bit confused because you mainly speak about the LM3S811.
My own attempts to use the free toolchain from code sourcery with this LM4F232 mcu failed due to the fact that CodeSourcery has hot populated the free toolchain yet which works like their non-free competitors. So my attempts to use gcc wit LM4F232 failed and TI staff gave me the hint to use ccs in the meantime.
So now, ist his information no longer valid and gcc works in common with FreeRTOS on this device?
Thanks in advance
Jens
> I am a little bit confused because you mainly speak about the LM3S811.
I'm a little confused as to why you think that. It's been a long time since I used an 811. Most Stellaris FreeRTOS stuff was done on the Ethernet parts listed on this page: http://www.freertos.org/portlm3sx965.html - but even that is very old so things like the display drivers etc, are out of date. FreeRTOS has moved on a long way since then.
> My own attempts to use the free toolchain from code sourcery with this
> LM4F232 mcu failed due to the fact that CodeSourcery has hot populated
> the free toolchain yet which works like their non-free competitors.
I'm not sure what you mean by "hot populated", but in any case, CodeSourcery stopped being the official ARM GCC maintainers some time ago. ARM do this themselves now, and distribute the code through Linaro. I have successfully used GCC on Cortex-M4F parts. http://www.freertos.org/Infineon-XMC45xx-Cortex-M4_GCC_Atollic.html for example, and have never experienced any issues do such.
It should be noted that there are two FreeRTOS ports for Cortex-M4 devices. If the device does not have an FPU, or the FPU is simply left switched off, then the FreeRTOS Cortex-M3 port layer should be used. If the device has an FPU that is used, then the FreeRTOS Cortex-M4F port layer should be used.
Richard:
He just needs a confession that I am guilty of mis-directing the conversation. I confess. Guilty as charged!
That aside -- I did look at your links and all that stuff is the older versions of the compiler or the RTOS. In any case I do have it running on the LM3S811 (Guilty again ... :-) ... But that gives me some confidence I could get it working on the LM4F232. So as soon as I get my board...
...and I was just told this morning that I have the money to go ahead and buy what my little heart desires... So I will check the account and move ahead on this. (maybe even before I see the Launchpad! )
I really do want to see a FreeRTOS 7.x under CCSV5 -- since with the particular board installed I do not face Code size limits -- and that is all I really need. My stuff is strictly low volume so I will be content to buy the Eval kits even for final product -- the cost is not significant.
Hopefully within a week or so I will have the additional eval boards for the various development pieces.
These might help you, but they are not official code so support is limited:
http://interactive.freertos.org/entries/21568321-lm3sxxxx-using-ccs
http://interactive.freertos.org/entries/20916957-ek-lm3s8962-for-ccs5-and-freertos7
Hi,
Finally i have successfully ported FreeRTOS in stellaris LM4F232H5QD Evaluation Board.Please find the link to port FreeRTOS on ccs4.1 0r later.
http://www.freertos.org/Interactive_Frames/Open_Frames.html?http://interactive.freertos.org/entries/21487597-ek-lm4f232-for-ccs4-and-freertos-7-1-1
Regards,
Tamil