-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Folks,

progress:

On 02/12/2014 05:45 PM, Erich Waelde wrote:
> Hello,
> 
> I got my *old* etherrape-board from the trenches [1]. It is
> functional with the original etherrape and ethersex firmware,
> so the board itself is working correctly.
> 
> 
> 
> On 02/08/2014 07:52 PM, Matthias Trute wrote:
>> Hi,
>>
>> Jens wrote a TCP/IP stack for amforth (probably the first FOSS
>> stack written in forth). The code is now in the
>> trunk/appl/eval-pollin directory.
>>
>> The code opens a telnet port with an interpreter just like the
>> serial one.
>>
>> It's still in its early stages but nevertheless does work. Some
>> (hard) limits apply: The ENC28J60 and an Atmega644 is *required*,
>> an Ardiuno shield won't work.
>>
>> Patches and test feedback is highly welcome.
>>
> 
> The pin connections between the controller and the enc28j60 are
> the same as on the pollin avr-netio board. I didn't check the
> interrupt line, though, see below.
> 
> Controller: mine is a atmega644 (not atmega644P), ok?
> 
> Fuses: 
> HFUSE=0x99
> LFUSE=0xe7
> EFUSE=0xff
Working.

> 
> I can build AmForth-5.2 for it and it runs. I do get
> 2 warnings though:
>   /home/ew/Forth/amforth/releases/5.2/core\drivers/usart_common.asm(28): 
> warning: Use of undefined or forward referenced symbol 'XT_NOOP' in .equ/.set
>   /home/ew/Forth/amforth/releases/5.2/core\words/2drop.asm(6): warning: .cseg 
> .db misalignment - padding zero byte
>   Assembly complete, 0 errors, 2 warnings
> 
> Is version 5.2 good enough? Or is trunk needed?
Working.

> f_crystal = 20 MHz
> baud      = 9600
> 
> I get the ok prompt. I can load things like
> bitnames.frt and marker.frt.
> I can upload the tcp/ip stack starting with
> blocks/ip-stack/4th_mod1.frt
> And yes, I did set a sensible IP address in enc28j60.frt.
> I assume the netmask to be /24, correct?
I did not yet find the place in the code where this is set, but it works.
> 
> serial console:
> +telnet
> hangs the controller, unfortunately. More precisely
> +encint
> hangs or reset-loop-s the controller. So I need to go
> back to check the connection. see above ...

There was no connection between enc28j60 pin 4 INT and
atmega644 pin 3 INT2. I added a thin wire to connect the two.
Without any further changes to code:

serial:
|> +telnet
| ok
|> Send Ping Reply ! 
|Send Ping Reply ! 
|Send Ping Reply ! 
|Send Ping Reply ! 

shell:
|$ ping 192.168.10.80
|PING 192.168.10.80 (192.168.10.80) 56(84) bytes of data.
|64 bytes from 192.168.10.80: icmp_seq=1 ttl=64 time=1037 ms
|64 bytes from 192.168.10.80: icmp_seq=2 ttl=64 time=75.1 ms
|64 bytes from 192.168.10.80: icmp_seq=3 ttl=64 time=19.0 ms
|64 bytes from 192.168.10.80: icmp_seq=4 ttl=64 time=19.0 ms
|64 bytes from 192.168.10.80: icmp_seq=5 ttl=64 time=19.0 ms

:-)))

Telnet did not work yet.

Cheers,
Erich

> 
> [1] http://www.lochraster.org/etherrape/
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJS/Sk3AAoJEHx024vXVRNQcQ4QAIYjI7hxelWwRV2PjUYRafOg
FzPik/ttX2lfHYTHfjHnNu4K7Fhx5rPXaLehGOrAEnoh7i3fIPMCcCOhGFzq6Sjc
zIm438PtZ+E5iqUJX2IgNu71BENYRy7A7N03C4B53WIZ8D/jEKRyZiczHv0Nyusu
CKmw+djcrJJ0StzugmJcSY+1RvjnXo5Inf7HIOtIaf2B5t/P3CqDQSVudTUGYMtB
juPVl0VcdjNVZ1hj//rTiJXO90xmQUzV4RkrI6LNxSIWJqwVK2aPVPNiDW0gqKYu
wkG2eLJjjYcCKMoBtkTwCVooLawZmvFUGYvTjPf1ZgzOzhHnxKC/CRGTB9nGAJuL
hD7yCwgaKK3r9EWactI43zF7+vQRRHATSJzb4Z2NUZ0oAiqiCdugVt3+dj2LXPWy
xRMWyVgqtXHvKU8oZuo1818FOkrVJ5nmD9ylCx6uB7DQNx3jssAFBI9ym/SWTpUE
MTzAAeWfQupRxgmauinezb/m07nA3XtYedEo13X0N9pv3Be+5bMIM7OF8+RVV+du
SJjGo6hAj5CXhwetID71H7Eqg0dhx20b8nzyT+H4qRvQv8wabRE/RoU3BxeMuZci
jDttxtjNKLkkhoEiRdBDDNUoyPAbW82sOyLagHa6USghrUPl/HXXRbD+rz3DAHRH
Y8G2LH1zX2LRdWAMsXsp
=BLNq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to