S12NE64 - AN2836

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

S12NE64 - AN2836

跳至解决方案
1,838 次查看
admin
Specialist II

Anyone knows this AN or work with it sometime?

I'm studieng that aplication note.

My problem is that I don't know how to read or write data from the TCP frame.

For example, the embedded web page in the AN2836 has a few leds that can be turned on or off comunicating the microcontroller with the web aplication.

But the c code that do that doesn't be in the AN and I'dont know how tu send a "one" via TCP or read the state of a switch using the code provided by freescale.

Any suggest?

 

Thank you!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,686 次查看
kef
Specialist I
  • But the c code that do that doesn't be in the AN and I'dont know how tu send a "one" via TCP or read the state of a switch using the code provided by freescale.

Do you mean you are unable to find software that comes with this AN? Here it is.

It comes along with OpenTCP reference manual. I think after studying it you will be able to send TCP frames.

BTW Demo application that comes with this AN uses ~58k of flash. CW special edition license is not enough to build this application.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,687 次查看
kef
Specialist I
  • But the c code that do that doesn't be in the AN and I'dont know how tu send a "one" via TCP or read the state of a switch using the code provided by freescale.

Do you mean you are unable to find software that comes with this AN? Here it is.

It comes along with OpenTCP reference manual. I think after studying it you will be able to send TCP frames.

BTW Demo application that comes with this AN uses ~58k of flash. CW special edition license is not enough to build this application.

0 项奖励
回复
1,686 次查看
admin
Specialist II

Thank's you. Know I can't test the aplication.

About de CW license, you are right. It's the code warrior proffessional edition enough to build the aplication?

I donwnload one  evaluation version. In Argentina is  to much expensive buy a license when you are student.

A typical family won's U$S 700 per month!!

 

0 项奖励
回复
1,686 次查看
kef
Specialist I

The cheapest CW suite is Basic one. You get 64kB limited C compiler, which is certainly enough for S12NE64. Annual subscription (will work for 12 months) is 395$. Perpetual license (permanent) is 995$. http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-SUITE-BASIC&tid=CWH

 

If you don't mind going harder path and spending more time on making other TCP stacks to run on S12NE, then  you may consider cheaper Imagecraft C compiler http://www.imagecraft.com/  or free GNU C compiler http://www.gnu.org/software/m68hc11/ .

0 项奖励
回复