* MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB @ 2001-09-06 18:53 sword7 2001-09-06 23:25 ` Jeff Campbell 0 siblings, 1 reply; 5+ messages in thread From: sword7 @ 2001-09-06 18:53 UTC (permalink / raw) Hello folks (or Jeff): Good news! I implemented some and fixed some bugs. I encountered a few big problems during test #4, etc. In test #4, I learned and had implemented the prefetch instruction buffer. It will not work without the prefetch instruction buffer. When it turned memory management on, next instruction crashed. When it was done, a page is not affected until any branch instruction that cause the prefetch instruction flush. Also it resulted much faster! On 450 Mhz Pentium III, it is estimated VUP 1.3. Test was counted down to 3. During test #7, I got welcome messsage and starting 7 to count down on my screen. During test #3, it crashed. I looked into my debug log file and found out that some "undocumented" information in console terminal registers. It is waiting for RXCS<11> bit forever. That is not docemented in my VAX reference handbook, etc. I believe that it is one of KA630's implementations. Primary boot (console program) almost was finished before OpenVMS boot started (secondary boot ater >>> prompt). When test #3 is passed, >>> prompt will be printed. Test #2 to #0 are secondary boot for OpenVMS. Does anyone have complete console terminal registers for KA630 processor (MicroVAX II)? Thank you! -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB 2001-09-06 18:53 MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB sword7 @ 2001-09-06 23:25 ` Jeff Campbell 2001-09-06 23:47 ` Jeff Campbell 0 siblings, 1 reply; 5+ messages in thread From: Jeff Campbell @ 2001-09-06 23:25 UTC (permalink / raw) sword7@speakeasy.org wrote: > > Hello folks (or Jeff): > > Good news! I implemented some and fixed some bugs. I encountered a > few big problems during test #4, etc. In test #4, I learned and had > implemented the prefetch instruction buffer. It will not work > without the prefetch instruction buffer. When it turned memory > management on, next instruction crashed. When it was done, a page > is not affected until any branch instruction that cause the prefetch > instruction flush. Also it resulted much faster! On 450 Mhz Pentium III, > it is estimated VUP 1.3. > > Test was counted down to 3. During test #7, I got welcome messsage and > starting 7 to count down on my screen. During test #3, it crashed. I > looked into my debug log file and found out that some "undocumented" > information in console terminal registers. It is waiting for RXCS<11> bit > forever. That is not docemented in my VAX reference handbook, etc. I > believe that it is one of KA630's implementations. Primary boot (console > program) almost was finished before OpenVMS boot started (secondary > boot ater >>> prompt). When test #3 is passed, >>> prompt will be > printed. Test #2 to #0 are secondary boot for OpenVMS. > > Does anyone have complete console terminal registers for KA630 processor > (MicroVAX II)? Here's the layout for the Console Receive Control Status Register: <31:12> unused, read as zeros <11:11> RCV ACT - Receive Active. This read-only bit is set at the center of the start bit of the serial input data, and is cleared at the expected center (per DLART timing) of the stop bit at the end of the serial data. RX DONE is set one bit time after RCV ACT clears. <10:08> unused, read as zeros <07:07> RX DONE - Receiver Done. This read-only bit is set when an entire character has been received and is ready to be read from the RBUF register. This bit is automatically cleared when RBUF is read. It is also cleared by power-up, by the negation of DC OK, and by writes to the BIR. <06:06> RX IE - Receiver Interrupt Enable. This R/W bit is cleared by power-up, by the negation of DC OK, and by writes to the BIR. If RX DONE and RX IE are both set, a program interrupt is requested. <05:00> unused, read as zeros Given the description of RCV ACT, I am surprised that the firmware would be looking for it, since it will go away as soon as the stop bit for the current character is half received. Since RX DONE will then set one bit time later why bother? Here's the Console Receiver Data Buffer Register layout: <31:16> unused, read as zeros <15:15> ERR - Error. This read-only bit is set if RBUF bit 14 or 13 is set. ERR is clear if these 2 bits are clear. This bit cannot generate a program interrupt. <14:14> OVR ERR - Overrun Error. This read-only bit is set if a previously received character was not read before being overwritten by the present character. <13:13> FRM ERR - Framing Error. This read-only bit is set if the present character has no valid stop bit. <12:12> unused, read as zero <11:11> RCV BRK - Receive Break. This read-only bit is set at the end of a received character for which the serial data input remained in the SPACE condition for all eleven bit times. RCV BRK the remains set until the serial data input returns to the MARK condition. RCV BRK is also cleared by power-up and by the negation of DC OK. <10:08> unused, read as zero <07:00> Received Data Bits. These read-only bits contain the last received character. > > Thank you! > > -- Tim Stark > > -- > Timothy Stark <>< Inet: sword7@speakeasy.org > -------------------------------------------------------------------------- > "For God so loved the world, that he gave his only begotten Son, that > whosoever believeth in him should not perish, but have everlasting life. > Amen." -- John 3:16 (King James Version Bible) HTH, Jeff Campbell n8wxs@arrl.net ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB 2001-09-06 23:25 ` Jeff Campbell @ 2001-09-06 23:47 ` Jeff Campbell 2001-09-07 3:23 ` John Santos 0 siblings, 1 reply; 5+ messages in thread From: Jeff Campbell @ 2001-09-06 23:47 UTC (permalink / raw) Sorry to follow-up on my own answer but I forgot some stuff. 8-) Jeff Campbell wrote: > > sword7@speakeasy.org wrote: > > > > Hello folks (or Jeff): > > > > Good news! I implemented some and fixed some bugs. I encountered a > > few big problems during test #4, etc. In test #4, I learned and had > > implemented the prefetch instruction buffer. It will not work > > without the prefetch instruction buffer. When it turned memory > > management on, next instruction crashed. When it was done, a page > > is not affected until any branch instruction that cause the prefetch > > instruction flush. Also it resulted much faster! On 450 Mhz Pentium III, > > it is estimated VUP 1.3. > > > > Test was counted down to 3. During test #7, I got welcome messsage and > > starting 7 to count down on my screen. During test #3, it crashed. I > > looked into my debug log file and found out that some "undocumented" > > information in console terminal registers. It is waiting for RXCS<11> bit > > forever. That is not docemented in my VAX reference handbook, etc. I > > believe that it is one of KA630's implementations. Primary boot (console > > program) almost was finished before OpenVMS boot started (secondary > > boot ater >>> prompt). When test #3 is passed, >>> prompt will be > > printed. Test #2 to #0 are secondary boot for OpenVMS. > > > > Does anyone have complete console terminal registers for KA630 processor > > (MicroVAX II)? > > Here's the layout for the Console Receive Control Status Register: > > <31:12> unused, read as zeros > > <11:11> RCV ACT - Receive Active. This read-only bit is set at > the center of the start bit of the serial input > data, and is cleared at the expected center > (per DLART timing) of the stop bit at the end of > the serial data. RX DONE is set one bit time > after RCV ACT clears. > > <10:08> unused, read as zeros > > <07:07> RX DONE - Receiver Done. This read-only bit is set when > an entire character has been received and is > ready to be read from the RBUF register. This > bit is automatically cleared when RBUF is > read. It is also cleared by power-up, by the > negation of DC OK, and by writes to the BIR. > > <06:06> RX IE - Receiver Interrupt Enable. This R/W bit is > cleared by power-up, by the negation of DC > OK, and by writes to the BIR. If RX DONE and > RX IE are both set, a program interrupt is > requested. > > <05:00> unused, read as zeros > > Given the description of RCV ACT, I am surprised that the firmware > would be looking for it, since it will go away as soon as the stop bit > for the current character is half received. Since RX DONE will then > set one bit time later why bother? > > Here's the Console Receiver Data Buffer Register layout: > > <31:16> unused, read as zeros > > <15:15> ERR - Error. This read-only bit is set if RBUF bit 14 > or 13 is set. ERR is clear if these 2 bits are > clear. This bit cannot generate a program > interrupt. > > <14:14> OVR ERR - Overrun Error. This read-only bit is set if a > previously received character was not read > before being overwritten by the present character. > > <13:13> FRM ERR - Framing Error. This read-only bit is set if the > present character has no valid stop bit. > > <12:12> unused, read as zero > > <11:11> RCV BRK - Receive Break. This read-only bit is set at the > end of a received character for which the serial > data input remained in the SPACE condition for all > eleven bit times. RCV BRK the remains set until > the serial data input returns to the MARK > condition. RCV BRK is also cleared by power-up > and by the negation of DC OK. > > <10:08> unused, read as zero > > <07:00> Received Data Bits. These read-only bits > contain the last received character. > > > > > Thank you! > > > > -- Tim Stark > > > > -- > > Timothy Stark <>< Inet: sword7@speakeasy.org > > -------------------------------------------------------------------------- > > "For God so loved the world, that he gave his only begotten Son, that > > whosoever believeth in him should not perish, but have everlasting life. > > Amen." -- John 3:16 (King James Version Bible) > > HTH, > > Jeff Campbell > n8wxs@arrl.net The Console Transmitter Control Status Register is laid out: <31:08> unused, read as zeros <07:07> TX RDY - Transmitter Ready. This read-only bit is clear when the XBUF is loaded and sets when the XBUF can send another character. XMT RDY is set by power-up, negation of DC OK, and by writes to the BIR. <06:06> TX IE - Transmitter Interrupt Enable. This R/W bit is cleared by power-up, negation of DC OK, and by writes to the BIR. If both TX RDY and TX IE are set, a program interrupt is requested. <05:03> unused, read as zeros <02:02> MAINT - Maintenance. This R/W bit is used to facilitate a maintenance self-test. When MAINT is set, the external serial input is disconnected and the serial output is used as the serial input. This bit is cleared by power-up, negation of DC OK, and by writes to the BIR. <01:01> unused, read as zero <00:00> XMIT BRK - Transmit Break. When this R/W bit is set, the serial output is forced to the SPACE condition. XMIT BRK is cleared by power-up, negation of DC OK, and by writes to the BIR. The Console Transmitter Data Buffer Register is laid out as: <31:08> unused <07:00> transmit character bits. The TXDB is a write-only register. Jeff ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB 2001-09-06 23:47 ` Jeff Campbell @ 2001-09-07 3:23 ` John Santos 2001-09-07 12:09 ` sword7 0 siblings, 1 reply; 5+ messages in thread From: John Santos @ 2001-09-07 3:23 UTC (permalink / raw) On Thu, 6 Sep 2001, Jeff Campbell wrote: > Sorry to follow-up on my own answer but I forgot some stuff. 8-) > > Jeff Campbell wrote: > > > > sword7@speakeasy.org wrote: > > > > <02:02> MAINT - Maintenance. This R/W bit is used to facilitate > a maintenance self-test. When MAINT is set, the > external serial input is disconnected and the > serial output is used as the serial input. > This bit is cleared by power-up, negation of > DC OK, and by writes to the BIR. Tim - Could it be that the test sent a character in MAINT mode and is waiting for it to appear in the receiver buffer? Good luck! -- John Santos Evans Griffiths & Hart, Inc. 781-861-0670 ext 539 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB 2001-09-07 3:23 ` John Santos @ 2001-09-07 12:09 ` sword7 0 siblings, 0 replies; 5+ messages in thread From: sword7 @ 2001-09-07 12:09 UTC (permalink / raw) In comp.os.vms John Santos <JOHN@egh.com> wrote: > Tim - > Could it be that the test sent a character in MAINT mode and is > waiting for it to appear in the receiver buffer? Yes, I am aware of that. I will work on it now. -- Tim Stark -- Timothy Stark <>< Inet: sword7@speakeasy.org -------------------------------------------------------------------------- "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life. Amen." -- John 3:16 (King James Version Bible) ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-09-07 12:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-09-06 18:53 MicroVAX II (KA630) - RXCS,RXDB,TXCS, and TXDB sword7 2001-09-06 23:25 ` Jeff Campbell 2001-09-06 23:47 ` Jeff Campbell 2001-09-07 3:23 ` John Santos 2001-09-07 12:09 ` sword7
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox