ts-7000
[Top] [All Lists]

[ts-7000] more MIDI questions

To:
Subject: [ts-7000] more MIDI questions
From: Michael Hawkins <>
Date: Mon, 3 Apr 2006 08:45:37 -0700 (PDT)
Peter and all,

thanks for the tips. As a follow up this is what I just asked

I am considering the TS-7200 for a new application.
I would need to utilize the 20 DIO?s on hardware being developed myself. However, I would also need to be able to send an interrupt from this hardware to the TS-7200 to handle time critical events.
Is there an interrupt facility available through the DIO?s? Or is there an interrupt facility available through the PC-104 interface? Or, would you be able to supply a schematic of the entire TS-7200 so that I can understand the hardware capabilities?
Also, I see that the TS-7300 supports 8 COM?s. It may be possible for me to utilize this board instead of the TS-7200 but only if the com ports are able to be set to RX and TX at 31.25Kbps. This is not a standard speed. In particular, if the com ports are based on the 8250/16550 type UART then it?s unlikely I will be able to set the speed to 31.25Kbps. But perhaps the UART?s are not based on that architecture and thus maybe they can be set to 31.25Kbps.
Many thanks for your help,


wrote:
There are 20 messages in this issue.

Topics in this digest:

1. Re: getting started
From: Jim Jackson
2. Re: MIDI product development
From: "Rich Wilson"
3. Re: Floating point
From: "Eddie Dawydiuk"
4. Re: Re: Floating point
From: "Eddie Dawydiuk"
5. Re: Floating point
From: "dawydiuk"
6. Re: Floating point
From: "Yan Seiner"
7. Re: Re: Floating point
From: Lennert Buytenhek
8. Keyboard Problem.
From: David Huffman
9. Re: Keyboard Problem.
From: "jerrywrice_fabnexus"
10. Re: Re: Keyboard Problem.
From: "Eddie Dawydiuk"
11. Re: Keyboard Problem.
From: Mike Dodd
12. Re: Re: Floating point
From: "Eddie Dawydiuk"
13. Re: MIDI product development
From: "patrioticduo"
14. Re: MIDI product development
From: "PeterElliot"
15. PRISMIQ wireless usb interface
From: "nattu_nn"
16. SER4 Boards - Two (2) with the TS7200
From: "amalgamatedsystems"
17. Initial permissions for ramfs
From: "Tom Hansen"
18. Initial permissions for ramfs
From: "Tom Hansen"
19. Re: Re: Keyboard Problem.
From: David Huffman
20. IDE Failure??
From: David Huffman


________________________________________________________________________
________________________________________________________________________

Message: 1
Date: Wed, 29 Mar 2006 15:38:51 +0100 (BST)
From: Jim Jackson
Subject: Re: getting started




On Tue, 28 Mar 2006, francis wrote:

> hi,
>
> I am new to the group, i have just started my final year project for
> university.
>
> I have a ts -7200 Arm board with an embedded linus op installed
> i have to create a data aqusition system which can read in a series of
> inputs ands output the data, one example sugested was temperature
> reading.
>
> any advice as to were to start would be great, i think i will need to
> write a parallel port driver?? but as of yet still getting no were

Convert temperature to voltage, and use an ADC - does your board have
the MAX197 ADC option? If so then its's trivial.

There are example ADC software on my website, check out.....

http://www.comp.leeds.ac.uk/jj/linux/arm-sbc.html

Jim


________________________________________________________________________
________________________________________________________________________

Message: 2
Date: Wed, 29 Mar 2006 09:31:42 -0800
From: "Rich Wilson"
Subject: Re: MIDI product development

Mike,

I have written MIDI programs to run under Linux. Unfortunately, not on
the TS7200,
however. One of the MIDI interfaces I've used is the Edirol UM-1X, which has a
USB interface. This works out of the box for modern distrubutions with Alsa,
although I've had some trouble with various combinations of hardware and
distributions. I keep distribution hopping until I find one that works.

You might not have such luck with 2.4 kernels, however. It could be a project
to get it working. Maybe someone else here has tried and can comment.

I'm designing my own PC104 MIDI interface card to use with
the TS family, but am proceding very slowly, so don't hold your breath.
The MIDI is a secondary feature, and may be left out on the assumption
that I can get the USB device to work. I would be interested in hearing of
your MIDI experiences with the TS7200.

Rich

--
Rich Wilson

425-337-7129


________________________________________________________________________
________________________________________________________________________

Message: 3
Date: Wed, 29 Mar 2006 12:16:40 -0700 (MST)
From: "Eddie Dawydiuk"
Subject: Re: Floating point

