how to add an assembly file to a project with MQX3.8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to add an assembly file to a project with MQX3.8

跳至解决方案
1,298 次查看
chasechase
Contributor I

hi eveyone

      i added an assembly file(fir32_emac.s) to a project with MQX3.8, but failed.who can tell me why?

then, i add fir32_emac.s to MQX3.8 BSP and create a project with MQX3.8 to call the fuction in fir32_emac.s file.

There's no error in the course of running the project i have created. The problem is that the result is not correct,
the project will call the fuction "_task_exit_function_internal "  , i dont kown why. 

     My cpu is MCF54418 and the software platform i used is CodeWarrior v7.2. the fir32_emac.s was downloaded from freescale.com.

     thanks a lot! 

Original Attachment has been moved to: fir32_emac.s.zip

标签 (1)
0 项奖励
回复
1 解答
1,149 次查看
trytohelp
NXP Employee
NXP Employee

Hi Chen,

I used your project.

I'm able to build it and download on my TWR-MCF54418 board via Mulilink.

The application is running without problem/error.

It seems the fir32_emac.s function is not working as it should, am I right ?

I need to know where you got the fir function ?

It seems you've downloaded it on our web site.

I don't have background of fir and other DSP lib.

however I found a some info in the web link:

      https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CFDSPLIB&fsrch=1&sr=17

May be I should move the question to another team.

Pascal

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,149 次查看
trytohelp
NXP Employee
NXP Employee

Hi Chen,

Sorry for the delay.

To investigate the problem I need more info regarding the MQX project you're using.

Is it an example one ?

Please can you provide us your project example ?

Regards

Pascal

0 项奖励
回复
1,149 次查看
chasechase
Contributor I

Hi Pascal,

Thanks for your reply.

Recently, i have succeeded in adding an assembly file to a project with MQX3.8 luckily.

So, the next problem is the fir fuction in the fir32_emac.s file doesn't allow for the cpu of coldfir v4.

I want to transplant the fir fuction from the MCF52XX cpu to MCF5441X cpu.

I am just enable to modify some simple errors, the algorithm of fir is beyond understanding for me.

Here is my test project.

Best Regards

0 项奖励
回复
1,150 次查看
trytohelp
NXP Employee
NXP Employee

Hi Chen,

I used your project.

I'm able to build it and download on my TWR-MCF54418 board via Mulilink.

The application is running without problem/error.

It seems the fir32_emac.s function is not working as it should, am I right ?

I need to know where you got the fir function ?

It seems you've downloaded it on our web site.

I don't have background of fir and other DSP lib.

however I found a some info in the web link:

      https://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CFDSPLIB&fsrch=1&sr=17

May be I should move the question to another team.

Pascal

0 项奖励
回复