Discussion:
SIADIS on modern laptop?
tehben
2009-07-15 21:16:29 UTC
Permalink
I actually have a brand new macbook pro running windows xp and with a
serial port to USB adapter I can access my BRUSA charger etc.
I have had the hardest time finding a computer that will connect to my
Siemens Inverter, I have a really old desktop that does but it is a
pain to use because I can't have it running in my truck while I am
driving.
Anyway I downloaded a program called DOSBox which is a DOS emulator
which is cool because you can adjust how much ram etc it has available
to it and I have succeeded in connecting it to my inverter!!! but...
it has a hard time making a clean connection or something and it gets
semi scrambled results which makes it kind of useless. I'm not sure
how to fix it. I may try some different serial port adapters and see
if I get better results.
Has anyone else figured out anyway to make SIADIS work on a new
computer? or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
Thanks,
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
Tom Parker
2009-07-23 13:04:18 UTC
Permalink
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
Post by tehben
From memory, I tried qemu, vmware, and dosemu on a linux host. They all
behaved largely the same, siadis would start, but would lock up right
after you turn on the inverter. It would unlock when you turn off the
inverter. I didn't have a copy of real dos, so I was using freedos. I
don't know if this makes a difference. I was unable to get freedos onto
my old laptop because I didn't have a working floppy disk drive.
Post by tehben
or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
I have an old Pentium laptop which I'm not looking forward to replacing
when it breaks.
g***@public.gmane.org
2009-07-23 13:42:24 UTC
Permalink
If it is a DOS program you may want to try to get your hands on a copy
of an original DOS System Software and try loading that up under
Bootcamp and see if that works. You will still need to use your
adaptor and thinking about it you may need a different driver. What
you have should work. It is just that you will need to figure out
which driver you will need. That alone is a real pain.

Is there a newer windows version of SIADIS? If so get it.


Pete :)
Post by tehben
I actually have a brand new macbook pro running windows xp and with a
serial port to USB adapter I can access my BRUSA charger etc.
I have had the hardest time finding a computer that will connect to my
Siemens Inverter, I have a really old desktop that does but it is a
pain to use because I can't have it running in my truck while I am
driving.
Anyway I downloaded a program called DOSBox which is a DOS emulator
which is cool because you can adjust how much ram etc it has available
to it and I have succeeded in connecting it to my inverter!!! but...
it has a hard time making a clean connection or something and it gets
semi scrambled results which makes it kind of useless. I'm not sure
how to fix it. I may try some different serial port adapters and see
if I get better results.
Has anyone else figured out anyway to make SIADIS work on a new
computer? or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
Thanks,
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Tim Clevenger
2009-07-23 17:31:57 UTC
Permalink
Have you tried DOSBox? That's what I ended up using on my Windows 2003
server to access the serial port on my Toshiba phone system. NT would lock
the serial port on the regular cmd.exe window, but DOSBox does a full
machine emulation and works great for me.

www.dosbox.com


Tim

------
Date: Fri, 24 Jul 2009 01:04:18 +1200
From: Tom Parker <tom-***@public.gmane.org>
Subject: Re: [EVDL] SIADIS on modern laptop?
To: Electric Vehicle Discussion List <ev-UWgVIey+***@public.gmane.org>
Message-ID: <***@tv>
Content-Type: text/plain
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sjsu.edu/mailman/private/ev/attachments/20090723/bb318821/attachment.html
tehben
2009-07-24 05:38:11 UTC
Permalink
Tim, I tried DOSBox and that is what almost worked, it read data but
it was having errors and reading it incorrectly...