> No, not directly, however the glibc version of _dtoa that the gnu
> classpath from java calls seems to be wonky
>
> I get numbers like 25.0000000876 for 25.0

In the past people have had problems with using different version of
gcc when crosscompiling. Also there was a problem with glibc about
a year ago that has been corrected...

So if you run the following program what is the output?


#include
int main(int argc, char **argv) {

double d = 25.0;
printf("25.0 = %10.10f\n",d);
return 0;
}

I've also included a binary to help troubleshoot the problem...

//Eddie

> On 24-Mar-06, at 7:44 PM, Yan Seiner wrote:
>
>> Has anyone worked with floating point on this board? I am
>> experiencing some problems - getting garbage and segfaults while
>> using floating point math - and I want to eliminate the kernel
>> emulation code as a possible source.
>>
>> I doubt it is the kernel code, but I want to make sure....
>>
>> --Yan
>>
>>
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
----------

#include
int main(int argc, char **argv) {

double d = 25.0;
printf("25.0 = %10.10f\n",d);
return 0;
}



[This message contained attachments]



________________________________________________________________________
________________________________________________________________________

Message: 4
Date: Wed, 29 Mar 2006 12:21:00 -0700 (MST)
From: "Eddie Dawydiuk"
Subject: Re: Re: Floating point

Hello,

>> I get numbers like 25.0000000876 for 25.0
>
> I get numbers like 0.5 * 100 / 3 = -0.0003 . Definitely not right...

To ensure this isn't the same problem we've fixed with glibc could
you run an md5sum on /lib/libc-2.3.2.so.

The md5sum should be as follows.

683419c4a26c1131e66a5928571034aa libc-2.3.2.so

//Eddie


________________________________________________________________________
________________________________________________________________________

Message: 5
Date: Wed, 29 Mar 2006 19:26:30 -0000
From: "dawydiuk"
Subject: Re: Floating point

> To ensure this isn't the same problem we've fixed with glibc could
> you run an md5sum on /lib/libc-2.3.2.so.
>
> The md5sum should be as follows.
>
> 683419c4a26c1131e66a5928571034aa libc-2.3.2.so

The comment above is assuming you are running your program on the
onboard flash. Please let me know if this assumption is incorrect...

//Eddie





________________________________________________________________________
________________________________________________________________________

Message: 6
Date: Wed, 29 Mar 2006 20:49:16 -0000
From: "Yan Seiner"
Subject: Re: Floating point

--- In "dawydiuk" wrote:
>
> > To ensure this isn't the same problem we've fixed with glibc could
> > you run an md5sum on /lib/libc-2.3.2.so.
> >
> > The md5sum should be as follows.
> >
> > 683419c4a26c1131e66a5928571034aa libc-2.3.2.so
>
> The comment above is assuming you are running your program on the
> onboard flash. Please let me know if this assumption is incorrect...
>
> //Eddie
>

Eddie:

The issue turned out to be a broken dtoa() in the KDE / konqueror
_javascript_ source.... Bascially, it doesn't work for arm
architecture. More here if you want the gory details:


Nothing to do with glibc. :-)

--Yan






________________________________________________________________________
________________________________________________________________________

Message: 7
Date: Thu, 30 Mar 2006 01:45:08 +0200
From: Lennert Buytenhek
Subject: Re: Re: Floating point

On Wed, Mar 29, 2006 at 12:21:00PM -0700, Eddie Dawydiuk wrote:

> >> I get numbers like 25.0000000876 for 25.0
> >
> > I get numbers like 0.5 * 100 / 3 = -0.0003 . Definitely not right...
>
> To ensure this isn't the same problem we've fixed with glibc

Is your diff available somewhere?


cheers,
Lennert


________________________________________________________________________
________________________________________________________________________

Message: 8
Date: Wed, 29 Mar 2006 16:11:05 -0800 (PST)
From: David Huffman
Subject: Keyboard Problem.

Hello:

I recently purchased a TS7000 board from Technologic
Systems. Last night I hooked up the null modem
RS-232 cable and watched it boot using the HyperTerm
terminal emulator. Once it got to the login prompt
I was unable to type the word "root" (or any other
word for that matter) from the keyboard. The data
from the keyboard does not appear to get sent to
the SBC. Can anyone help me out here?

Thanks,
-Dave



________________________________________________________________________
________________________________________________________________________

Message: 9
Date: Thu, 30 Mar 2006 00:39:06 -0000
From: "jerrywrice_fabnexus"
Subject: Re: Keyboard Problem.


Dave,

I use a 7250 board, and experienced the same behavior. I stopped
using HyperTerminal, and instead use PROCOMM in VT100 emulation mode.
It works fine now. I never investigated why HyperTerminal was doesn't
work properly.

