OpenBCM V1.13 (Linux)

Packet Radio Mailbox

DB0FHN

[JN59NK Nuernberg]

 Login: GUEST





  
DL4MCZ > DSP      03.04.95 15:11l 67 Lines 2561 Bytes #999 (999) @ EU
BID : 0345DB0AABUU
Read: DL1EBI DL8DAV DJ7UA DL2WP DG4DBF GUEST DK5RAS
Subj: patches for TI_SOFT LOADER.EXE!
Path: DB0GOS<DB0END<DB0ACC<DB0QS<PI8AIR<DB0OVN<DB0NDK<DB0AIS<DB0HOM<DB0RBS<
      DB0CRL<DB0KCP<DB0AAB
Sent: 950403/1329z @:DB0AAB.#BAY.DEU.EU [Muenchen FH OP:DG5MGN] BCM1.36e
From: DL4MCZ @ DB0AAB.#BAY.DEU.EU  (Alfred)
To  : DSP @ EU

Hi there,

I've tested the TI_SOFT programs, that Mario (DJ7UA) sent to this board
recently, on my TMS320C26 Development Support Kit and proved, they work very
well.

Unfortunately, the LOADER.EXE Program initializes the RTS Line of the PC's
COM Port to "1". This turns my transceiver to transmit mode, because I have
configured my DSK Hardware to work with HB9JNX's excellent AMTOR/PACTOR
software (This software uses the RTS line to control the transceiver's PTT
via an Open-Collector NPN Transistor).

To fix that, change the following two lines in the supplied sourcecode file
"MDM_DRV2.CPP" and compile the whole stuff to a new LOADER.EXE:

Old>  asm  mov  AL,0xA              //RTS=1, DTR=0
New>  asm  mov  AL,0x8              //RTS=0, DTR=0

Old>  asm  mov  AL,0xB              //RTS=1, DTR=0
New>  asm  mov  AL,0x9              //RTS=0, DTR=1

For those, who don't have a C++ compiler available (I don't have one, either),
I have identified the location of these changes from the disassembly of the
file LOADER.EXE, so you can simply patch your LOADER.EXE file with a HEX editor.
Be sure, to save a copy of the original LOADER.EXE before you try to patch it,
just in case it doesn't work properly. Thus you will be able to restore the
original state!

The given patches apply to the file LOADER.EXE from the TI_SOFT distribution
mentioned above, dated 06.02.94, 19:39 (or 7:39 pm), size 39644 Bytes:

Location: 4B9D,      change 0A to 08
Location: 4BB7,      change 0B to 09


Another drawback is, that one of my portable computers can not domnload the
DSP program at full baud rate. Half baud rate works fine. You can accomplish
that by pushing the "Arrow Down" Button while LOADER is trying to download at
full (default) baud rate without success.
For the long term, however, this is rather bothering. So here is another patch
to change the default baudrate to half (or quarter) of the original rate.
In the sourcecode file "LOADER.CPP" change the line:

Old>  baud = 1;
New>  baud = 2;

to get half of the original baud rate for default. You could also put a "4"
there to get a quarter of the original baudrate.

Again, here comes also a patch for the executable file:

Location: 408C,      change 01 to 02 (or 04, respectively)

Disclaimer
==========

I shall not be liable for any direct, indirect, consequential or incidential
damages arising out of the use of the above information. Whatever you do with
it, you'll do it entirely on your own risk!

Good luck with your TI-DSK!

Alfred


Read previous mail | Read next mail


 10.01.2026 16:56:05lGo back Go up