Pete, I wish there was a new version of SIADIS but have had not luck
in the research I have done :(

Thanks eveyone,
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
Have you tried DOSBox?  That's what I ended up using on my Windows 2003
server to access the serial port on my Toshiba phone system.  NT would lock
the serial port on the regular cmd.exe window, but DOSBox does a full
machine emulation and works great for me.
www.dosbox.com
Tim
------
Date: Fri, 24 Jul 2009 01:04:18 +1200
Subject: Re: [EVDL] SIADIS on modern laptop?
Content-Type: text/plain
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sjsu.edu/mailman/private/ev/attachments/20090723/bb318821/attachment.html
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Jeff Shanab
2009-07-24 16:50:00 UTC
Permalink
The one method I would try first is not listed? Wine in default w98 mode
on linux.
I have run the free software that the chip guys provide like
swithchercad and old games.

Just a suggestion.
Post by Tom Parker
Post by tehben
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
Post by tehben
From memory, I tried qemu, vmware, and dosemu on a linux host. They all
behaved largely the same, siadis would start, but would lock up right
after you turn on the inverter. It would unlock when you turn off the
inverter. I didn't have a copy of real dos, so I was using freedos. I
don't know if this makes a difference. I was unable to get freedos onto
my old laptop because I didn't have a working floppy disk drive.
Post by tehben
Post by tehben
or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
I have an old Pentium laptop which I'm not looking forward to replacing
when it breaks.
Mark Farver
2009-07-24 17:23:53 UTC
Permalink
IIRC the problem is that the software does not work well in the presence of
a FIFO'd UART (16550). The trick is to run a dos program that disables the
fifo before running the inverter software. I think victor had a tool for
this.

Mark
Post by Jeff Shanab
The one method I would try first is not listed? Wine in default w98 mode
on linux.
I have run the free software that the chip guys provide like
swithchercad and old games.
Just a suggestion.
Post by Tom Parker
Post by tehben
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
Post by tehben
From memory, I tried qemu, vmware, and dosemu on a linux host. They all
behaved largely the same, siadis would start, but would lock up right
after you turn on the inverter. It would unlock when you turn off the
inverter. I didn't have a copy of real dos, so I was using freedos. I
don't know if this makes a difference. I was unable to get freedos onto
my old laptop because I didn't have a working floppy disk drive.
Post by tehben
Post by tehben
or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
I have an old Pentium laptop which I'm not looking forward to replacing
when it breaks.
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sjsu.edu/mailman/private/ev/attachments/20090724/2f604bcf/attachment.html
tehben
2009-07-24 20:13:02 UTC
Permalink
Yeah, I havn't been able to figure out how to make that work... I
still need to do some more research, the instructions with the app
were very minimal and I am not very familiar with dos :( I am a mac
guy :)
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
Post by Mark Farver
IIRC the problem is that the software does not work well in the presence of
a FIFO'd UART (16550).  The trick is to run a dos program that disables the
fifo before running the inverter software.  I think victor had a tool for
this.
Mark
Post by Jeff Shanab
The one method I would try first is not listed? Wine in default w98 mode
on linux.
  I have run the free software that the chip guys provide like
swithchercad and old games.
Just a suggestion.
Post by Tom Parker
Post by tehben
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
Post by tehben
From memory, I tried qemu, vmware, and dosemu on a linux host. They all
behaved largely the same, siadis would start, but would lock up right
after you turn on the inverter. It would unlock when you turn off the
inverter. I didn't have a copy of real dos, so I was using freedos. I
don't know if this makes a difference. I was unable to get freedos onto
my old laptop because I didn't have a working floppy disk drive.
Post by tehben
Post by tehben
or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
I have an old Pentium laptop which I'm not looking forward to replacing
when it breaks.
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sjsu.edu/mailman/private/ev/attachments/20090724/2f604bcf/attachment.html
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Dave Homsher
2009-07-25 00:29:46 UTC
Permalink
If you need dos, take a look at FreeDOS (http://www.freedos.org/) I've
had really good luck getting old decrepit software working on it - even
windows 3.1 and Windows 95 <<shudder>>

Hardware-wise, you may want to look at some of the embedded pc104
systems. They're usually pretty rugged and have very low power
consumption. Usually you can get something in a 486, 586, pentium and up
(and usually all the way down to 8086/8088 - yikes). Perhaps something
like this (http://www.allproducts.com/ee/aaeon/07pcm-4335.html) will
give you some ideas of what to google.
Post by Tim Clevenger
Subject: Re: [EVDL] SIADIS on modern laptop?
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
If it is a DOS program you may want to try to get your hands on a copy
of an original DOS System Software and try loading that up under
Bootcamp and see if that works. You will still need to use your
adaptor and thinking about it you may need a different driver. What
you have should work. It is just that you will need to figure out
which driver you will need. That alone is a real pain.
Is there a newer windows version of SIADIS? If so get it.
Pete :)
Post by tehben
I actually have a brand new macbook pro running windows xp and with a
serial port to USB adapter I can access my BRUSA charger etc.
I have had the hardest time finding a computer that will connect to my
Siemens Inverter, I have a really old desktop that does but it is a
pain to use because I can't have it running in my truck while I am
driving.
Anyway I downloaded a program called DOSBox which is a DOS emulator
which is cool because you can adjust how much ram etc it has available
to it and I have succeeded in connecting it to my inverter!!! but...
it has a hard time making a clean connection or something and it gets
semi scrambled results which makes it kind of useless. I'm not sure
how to fix it. I may try some different serial port adapters and see
if I get better results.
Has anyone else figured out anyway to make SIADIS work on a new
computer? or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
Thanks,
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
DaveAK
2009-07-25 01:17:07 UTC
Permalink
I can't say that this is the problem, but some devices just won't work with a
USB to Serial adapter. I think that might be your problem. Try and find a
laptop with a built in serial port to test with.
Post by tehben
I actually have a brand new macbook pro running windows xp and with a
serial port to USB adapter I can access my BRUSA charger etc.
I have had the hardest time finding a computer that will connect to my
Siemens Inverter, I have a really old desktop that does but it is a
pain to use because I can't have it running in my truck while I am
driving.
--
View this message in context: http://www.nabble.com/SIADIS-on-modern-laptop--tp24506011p24654030.html
Sent from the Electric Vehicle Discussion List mailing list archive at Nabble.com.
Jeff Shanab
2009-07-26 01:04:51 UTC
Permalink
Install wine on mac, open terminal and type "wine <your window app>.exe"
Not sure how good wine is on mac.
I don't have a mac or SIADIS so I can't test it out.

If it was an x86 notebook I would say a live-cd with wine on it might be
a great way.

Is SIADIS a purchase only program? I can test it on any number of linux
boxes I have.
Post by tehben
Yeah, I havn't been able to figure out how to make that work... I
still need to do some more research, the instructions with the app
were very minimal and I am not very familiar with dos :( I am a mac
guy :)
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
Post by Mark Farver
IIRC the problem is that the software does not work well in the presence of
a FIFO'd UART (16550). The trick is to run a dos program that disables the
fifo before running the inverter software. I think victor had a tool for
this.
Mark
Post by Jeff Shanab
The one method I would try first is not listed? Wine in default w98 mode
on linux.
I have run the free software that the chip guys provide like
swithchercad and old games.
Just a suggestion.
Post by Tom Parker
Post by tehben
Post by tehben
Has anyone else figured out anyway to make SIADIS work on a new
computer?
I haven't had much luck. I made some notes here
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis but I
didn't make notes of everything I tried. I basically gave up when I got
an old laptop with windows 98, where siadis works first time every time.
Post by tehben
From memory, I tried qemu, vmware, and dosemu on a linux host. They all
behaved largely the same, siadis would start, but would lock up right
after you turn on the inverter. It would unlock when you turn off the
inverter. I didn't have a copy of real dos, so I was using freedos. I
don't know if this makes a difference. I was unable to get freedos onto
my old laptop because I didn't have a working floppy disk drive.
Post by tehben
Post by tehben
or know of an old laptop that is guaranteed to work?
I bought a few with 486 processors off of ebay and they either didn't
work, or I couldn't even get the program on them because they were in
such bad shape.
I have an old Pentium laptop which I'm not looking forward to replacing
when it breaks.
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sjsu.edu/mailman/private/ev/attachments/20090724/2f604bcf/attachment.html
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Tom Parker
2009-07-26 01:31:59 UTC
Permalink
Post by Jeff Shanab
Is SIADIS a purchase only program? I can test it on any number of linux
boxes I have.
SIADIS works fine in an emulator until you turn on the inverter, then it
starts talking, advances through a couple of initialisation states and
locks up. So, unfortunately, you can't test it.

I believe the trouble using it in an emulator is related to the trouble
using it with more modern hardware. Apparently it doesn't like a FIFO
buffer on the serial port. This suggests to me that there is some sort
of very time critical handshake in the protocol which can get messed up
if the port accepts more characters than the programmer expected.

While this is only a theory, it would make sense that similar timing
issues would show up in an emulator.

My testing is very incomplete.

It works in Windows 98 on my old laptop, but I've never tested Windows
98 on my new laptop. It doesn't work in freedos in an emulator on linux
on my new laptop, but I've never tested freedos on the old laptop, nor
freedos on the bare hardware (without an emulator) on my new laptop.

If I wanted to investigate further, I would work out how to run freedos
on my old laptop (this would involve finding a working floppy disk and
drive, and requires that the old laptop's drive still works) and see if
it SIADIS works there. If it does, then try the same on my new laptop
(without emulator). If that works, then fool with a bunch of emulators
and see if I can get one to work.

If SIADIS doesn't work on the bare hardware of my new laptop, then I
guess I'd just give up and blame a poorly written protocol or
implementation.

My old laptop is a pain, but not so much of a pain that I'm going to
pursue this right now.
Jeff Shanab
2009-07-26 20:00:49 UTC
Permalink
Post by Tom Parker
Post by Jeff Shanab
Is SIADIS a purchase only program? I can test it on any number of linux
boxes I have.
SIADIS works fine in an emulator until you turn on the inverter, then it
starts talking, advances through a couple of initialisation states and
locks up. So, unfortunately, you can't test it.
I can test to a point by using two computers in 8250 mode. I was just
thinking I would verify the base operation since you said you hadn't
tried wine yet, then let you guys lucky enough to have an inverter, test
it. :-)
Post by Tom Parker
I believe the trouble using it in an emulator is related to the trouble
using it with more modern hardware. Apparently it doesn't like a FIFO
buffer on the serial port. This suggests to me that there is some sort
of very time critical handshake in the protocol which can get messed up
if the port accepts more characters than the programmer expected.
I did a little googleing and it seems that if the micro at the other end
has a non-fifo uart, the fifo causes a problem.
The trick may be to put it in 8250 mode. Windows does a better job of
this apparently.
In the linux side and maybe this applies to the mac, 8250 mode was
broken in the 2.6 kernel until recently.
setserial /dev/ttyS0 uart 8250

(They disabled the fifo but did not set the fifo size to 1 and some
other settings. it apparently took a while for someone to notice)
Post by Tom Parker
While this is only a theory, it would make sense that similar timing
issues would show up in an emulator.
My testing is very incomplete.
It works in Windows 98 on my old laptop, but I've never tested Windows
98 on my new laptop. It doesn't work in freedos in an emulator on linux
on my new laptop, but I've never tested freedos on the old laptop, nor
freedos on the bare hardware (without an emulator) on my new laptop.
If I wanted to investigate further, I would work out how to run freedos
on my old laptop (this would involve finding a working floppy disk and
drive, and requires that the old laptop's drive still works) and see if
it SIADIS works there. If it does, then try the same on my new laptop
(without emulator). If that works, then fool with a bunch of emulators
and see if I can get one to work.
If SIADIS doesn't work on the bare hardware of my new laptop, then I
guess I'd just give up and blame a poorly written protocol or
implementation.
My old laptop is a pain, but not so much of a pain that I'm going to
pursue this right now.
tehben
2009-07-27 06:45:59 UTC
Permalink
I actually have xp on my mac and the problem is not getting SIADIS to
run, it runs on xp no problem. The problem is getting it to connect to
the inverter...
When I have more time I will experiment more and see if I can disable
the fe, fi, fo, fum thingie ;)
Tehben
'90 Toyota 4x4 Pickup
'hElix EV'
Website: www.helixev.com
evalbum: http://www.austinev.org/evalbum/1225
Post by Jeff Shanab
Post by Tom Parker
Post by Jeff Shanab
Is SIADIS a purchase only program? I can test it on any number of linux
boxes I have.
SIADIS works fine in an emulator until you turn on the inverter, then it
starts talking, advances through a couple of initialisation states and
locks up. So, unfortunately, you can't test it.
I can test to a point by using two computers in 8250 mode. I was just
thinking I would verify the base operation since you said you hadn't
tried wine yet, then let you guys lucky enough to have an inverter, test
it. :-)
Post by Tom Parker
I believe the trouble using it in an emulator is related to the trouble
using it with more modern hardware. Apparently it doesn't like a FIFO
buffer on the serial port. This suggests to me that there is some sort
of very time critical handshake in the protocol which can get messed up
if the port accepts more characters than the programmer expected.
I did a little googleing and it seems that if the micro at the other end
has a non-fifo uart, the fifo causes a problem.
The trick may be to put it in 8250 mode. Windows does a better job of
this apparently.
In the linux side and maybe this applies to the mac, 8250 mode was
broken in the 2.6 kernel until recently.
setserial /dev/ttyS0 uart 8250
(They disabled the fifo but did not set the fifo size to 1 and some
other settings. it apparently took a while for someone to notice)
Post by Tom Parker
While this is only a theory, it would make sense that similar timing
issues would show up in an emulator.
My testing is very incomplete.
It works in Windows 98 on my old laptop, but I've never tested Windows
98 on my new laptop. It doesn't work in freedos in an emulator on linux
on my new laptop, but I've never tested freedos on the old laptop, nor
freedos on the bare hardware (without an emulator) on my new laptop.
If I wanted to investigate further, I would work out how to run freedos
on my old laptop (this would involve finding a working floppy disk and
drive, and requires that the old laptop's drive still works) and see if
it SIADIS works there. If it does, then try the same on my new laptop
(without emulator). If that works, then fool with a bunch of emulators
and see if I can get one to work.
If SIADIS doesn't work on the bare hardware of my new laptop, then I
guess I'd just give up and blame a poorly written protocol or
implementation.
My old laptop is a pain, but not so much of a pain that I'm going to
pursue this right now.
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Tom Parker
2009-07-28 13:35:03 UTC
Permalink
Post by Jeff Shanab
I did a little googleing and it seems that if the micro at the other end
has a non-fifo uart, the fifo causes a problem.
The trick may be to put it in 8250 mode. Windows does a better job of
this apparently.
In the linux side and maybe this applies to the mac, 8250 mode was
broken in the 2.6 kernel until recently.
setserial /dev/ttyS0 uart 8250
I tried that and it didn't help when running siadis in freedos in qemu
on linxu. I updated my page about Sadis with a screenshot
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis

It locks in the "Version SIADIS" state. I haven't tried to sniff the
serial traffic.
Post by Jeff Shanab
(They disabled the fifo but did not set the fifo size to 1 and some
other settings. it apparently took a while for someone to notice)
Which version of the kernel was it fixed in? I couldn't find a reference
to a fix like this.

I'm running ubuntu jaunty.
Suhas Malghan
2009-07-27 19:25:45 UTC
Permalink
If you're trying to disable the FIFO buffer to run SIADIS, there's the "eatXMS" program that Victor wrote that was supplied with my SIADIS software. I think it blocks out the buffer memory so the data streams in real-time but I do know that when it's running SIADIS works, when I forget to load it before running SIADIS it won't respond. HTH

Suhas
89 eMR2
Jeff Shanab
2009-07-29 03:27:24 UTC
Permalink
Warning, a little OT people....

The forum I heard about it in was talking about the problem in 2.6.17.

I run 6 machines, kernels are all in the 2.6.27 to 2.6.30 range.

I do not keep up with all these distro's releases and code names, so I
don't know where juanty is at. (Type "uname -a" It'll tell you)

(P.S. I run gentoo, this machine was installed in 1999 and has been
continuously upgraded. I don't install new iso's or do major upgrades or
migrations because it is a source based distro. People scoff at the
compile time just like others scoff at charge time, But they both happen
while I sleep most the time ;-) )

