It's no more a MiSTery

https://github.com/mist-devel/mist-board/wiki

Moderators: Mug UK, Zorro 2, spiny, Greenious, Moderator Team

Post Reply
DanyPPC
Atari Super Hero
Atari Super Hero
Posts: 978
Joined: Tue Feb 21, 2017 7:02 am

Re: It's no more a MiSTery

Post by DanyPPC »

Thanks for the new release.

Can the ethernet adapter also be used on Minimig ?
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

slingshot wrote: Mon Nov 23, 2020 11:36 am The newest release got Ethernec support.
You can buy very cheap compatible adapters on Aliexpress, just search for AX88772.
My apologies if this should be obvious, but I wasn't able to really get the answer by googling it. Does the adapter need to be only AX88772 or do the variants work as well (AX88772A, AX88772B, etc....)
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Mon Nov 23, 2020 5:53 pm
slingshot wrote: Mon Nov 23, 2020 11:36 am The newest release got Ethernec support.
You can buy very cheap compatible adapters on Aliexpress, just search for AX88772.
My apologies if this should be obvious, but I wasn't able to really get the answer by googling it. Does the adapter need to be only AX88772 or do the variants work as well (AX88772A, AX88772B, etc....)
I think mine is AX88772B, and works.
User avatar
retrofun
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 131
Joined: Sat Jan 12, 2019 3:12 pm

Re: It's no more a MiSTery

Post by retrofun »

Supported adapters & VendorID+ProductID are listed in the wiki: https://github.com/mist-devel/mist-boar ... t-adaptors

According to the usb.ids database there are 4 entries for the AX88772 family.

Code: Select all

0b95  ASIX Electronics Corp.
	...
	7720  AX88772
	772a  AX88772A Fast Ethernet
	772b  AX88772B
	7e2b  AX88772B Fast Ethernet Controller
ProductIDs 7720 (AX88772) & 772b (AX88772B) are tested & implemented in the firmware, ProductIDs 772a (AX88772A) & 7e2b (AX88772B) would have to be tested and added if they work (most likely they will).
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

Well my adapter arrived today on the slow boat from China (ordered Dec 1 ish).

Sorry for being a noob, but do I need to run a stack before I can connect? The wiki on the MiST github is not clear on how to make this work? Do I have have to enable something in the OSD?

Also general question, what are you using your adapter for? I was thinking file transfers, but what else do you guys do?....just looking for fun/interesting activities.
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Mon Jan 11, 2021 8:40 pm Well my adapter arrived today on the slow boat from China (ordered Dec 1 ish).

Sorry for being a noob, but do I need to run a stack before I can connect? The wiki on the MiST github is not clear on how to make this work? Do I have have to enable something in the OSD?
STing with the ENEC.STX is good for TOS.
A howto:
http://hardware.atari.org/sfl/
ENEC.STX (STing, too) can be downloaded from Lotharek: https://www.lotharek.pl/files//netusbee/etherne.zip
Also general question, what are you using your adapter for? I was thinking file transfers, but what else do you guys do?....just looking for fun/interesting activities.
That's a good question.
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

Thanks for the links. I've certainly learned a lot more about networking for the ST (and in general). I have not yet had success though, so please forgive a couple of what might be silly questions...

1) I followed the instructions on the link provided but when I try to ping the MiST it does not connect. (I also tried pinging the PC from the Atari side, no dice). I did end up changing the "route.tab" file in order to try to connect as my router doesn't seem to work in that ip range given in the examples. I found valuable information on that part here (https://forum.atari-home.de/index.php?topic=5999.140) for anyone else experiencing trouble.

2) Do I need to do anything with the OSD? particularly the USB setting? what should it be set to?

3) For those that have successfully set this up, did you have to change anything in the config file? None of the instructions say to do that...

Now for the really dumb questions

4) In STiNG do you only have NE2000? or is there supposed to be another type of card listed because I added the ENEC.STX to the STiNG directory?

5) After setting the card I get a mac address of ff:ff:ff:ff:ff:ff:ff - is that to be expected?

6) Though the MiST is wired right into my router, does it matter if the PC is wireless? (I can't not see why). Also, I assume setting an IP in STiNG within the accepted range on my router is fine, but maybe it's not? My router assigns IPs dynamically but the manual says it respects static IP assignments from devices, so this should fine....

Anyway, thanks in advance to anyone who can help. I am certainly learning lots....
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Wed Jan 13, 2021 3:15 pm 2) Do I need to do anything with the OSD? particularly the USB setting? what should it be set to?
"none" is the correct setting. Also don't insert a cartridge (as in the real world, the adaptes goes into the cart port).
3) For those that have successfully set this up, did you have to change anything in the config file? None of the instructions say to do that...
Only the default route.
4) In STiNG do you only have NE2000? or is there supposed to be another type of card listed because I added the ENEC.STX to the STiNG directory?
Yes - Choose Hardware: NE2000
5) After setting the card I get a mac address of ff:ff:ff:ff:ff:ff:ff - is that to be expected?
You should get the MAC address correctly, until it doesn't work, don't expect anything else.

What's the USB ID of your adapter (check in Linux or Windows)?
Is it in this list?
https://github.com/mist-devel/mist-firm ... asix.c#L40
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

It shows up in Windows as 772a AX88772A Fast Ethernet
The blue led comes on when connect to my Windows machine / and my Linux laptop but does not when connected to the MiST.


The only other detail I can think I hadn't mentioned is its a MiST 1.4 .
User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1345
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: It's no more a MiSTery

Post by MasterOfGizmo »

8bitguy1 wrote: Wed Jan 13, 2021 4:30 pm It shows up in Windows as 772a AX88772A Fast Ethernet
The asix driver in the firmware so far hasn't been tested with a "772a" product id device. It may work if you just add the product id to the list of supported devices here:

https://github.com/mist-devel/mist-fir ... asix.c#L40
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

The code would be thus?

// Asix Fast Ethernet Adapter AX88772A
{ 0x0b95, 0x772A, ASIX_TYPE_AX88772 },

I can give that a try...assuming I can remember how to 'make' files
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Wed Jan 13, 2021 5:43 pm The code would be thus?

// Asix Fast Ethernet Adapter AX88772A
{ 0x0b95, 0x772A, ASIX_TYPE_AX88772 },

I can give that a try...assuming I can remember how to 'make' files
Yes. If you confirm it works, I'll add it to the firmware.
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

Well there is progress....
After adding the device to the firmware (as suggested), the little blue led comes on.

From the PC side 25% packets arrived via PING and 75% lost
On the Atari side 46 (92%) received and 4 (8%) lost.

In the route.tab file I've listed another pc, but should I instead list the gateway?

Is this software? Crappy network connection? not sure, is it better in STiNG to have a higher delay or a lower one? (set via the CPX)

Has anyone used UIP tool on a MIST (you'd have to disable STiNG I think as it has its own stack?)

I'll try a few other programs and see if I can get anything working consistently...
User avatar
MasterOfGizmo
Atari God
Atari God
Posts: 1345
Joined: Fri Feb 08, 2013 12:15 pm
Contact:

Re: It's no more a MiSTery

Post by MasterOfGizmo »

From there it is a software issue. The losses are likely due to complex chain of Ethernet->USB->ARM->SPI->FPGA->Ethernec->TOS ...

This is something that probably needs some debugging.
MIST board, FPGA based Atari STE and more: https://github.com/mist-devel/mist-board/wiki
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

I don't experience such packet loss:

Code: Select all

PING 192.168.100.100 (192.168.100.100) 56(84) bytes of data.
64 bytes from 192.168.100.100: icmp_seq=1 ttl=64 time=159 ms
.
.
.

64 bytes from 192.168.100.100: icmp_seq=13 ttl=64 time=93.1 ms
^C
--- 192.168.100.100 ping statistics ---
13 packets transmitted, 13 received, 0% packet loss, time 12018ms
rtt min/avg/max/mdev = 93.111/104.725/159.384/16.463 ms
And 16 MHz MegaSTe (or STeroids mode) is even better:

Code: Select all

rtt min/avg/max/mdev = 63.104/69.297/74.284/3.637 ms
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Wed Jan 13, 2021 8:59 pm In the route.tab file I've listed another pc, but should I instead list the gateway?
It's in my route.tab:

Code: Select all

0.0.0.0  0.0.0.0 EtherNet 192.168.100.1
Has anyone used UIP tool on a MIST (you'd have to disable STiNG I think as it has its own stack?)
It's a Netusbee thing, doesn't work.
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

Success!!! Using your (Slingshot) route.tab IP Addresses as an example, it works perfect now. No packet loss on pings, I was able to telnet out to sdf.org (by IP, no dns working yet) and log into it and check my email via PINE. (All very nostaglic).

For the UIP tool I was hoping the one created for USB2LAN adapters (https://www.atari-forum.com/viewtopic.p ... ol#p410668) might work...but it's probably more complicated than that...
8bitguy1
Atari freak
Atari freak
Posts: 60
Joined: Sat Feb 23, 2013 3:54 am

Re: It's no more a MiSTery

Post by 8bitguy1 »

Also general question, what are you using your adapter for? I was thinking file transfers, but what else do you guys do?....just looking for fun/interesting activities.
That's a good question.
So now that I have this working....what interesting (or non-interesting) things do you do with yours?
slingshot
Atari God
Atari God
Posts: 1960
Joined: Mon Aug 06, 2018 3:05 pm

Re: It's no more a MiSTery

Post by slingshot »

8bitguy1 wrote: Fri Jan 15, 2021 5:31 am So now that I have this working....what interesting (or non-interesting) things do you do with yours?
I've only used it for FTP transfer.
This one also works:
https://www.atari-forum.com/viewtopic.p ... id+watcher

But nothing really fun.
Post Reply

Return to “MiST”