Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
salocinx opened this issue Jan 9, 2017 · 7 comments
Open

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

salocinx opened this issue Jan 9, 2017 · 7 comments

Comments

@salocinx
Copy link

salocinx commented Jan 9, 2017

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 ?

@cnvogelg
Copy link
Owner

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.

@salocinx
Copy link
Author

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

@salocinx
Copy link
Author

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.

@Lotusshaney
Copy link

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

@salocinx
Copy link
Author

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.

@Lotusshaney
Copy link

Lotusshaney commented Oct 16, 2017 via email

@salocinx
Copy link
Author

Cathode to Amiga and anode to Arduino.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants