MKE06Z RTOS ??

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MKE06Z RTOS ??

1,447 Views
gangliu
Contributor II

您好,感谢您看到我的问题,我是一名大二的学生,我已经潜心学习了两周关于MKE06Z使用操作系统的问题,我首先使用的是UCOSII操作系统,但是由于学习课程内容的限制,我卡在了怎样将UCOSII移植到MKE06的问题上,我使用的方法是先从UCOS官网下载,能找的得到的是MK64的UCOSII例程,然后再通过书籍的讲解来移植到MKE06Z上,但是我一直在失败,问题在于寄存器那里我看不懂。不懂得那些汇编怎么改,不知道从何学起。所以我想希望谁能够给我一份关于MKE06Z的RTOS的程序,能让我开始研究,不论是FREE RTOS还是UCOS还是MQX的实时操作系统,这样我可以有一个学习的平台。谢谢。

Hello, thank you see my problem, I am a sophomore, I have been studying for two weeks on MKE06Z use operating system problem, I am the first to use UCOSII operating system, but because of the limitation of learning content, I'm stuck on the question of how to transplanted UCOSII into MKE06, I use method is first downloaded from UCOS website, can find the got the MK64 UCOSII routines, and then through the interpretation of books to transplant to MKE06Z, but I have been a failure, the problem is that register there I can't understand.I don't know how to make those compilations, I don't know how to learn them.So I want to want to who can give me a program about MKE06Z RTOS, can let I began to study, whether it is a FREE RTOS is UCOS is MQX real-time operating system, so that I can have a learning platform.Thank you.

Tags (1)
7 Replies

1,053 Views
davidsherman
Senior Contributor I

The K64 is a different ARM core, you may have a difficult time porting something intended for a Cortex M4 core to a Cortex M0+.  I am not familiar with ucOSII, so I couldn't say whether a port for an M0+ core is available.  Peripherals on the KE06 are also very different from peripherals on the MK64, so anything making use of the peripherals on a K64 won't work on the KE06.  If you are just wanting to learn the basics of an RTOS, FreeRTOS will target an M0+ core and it's not hard to get running on a KE06.

1,053 Views
gangliu
Contributor II

Hi

Thank you for your reply. I will adjust my study direction to FreeRTOS!

thank you sincerely!

Regards

 

Gang

1,053 Views
vigneshbalaji
Senior Contributor I

Hi Gang Liu,

                   Are you planning to learn FreeRTOS in a kinetis M0+ port? If so, I am also interested in it.

0 Kudos

1,053 Views
mjbcswitzerland
Specialist V

Hi

I have attached a FRDM-KE06Z binary that runs a dual-operating system (uTasker and FreeRTOS) - it is referenced here: http://www.utasker.com/kinetis/FRDM-KE06Z.html#FreeRTOS
The uTasker project includes integrated FreeRTOS support for Cortex-M4 and Cortex-M0+ which can operate on all Kinetis parts without any porting.
Some extra details of the technique can be found at http://www.utasker.com/forum/index.php?topic=1947.0

Regards

Mark

1,053 Views
vigneshbalaji
Senior Contributor I

Hi Mark,

              You have shared a Bin File. Can you share the source code of that?

1,053 Views
mjbcswitzerland
Specialist V

Gang

The binary is an object file that can be loaded to the board so that the operation can be seen - it can't be studied as such.

Full source code is in the uTasker project which allows FreeRTOS operation with any Kinetis processor without porting.

Vignesh

I believe that FreeRTOS v9.0.0 has the specific code for MDK5 in its "portable" RVDS directory. Most compilers have their own port due to the fact that there are assembler code/pragmas etc. which are compiler dependent.

Note that the core of these RTOs are identical on Cortex M0+ parts. It is only the framework that changes - if one is interested in the RTOS switching operations it itself it is easier to study it in an ARM simulator than to run it on boards.

The uTasker project integrates FreeRTOS and uTasker OS - for beginners the uTasker is much simpler (but projects using it will usually be smaller and faster than FreeRTOS based ones) and the uTasker simulator allows it to be studied in VisuaStudio - together with the operation of most Kinetis parts that it runs on (including interrupts, DMA, peripherals etc.).

Regards

Mark

0 Kudos

1,053 Views
gangliu
Contributor II

Hi

Thank you for your reply to my question, pointed a way, you really give me to see your reply.

I immediately opened the website and download the. Bin file, then I have been utasker and freertos and other web site looking for a way to how to open the file, or how to study the file, but not always, can I bother you some time to reply me how to use this file or how to begin learning utasker and freertos used on MKE06z?

(note: I use the IDE MDK5)

sincere thank you!

Regards

 

GANG