S12NE64 - AN2836

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,864件の閲覧回数
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,712件の閲覧回数
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,713件の閲覧回数
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,712件の閲覧回数
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,712件の閲覧回数
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 件の賞賛
返信