Jerry


--- In David Huffman wrote:
>
> Hello:
>
> I recently purchased a TS7000 board from Technologic
> Systems. Last night I hooked up the null modem
> RS-232 cable and watched it boot using the HyperTerm
> terminal emulator. Once it got to the login prompt
> I was unable to type the word "root" (or any other
> word for that matter) from the keyboard. The data
> from the keyboard does not appear to get sent to
> the SBC. Can anyone help me out here?
>
> Thanks,
> -Dave
>







________________________________________________________________________
________________________________________________________________________

Message: 10
Date: Wed, 29 Mar 2006 17:45:15 -0700 (MST)
From: "Eddie Dawydiuk"
Subject: Re: Re: Keyboard Problem.

> I use a 7250 board, and experienced the same behavior. I stopped
> using HyperTerminal, and instead use PROCOMM in VT100 emulation mode.
> It works fine now. I never investigated why HyperTerminal was doesn't
> work properly.

Make sure you have hardware and software flow control turned off.

//Eddie

> --- In David Huffman wrote:
>>
>> Hello:
>>
>> I recently purchased a TS7000 board from Technologic
>> Systems. Last night I hooked up the null modem
>> RS-232 cable and watched it boot using the HyperTerm
>> terminal emulator. Once it got to the login prompt
>> I was unable to type the word "root" (or any other
>> word for that matter) from the keyboard. The data
>> from the keyboard does not appear to get sent to
>> the SBC. Can anyone help me out here?
>>
>> Thanks,
>> -Dave
>>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


________________________________________________________________________
________________________________________________________________________

Message: 11
Date: Wed, 29 Mar 2006 19:47:01 -0500
From: Mike Dodd
Subject: Re: Keyboard Problem.

> ...watched it boot using the HyperTerm
> terminal emulator. Once it got to the login prompt
> I was unable to type the word "root" (or any other
> word for that matter) from the keyboard. The data
> from the keyboard does not appear to get sent to
> the SBC. Can anyone help me out here?

I use HyperTerm with my 7250 all the time. Since you can watch the boot
process, the baud rate is correct. If you connect HyperTerm to another
PC, can the two communicate?

What happens when you type 'root' on the keyboard and press Enter? I'm
thinking maybe the local echo is turned off, and you just aren't seeing
the characters you're typing. Try typing "root" AND pressing ENTER, to
see if you get a response. (But you've probably done this already.)

Mike

--

Mike Dodd - Montpelier, VA
http://www.mdodd.com


________________________________________________________________________
________________________________________________________________________

Message: 12
Date: Wed, 29 Mar 2006 17:55:41 -0700 (MST)
From: "Eddie Dawydiuk"
Subject: Re: Re: Floating point

Hello,

> Is your diff available somewhere?

The updated version of glibc 2.3.2 came from Debian Sarge.... Sorry no diff.

//Eddie


________________________________________________________________________
________________________________________________________________________

Message: 13
Date: Wed, 29 Mar 2006 02:50:00 -0000
From: "patrioticduo"
Subject: Re: MIDI product development

Thanks Mike,

in this particular application I am looking at anywhere from 4 up to
64 MIDI ins and outs and the entire product needs to be very robust
(to handle road trips and live performance conditions) and have as
near to zero latency as possible. I am not sure that USB is the best
way to reach those goals.

GCC sounds good to me although Eclipse is something I'm familiar with.

Thanks for your input.

Mike H.

--- In Mike Dodd wrote:
>
> > Oh how times have changed! [...]
> >
> > Does anyone know of a PC104 MIDI interface that is NOT based on the
> > MPU-401?
> > Does a PC104 serial card generally use the Intel 8250/16550 chip?
> > Has anyone done a clock hack on such a card in order to make it work
> > at 31.250Kbps? Does anyone know if Linux can set the card to
> > 31.250Kbps out of the box? Or will I need to hack it?
>
> Charging in from the periphery of MIDI.... Have you considered a USB
> MIDI interface? Seems like you could write a driver for one of these
> without much effort, or maybe Linux drivers already exist.
>
> > And finally, I am somewhat new to Linux application development so
> > would I be right in saying that gcc is my friend? Or what sort of IDE
> > would people recommend considering that I lived and breathed Borland
> > Turbo C++ about ten years ago (I am now a network engineer that only
> > dabbles in Java, VisualStudio, perl on MS platform but trust me, I
> > can't take MS any longer!).
>
> I do all my stuff in a text editor (on a Windows box; sorry), then
> compile at the command line with gcc on the 7250. If you have Linux
on a
> desktop, I believe KDevelop is a good IDE, and Eclipse is widely
used. I
> haven't found time to try either of them, though.
>
> Mike
>









________________________________________________________________________
________________________________________________________________________

Message: 14
Date: Thu, 30 Mar 2006 02:19:09 -0000
From: "PeterElliot"
Subject: Re: MIDI product development

Hi Mike,

Check out the TS-7300. It has 10 RS232 ports. by default (TX/RX only
on 8 of them). 8 of the serial ports are provided by the FPGA, and it
should be possible to send the serial to the multi-pin header to be
converted into MIDI format (i'd recommend adding isolation to each
interface). There are around 50 free io lines connected to
the FPGA, so in theory you should be able to do over 20 MIDI links
from the base board.

The software for the FPGA is free from Altera, and Technologic
Systems can probably provide you with a minimum FPGA configuration to
talk to the main CPU...

It sould be possible to get the MIDI ports to run at 31.25kbps by
changing the input clock to a standard serial FPGA block.


Regards,

Peter



--- In "patrioticduo"
wrote:
>
> Thanks Mike,
>
> in this particular application I am looking at anywhere from 4 up to
> 64 MIDI ins and outs and the entire product needs to be very robust
> (to handle road trips and live performance conditions) and have as
> near to zero latency as possible. I am not sure that USB is the best
> way to reach those goals.
>
> GCC sounds good to me although Eclipse is something I'm familiar
with.
>
> Thanks for your input.
>
> Mike H.
>
> --- In Mike Dodd wrote:
> >
> > > Oh how times have changed! [...]
> > >
> > > Does anyone know of a PC104 MIDI interface that is NOT based on
the
> > > MPU-401?
> > > Does a PC104 serial card generally use the Intel 8250/16550
chip?
> > > Has anyone done a clock hack on such a card in order to make it
work
> > > at 31.250Kbps? Does anyone know if Linux can set the card to
> > > 31.250Kbps out of the box? Or will I need to hack it?
> >
> > Charging in from the periphery of MIDI.... Have you considered a
USB
> > MIDI interface? Seems like you could write a driver for one of
these
> > without much effort, or maybe Linux drivers already exist.
> >
> > > And finally, I am somewhat new to Linux application development
so
> > > would I be right in saying that gcc is my friend? Or what sort
of IDE
> > > would people recommend considering that I lived and breathed
Borland
> > > Turbo C++ about ten years ago (I am now a network engineer that
only
> > > dabbles in Java, VisualStudio, perl on MS platform but trust
me, I
> > > can't take MS any longer!).
> >
> > I do all my stuff in a text editor (on a Windows box; sorry),
then
> > compile at the command line with gcc on the 7250. If you have
Linux
> on a
> > desktop, I believe KDevelop is a good IDE, and Eclipse is widely
> used. I
> > haven't found time to try either of them, though.
> >
> > Mike
> >
>










________________________________________________________________________
________________________________________________________________________

Message: 15
Date: Thu, 30 Mar 2006 02:59:49 -0000
From: "nattu_nn"
Subject: PRISMIQ wireless usb interface

What do I need to get this to work with my TS7250?
Running out if ideas! If anyone can give me step-by-step
instructions, I will greatly appreciate it.

Thanks in advance






________________________________________________________________________
________________________________________________________________________

Message: 16
Date: Thu, 30 Mar 2006 03:04:24 -0000
From: "amalgamatedsystems"
Subject: SER4 Boards - Two (2) with the TS7200

Hi All,
Has anyone used two (2) TS-SER4 boards with the TS-7200? I would
really like 8 serial ports for an application I have.

The current kernel only supports 4 ports (refer #define RS_TABLE_SIZE
4 in the ../include/asm-arm/arch/serial.h file) I have modify this to
8 and updated the STD_SERIAL_PORT_DEFNS initialisation. The kernel
boots ok and the 'setserial' reports fine. However, when I try to use
any of the ports they either work very slowly or simply just hang the
board.

Has anyone tried this? Is there something else that needs to be
changed/checked in the kernel? Any clues?

My modified 'serial.h' is below.

Thanks & regards,

Clive


/*
* linux/include/asm-arm/arch-integrator/serial.h
*
* Copyright (C) 1999 ARM Limited
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
*/
#ifndef __ASM_ARCH_SERIAL_H
#define __ASM_ARCH_SERIAL_H

#include
#include

/*
* This assumes you have a 1.8432 MHz clock for your UART.
*
* It'd be nice if someone built a serial card with a 24.576 MHz
* clock, since the 16550A is capable of handling a top speed of 1.5

=== message truncated ===


New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU