Hand made HSI-88

Moderator: Moderators

Hand made HSI-88

Postby Eugene » 20.01.2010, 16:58

Hello everyone.
There is a problem with HSI-88. When you start Rocrail queries the adapter receives a version that seems to be all right. But then he did not call to the adapter. Firmware was written strictly according to the description of the protocol HSI. What could be wrong?

Code: Select all
20100120.205536.255 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.301 r9999I hsi88fb  OHSI88   0334 Version info requested...
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.301 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.317 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999I hsi88fb  OHSI88   0341 ver. 1.01 / 12.01.10 / HSI-88
/ Antobel
20100120.205536.333 r9999D hsi88fb  OHSI88   0425 HSI-88 init
20100120.205536.333 r9999W hsi88fb  OHSI88   0362 Tossing 1 bytes to wastebasket
...
20100120.205536.333 r9999D 00000434 OThread  0209 queue[broadcast][ClientCon Bro
adcaster] items 0
20100120.205536.333 r9999D 00000434 OEvent   0076 rocs_event_set OK []
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r9999I hsi88fb  OHSI88   0341 ver. 1.01 / 12.01.10 / HSI-88
/ Antobel
20100120.205536.333 r9999D hsi88fb  OHSI88   0425 HSI-88 init
20100120.205536.333 r9999W hsi88fb  OHSI88   0362 Tossing 1 bytes to wastebasket
...
20100120.205536.333 r9999D 00000434 OThread  0209 queue[broadcast][ClientCon Bro
adcaster] items 0
20100120.205536.333 r9999D 00000434 OEvent   0076 rocs_event_set OK []
20100120.205536.333 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.333 r0000I hsi88fb  OHSI88   *trace dump( 0x02D5F710: length=1 )

    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|

    --------------------------------------------------------- |----------------|

    00000000: 0D                                              |.               |

20100120.205536.333 r9999D broadcas OEvent   0103 rocs_event_wait OK []
20100120.205536.348 r9999D broadcas OEvent   0087 rocs_event_reset OK []
20100120.205536.348 r9999D broadcas OEvent   0087 rocs_event_reset OK []
20100120.205536.395 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.442 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.489 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.535 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.598 r9999D hsi88fb  OSerial  0336 Serial[com1] 1 sent.[rc=0]
20100120.205536.645 r9999I hsi88fb  OHSI88   0429 Init sent. Waiting for respons
e...
20100120.205536.645 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.645 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.645 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.645 r9999I hsi88fb  OHSI88   0435 Got init response
20100120.205536.645 r9999I hsi88fb  OHSI88   0437 S88 connected modules: 1
20100120.205536.660 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.660 r9999D hsi88fb  OHSI88   0504 Byte available: 0x69
20100120.205536.660 r9999D hsi88fb  OHSI88   0510 Info received, waiting for mod
ule count...
20100120.205536.660 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205536.660 r9999D hsi88fb  OHSI88   0514 1 modules
20100120.205536.660 r9999D hsi88fb  OHSI88   0519 reading module data 0...
20100120.205536.660 r9999D hsi88fb  OSerial  0395 Serial[com1] 3 read.[rc=0]
20100120.205536.660 r9999D hsi88fb  OHSI88   0521 module data 0=0x01 0x00 0x00
20100120.205536.660 r9999D hsi88fb  OHSI88   0559 Waiting for CR response...
20100120.205536.660 r9999D hsi88fb  OSerial  0395 Serial[com1] 1 read.[rc=0]
20100120.205537.222 r9999I main     OApp     0740 MemOp.getAllocCount() = 7273
20100120.205636.206 r9999D clocktic OThread  0209 queue[broadcast][ClientCon Bro
adcaster] items 0
20100120.205636.206 r9999D clocktic OEvent   0076 rocs_event_set OK []
20100120.205636.206 r9999D broadcas OEvent   0103 rocs_event_wait OK []
20100120.205636.206 r9999D clocktic OControl 0236 NodeOp.getName=clock
20100120.205636.206 r9999D broadcas OEvent   0087 rocs_event_reset OK []20100120
.205636.206 r9999I 00000F40 OHSI88   0208 clock: set

20100120.205636.206 r9999D broadcas OEvent   0087 rocs_event_reset OK []
[/quote]
RocRail, OpenDCC by Wolfgang Kufer. Hand made S88. Hand made XpressNet throttle (in progress).
New priorities: N, America, BNSF.
Eugene
 

Return to HSI88