S12NE64 - AN2836

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

S12NE64 - AN2836

Jump to solution
626 Views
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!

Labels (1)
Tags (1)
0 Kudos
1 Solution
474 Views
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.

View solution in original post

0 Kudos
3 Replies
475 Views
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 Kudos
474 Views
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 Kudos
474 Views
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 Kudos