Problems with the MC9S12NE64 and som network switches

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

Problems with the MC9S12NE64 and som network switches

3,354 Views
J_karlsson
Contributor I
When using the MC9S12NE64 as a ethernet device we are experiensing problems with some network switches. The network traffic sent by the NC64 isn't getting thru through the switch.

We are running the device in 10MBit mode(full duplex) and with auto negotiation turned off. We have auto neg turned of since the errata on the NE64 states that the auto-negotaition feature might not be reliable with some network hardware.

We've built the design of the ethernet interface from the AN2759 article, and we are running the MCU at 25Mhz. Does anyone know what might be causing this?
Labels (1)
0 Kudos
3 Replies

595 Views
samiran_cj
Contributor I
Another thought...
 
If the board is working with a direct connection to the computer, using the crossover cable.
I recommend to check whether you are using a straight through cable to the switch. Color code the cables with some duct-tape to avoid mixup.
 
 
 
0 Kudos

595 Views
mjbcswitzerland
Specialist V

Hi

I also don't know what can cause such a problem. If you want to exclude the software, download the following code - it will run on any NE64 (containing ping, http, ftp). It is code which has been running full-time for over a year on an NE64 (demo board) with no known problems. If you still have difficulties it will almost certainly be hardware releated.

http://www.mjbc.ch/software/uTasker/NE64/ETHERNET.s19

You can also visit on-line demos at http://212.254.22.36 and http://212.254.22.36:8081 (login "anon" "anon") and see them at http://212.254.22.36:8080 via web cam.

They are based on the uTasker operating system with integrated TCP/IP stack and real time NE64 simulator allowing the complete projects to be developed and tested on a PC before loading to the target.

The uTasker is free (including email support) for educational and non-commercial work. See also this posting: http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&message.id=274

All projects run on NE64 and new Coldfire M5223X (simply change one define in the project to compile for and simulate the other target).

Regards

Mark Butcher
www.mjbc.ch

 

0 Kudos

595 Views
samiran_cj
Contributor I
No idea what the problem might be is fairly common for me...
these are some checkpoints that i use.

Reflash unit with known working test example program (PING test).

Check power on.

Press Reset button.

Check cable plugged in firmly.

Check cables lead to right switch/network card.

Check IP settings - put all the IP address on the same subnet as the gateway.

Check the subnet mask setting.

Check the gateway setting.

Use PING to check basic packets entering or leaving device. If H/W connections OK then it is a software setup problem.

Use of a protocol analyzer to check if basic packets entering /leaving.

Replace all defective hardware units try with another switch/cable.

Msg Edit
check Firewall S/W and whether H/W Firewall is up.

My 2c
Hope this helps.

06-02-200609:22 PM

Message Edited by _sam_ on 06-02-2006 09:24 PM

0 Kudos