HCS12, HCS12(X) and freertos

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HCS12, HCS12(X) and freertos

5,096件の閲覧回数
Eric_t
Contributor III

Hi,

 

I am going to start a project with mc9s12dg256 and a project with mc9s12xdt512. Both projects will use freertos.

Processor expert for ticks->non-LDD Tick gives the following error:

"Error in inherited component settings".

I have attached a picture.

 

I have search at freescale forums, but I could not find anything.

 

I will appreciate any help.

 

Thank you

ラベル(1)
0 件の賞賛
返信
11 返答(返信)

4,584件の閲覧回数
Eric_t
Contributor III

Jennie and Erich

Thank you for your responces.

Erich,

I have follow your advice but unfortunatelly the problem remains.

Jennie,

I am using CW 5.1 free trial version and mc9s12dg256 controller.

I have downloaded freertos and Utility components from two links: http://www.steinerberg.com/EmbeddedComponents/FreeRTOS/home.htm and http://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/

I was trying to attach a project, but cannot find the way.

Best regards

0 件の賞賛
返信

4,584件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Eric,

these components are very old and outdated. Please use the latest ones from SourceForge:

http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/

Thanks,

Erich

0 件の賞賛
返信

4,584件の閲覧回数
Eric_t
Contributor III

Hi Erich,

I have downloaded the latest components but the problems remains.

The setting are as you have proposed with the exception of the counter of TickCntr1 which is ECT_Counter instead of TIM_Counter.

TickCntr1_component.jpg

Is it possible for you to attach a simple project for cw 5.1 and freertos?

Thank you

0 件の賞賛
返信

4,584件の閲覧回数
BlackNight
NXP Employee
NXP Employee

As that timer has no reset functionality: disable the reset method in the 'Methods' tab.

Erich

0 件の賞賛
返信

4,584件の閲覧回数
Eric_t
Contributor III

Erich,

Thank you for the attached project.

Unfortunately I cannot open it. CW opens the "FreeRTOS_DG128.mcp" as text file.

I have attached a picture.

cw.jpg

I am trying to attach a project (zip file), but cannot find the way.

Thank you

0 件の賞賛
返信

4,583件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Eric,

I appologize, for another test I had used 'text based project' settings.

Attached the same thing as binary project file.

Erich

4,583件の閲覧回数
Eric_t
Contributor III

Erich,

Thank you for the quick response.

Unfortunately the problem remains.

The attached project gives the same error.

Ticks->non-LDD Tick-> Tick Counter-> "Error in inherited component settings".

I have attached a picture of freertos and a picture of TickCntr component.

freertos.jpg

TickCntr component.jpg

Does the attached project compile for you?

Thank you

0 件の賞賛
返信

4,583件の閲覧回数
Eric_t
Contributor III

Erich,

Sorry it is my mistake.

I have used a different computer that has the outdated component.

I have installed the latest components and it seems that it is OK.

Thank you

0 件の賞賛
返信

4,583件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Attached is a project. I don't have hardware, so not able to verify it on your target.

I hope this helps,

Erich

0 件の賞賛
返信

4,583件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Eric,

I believe you have not configured your timer. Make sure you use a available timer device, with a period:

pastedImage_1.png

The periood needs to match the Tick Rate of the RTOS:

pastedImage_2.png

And make sure you have a SWI selected for the software interrupt:

pastedImage_0.png

I hope this helps,

Erich

0 件の賞賛
返信

4,583件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Eric.

do you use professional version license?

where did you get this FreeRTOS component, please send me the download link and demo project. I will test it on my side,

thanks!

Best Regards,

Jennie

0 件の賞賛
返信