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

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

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

Jump to solution
1,294 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
1,145 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
1,145 Views
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 Kudos
Reply
1,145 Views
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 Kudos
Reply
1,146 Views
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 Kudos
Reply