Speaking of compiling, I can't tell you if they even compiled in support
for 8250 mode.
This may work on jaunty if they are not trying to be like windows and
actually packaged the files
cd /usr/src/linux
cat .config | grep 8250
you should get a list of the kernel features used with 8250 and whether
or not they were enabled in the kernel
Post by Tom Parker
Post by Jeff Shanab
I did a little googleing and it seems that if the micro at the other end
has a non-fifo uart, the fifo causes a problem.
The trick may be to put it in 8250 mode. Windows does a better job of
this apparently.
In the linux side and maybe this applies to the mac, 8250 mode was
broken in the 2.6 kernel until recently.
setserial /dev/ttyS0 uart 8250
I tried that and it didn't help when running siadis in freedos in qemu
on linxu. I updated my page about Sadis with a screenshot
http://carrott.org/cgi-bin/twiki/view/ElectricMini/SiemensSiadis
It locks in the "Version SIADIS" state. I haven't tried to sniff the
serial traffic.
Post by Jeff Shanab
(They disabled the fifo but did not set the fifo size to 1 and some
other settings. it apparently took a while for someone to notice)
Which version of the kernel was it fixed in? I couldn't find a reference
to a fix like this.
I'm running ubuntu jaunty.
Jeff Shanab
2009-07-29 14:32:16 UTC
Permalink
I was looking up on some "hacking the Kindle" and came across a blog
mentioning these.
http://www.pololu.com/catalog/product/391
http://www.chip45.com/index.pl?page=littleUSB

Both of these use the silabs 2102, (
https://www.silabs.com/products/interface/usbtouart/Pages/default.aspx
hey the 2103 looks interesting )

I think the statements about easy to connect to micro are marketspeak,
the 2102 appears to have a fifo. But it gave me an idea. When you use an
adapter, It gives you new UART hardware and drivers. Maybe allowing
configuration.
The FTDI chip is popular (grabbed a usb to serial off my desk and that
is what chip is used) And the drivers are well documented.

just a thought
Victor Tikhonov
2009-07-29 19:17:39 UTC
Permalink
SIADIS is DOS program and does not understand USB.

FTDI drivers indeed make USB adapter look like serial
port to the OS, but the OS itself must be windows (or any USB-aware).

Victor
Post by Jeff Shanab
I was looking up on some "hacking the Kindle" and came across a blog
mentioning these.
http://www.pololu.com/catalog/product/391
http://www.chip45.com/index.pl?page=littleUSB
Both of these use the silabs 2102, (
https://www.silabs.com/products/interface/usbtouart/Pages/default.aspx
hey the 2103 looks interesting )
I think the statements about easy to connect to micro are marketspeak,
the 2102 appears to have a fifo. But it gave me an idea. When you use an
adapter, It gives you new UART hardware and drivers. Maybe allowing
configuration.
The FTDI chip is popular (grabbed a usb to serial off my desk and that
is what chip is used) And the drivers are well documented.
just a thought
_______________________________________________
General EVDL support: http://evdl.org/help/
Usage guidelines: http://evdl.org/help/index.html#conv
Archives: http://evdl.org/archive/
Subscription options: http://lists.sjsu.edu/mailman/listinfo/ev
Loading...