Welcome, Guest. Please login or register.


Author Topic: Running binary from PC? (Read 33937 times)

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Running binary from PC?
« on: 2013.October.20. 16:04:11 »
Is there any easy way to run a binary rom the PC on the Enterprise? Via the serial port or something?

I'd like a way to test the SD card interface hardware, but currently my disk interface is not working, so I'd like a simple at just to run some code on the EP.

Is there any way? Or do I need to get my disk interface working?!

Offline geco

  • EP addict
  • *
  • Posts: 7082
  • Country: hu
    • Támogató Támogató
Re: Running binary from PC?
« Reply #1 on: 2013.October.20. 16:06:33 »
Not the easiest way, but you can use TAPIR, or EPTE to convert binary to .TAP, and after load it into EP, like using tape.

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Re: Running binary from PC?
« Reply #2 on: 2013.October.20. 16:18:42 »
Hmm, I guess for small programs (which they will be) that may not be too bad. Thanks for the idea!

Offline lgb

  • EP addict
  • *
  • Posts: 3563
  • Country: hu
  • æðsta yfirmaður
    • http://lgb.hu/
Re: Running binary from PC?
« Reply #3 on: 2013.October.20. 17:05:58 »
Quote from: Saint
Is there any easy way to run a binary rom the PC on the Enterprise? Via the serial port or something?

I've written about this, that SD card solution is great but not for everything, thus an Ethernet solution would be really superb. On the other hand, a simple serial connection is much faster solution to develop and you don't even need any additional code/program to do it, you can LOAD via the SERIAL: device as far as I know at least. The only problem is EP's "odd" serial interface; it is not really RS232 compatible at signal levels ... EP provides a +5V pin on the serial connector as "reference voltage" and it should be treated as the "offset ground" so this way you will have +/- voltages acceptable for standrad serial specification. However, treating +5V as ground can cause odd loops which can even cause short circuit etc. What I thought, that with some soldering an std TTL level connection can be done (so 0 and +5V relative to GND, maybe it's enough to "avoid" the op-amp part in input pins and the pull-up resistors to +12V on the output or so - but schematics of EP can be checked out more carefully to see this) and then it's easy to interface with eg a MAX232 IC which converts TTL levels to serial voltage specification and vice versa. The "offset ground" soltion feels a bit dangerous for me because of the reasons I've mentioned above in this post. But since maybe I am not the most experienced guy here on EP hardware, I can be wrong of course.
« Last Edit: 2013.October.20. 17:14:22 by lgb »

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14721
  • Country: hu
    • http://enterprise.iko.hu/
Re: Running binary from PC?
« Reply #4 on: 2013.October.20. 17:14:18 »
Quote from: Saint
 currently my disk interface is not working
What is the problem with your interface?

I think use floppy disks are the most easy way.

Offline Saint

  • EP user
  • *
  • Posts: 266
  • Country: gb
Re: Running binary from PC?
« Reply #5 on: 2013.October.20. 18:06:57 »
What is the problem with your interface?

I think use floppy disks are the most easy way.

When I plug it in, nothing seems to happen! I'm sure it used to work, but I think it was unrealiable. I'll have to take it apart and see what's happening...

Does it need an external power supply to the bus bridge? I don't remember having to use one.

Offline Zozosoft

  • Global Moderator
  • EP addict
  • *
  • Posts: 14721
  • Country: hu
    • http://enterprise.iko.hu/
Re: Running binary from PC?
« Reply #6 on: 2013.October.20. 18:23:52 »
Quote from: Saint
When I plug it in, nothing seems to happen!
Machine don't start or it is start just EXDOS not detected?
Connection problems are common problems.
Firstly try to clean connections.
When connect the bridge to EXDOS view from the bottom the pins going in the right way to the edge connector.
If you now have a opened machine then easy to view the motherboard-bridge connection are right.

If all connection are perfect then need advanced error finding.

Quote
Does it need an external power supply to the bus bridge? I don't remember having to use one.
Not needed.