[En-Nut-Discussion] Ethernut 1.3H problem with Ethernet and external RAM

7 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Ayman Hendawy

ungelesen,
28.03.2012, 18:39:1328.03.12
an en-nut-d...@egnite.de
Dears,

Recently I replaced the ATMEL128 with new one, but I get a problem that the
Basemon bootloader can't see my Ethernet chip nor External RAM, the out on
serial port as following:

BaseMon 4.1.2
Nut/OS 3.5.0.0
Compiled by AVRGCC for ATmega128
Baudrate select = 95
External RAM Test... 0 bytes
Banked RAM Test... none
Serial FLASH... 0 bytes
Detecting NIC... none
I/O Port Test... OK

Press any of the following keys:
E - Ethernet controller read/write
J - Jump to bootloader
S - SRAM read/write


The Yellow led is off, and Green led is sold on.

The fuses are as following:
lfuse: 0x3f
hfuse: 0x82
eFuse:0xff

When I used the test code at
http://www.ethernut.de/en/hardware/enut1/index.html ,
www.ethernut.de/en/hardware/enut1/testrtl10.zip
I get the following:

101 RTL8019AS Test 1.0
104 Discovered
100 Write OK
100 Config OK
102 EEPROM emulation OK
101 Re-discovered
101 Stopped
101 Reset OK
100 Memory OK
121 Loopback 1 OK
122 Loopback 2 OK
123 Loopback 3 OK
130 IRQ OK
499 NIC OK
100 Ready for ping 192.168.192.254 (MAC 00:06:98:F0:11:23)
100 Rx[0x21]: OK PHY
100 No ARP request
100 Not ICMP
100 Rx[0x21]: OK PHY
100 No ARP request
100 Not ICMP
100 Rx[0x21]: OK PHY
100 No ARP request
100 Not ICMP
100 Rx[0xA1]: OK PHY DFR
100 No ARP request
100 Not ICMP
100 Rx[0x21]: OK PHY
100 No ARP request
100 Not ICMP


But I can't ping it !

I don't know what is the problem, any suggestions


Thanks


--
Best regards

Ayman Hendawy
Embedded system engineer
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Harald Kipp

ungelesen,
29.03.2012, 08:54:1929.03.12
an Ethernut User Chat (English)
Hi Ayman,

Sorry to hear about your bad luck with the Ethernut.

On 29.03.2012 00:39, Ayman Hendawy wrote:
> The fuses are as following:
> lfuse: 0x3f
> hfuse: 0x82
> eFuse:0xff

Looks completely wrong to me. The chip is still in ATmega103 mode.
Interesting, I didn't expect Basemon and testrtl running on this chip.

This page provides more infos

http://www.ethernut.de/en/isp/fuses.html

Unfortunately it is based on the old uisp tool. I also found

http://eecs.oregonstate.edu/~traylor/ece473/lectures/fuses.pdf

> 100 Ready for ping 192.168.192.254 (MAC 00:06:98:F0:11:23)

...


> But I can't ping it !

Probably because your PC is in a different network.

Regards,

Harald

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Ayman Hendawy

ungelesen,
29.03.2012, 16:02:3429.03.12
an Ethernut User Chat (English)
Dear Harald,

Thanks for your help,
The link you have sent to me, http://www.ethernut.de/en/isp/fuses.html, say
that the correct fuses setting are as following:
Ethernut Factory Settings

We can call uisp on the command line to read the fuses. Again the following
parameters are for the SP Duo connected to the first serial port.


# uisp -dprog=stk500 -dserial=/dev/ttyS0 -dspeed=115200 -dpart=atmega128
--rd_fuses
Firmware Version: 49.48
Atmel AVR ATmega128 is found.
Fuse Low Byte = 0x3f
Fuse High Byte = 0x83
Fuse Extended Byte = 0xff
Calibration Byte = 0x00 -- Read Only
Lock Bits = 0xff
BLB12 -> 1
BLB11 -> 1
BLB02 -> 1
BLB01 -> 1
LB2 -> 1
LB1 -> 1

which mean that my fuses are correct and for hfuse I but it 0x82 for the
bootloader, this is also mentioned in the above link,
I also try to make it 0x83 but nothing happened, also the atmega 103
compatibility is disabled, I'm sure , and you can check it by your self.

I don't know, do you have another suggestions.

Thanks

--
Best regards

Ayman Hendawy
Embedded system engineer

Cairo,Egypt

Phone: +20110406659
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten