plipbox icon indicating copy to clipboard operation
plipbox copied to clipboard

MiamiDX: Error (3,1) trying to configure the SANA-II device.

Open salocinx opened this issue 7 years ago • 7 comments

MiamiDX throws the following exception when the Plipbox is powered on after the Amiga is powered on (tested with firmware v0.5, not yet tested with firmware v0.6):

Miami Deluxe Request Error(3,1) trying to configure the SANA-II device.

The Plipbox works fine if you power on the Plipbox first then power on the Amiga. If you reset the Amiga after the Plipbox has been working normally, MiamiDX complains that it doesn't get a response to the DHCP request. Appears that the Plipbox is in some undetermined state when the Amiga gets reset and it doesn't get reset unless you power things off then on again in the right order.

This seems to be a kind of reset issue. Is there there some separate software which will do a Plipbox reset prior to trying to connect with MiamiDX ?

salocinx avatar Jan 09 '17 16:01 salocinx

well, actually this is not a supported use case. always power on the plipbox first and before launching the device driver.

I admit that having a reset command for the device would be a good idea. I am currently reworking the protocol and I'll keep this in mind.

cnvogelg avatar Jan 16 '17 18:01 cnvogelg

Great, some kind of software reset would be lovely. Many thanks for your efforts!

salocinx avatar Jan 19 '17 11:01 salocinx

Connecting the Amiga _RESET signal (pin 25 on A1000 and pin 16 on all other Amiga models) with the Arduino reset pin resolves the problem. Also connect the Arduino reset pin with the ENC28J60 reset pin. This way, the Plipbox will always reset as soon as the Amiga is reset.

salocinx avatar Oct 11 '17 10:10 salocinx

Can you detail where the reset pins are on the Arduino and the ENC28J60 ?

Lotusshaney avatar Oct 11 '17 10:10 Lotusshaney

These are labeled with "RST" on both devices, the Arduino and the ENC28J60 modules. Just make a connection from Amiga Parallel (_RESET) -> Arduino (RST) -> Ethernet (RST). For the connection between Amiga _RESET and Arduino RST you might want to use a standard diode (e.g. a 1N4148) to protect your Amiga additionally.

salocinx avatar Oct 11 '17 10:10 salocinx

Anode or cathode to the Amiga plug ?

Sent from my iPhone

On 11 Oct 2017, at 11:32, Nicolas Baumgardt [email protected] wrote:

These are labeled with "RST" on both devices, the Arduino and the ENC28J60 modules. Just make a connection from Amiga Parallel (_RESET) -> Arduino (RST) -> Ethernet (RST). For the connection between Amiga _RESET and Arduino RST you might want to use a standard diode (e.g. a 1N4148) to protect your Amiga additionally.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Lotusshaney avatar Oct 16 '17 17:10 Lotusshaney

Cathode to Amiga and anode to Arduino.

salocinx avatar Oct 16 '17 18:10 salocinx