www.majority.nl   Questions? Feedback?    E-mail in Dutch, English or German (preferred order) to m.majoor@majority.nl

Navigation

Home
Various
DCC600 Service mode

Projects
  Miscellaneous
  Remote control
  DVB
  BenchScope

TV
  Main
  Miscellaneous
  Chassis list
  28PW9525 Remote control
  Pioneer KRL-32V service mode

TV Service mode
  Matchline (generic)
  Remote control codes
  MG7.1E Customer Service Mode
  MG7.1E Service Alignment Mode
  MG7.1E Service Default Mode

TV Service mode tables
  A10
  EM
  EM1
  EM2
  FJ3.0
  GFL
  L01
  MG2
  MG3
  MG7


Revision history
   
2006-04-01 Updated application BenchPrint to V1.1 including some screenshots.
2006-04-01 Added application (BenchPrint), including source code, from Davide Gatti, who has made a start with a Windows program for capturing a screendump using the serial cable (printer dump). Note that this is a first release and it is very basic.
2006-03-11 Added information on using a Seiko DPU-414 printer with the BenchScope.
Added remark on use of serial cable for upload of firmware.
Added picture of one of the sample applications.
2003-12-31
27 / 23
Updated
2003-12-22 Added bootloader code
2003-12-20 First appearance
   
Projects: BenchScope

The BenchScope (model 22-300) is a digital real-time oscilloscope (20 MHz, 100 MSPS) manufactured by Wittig Technologies AG. Note: This this site is no longer publicly accessible: some parts of the site are still accessible like some PDF downloads; others not. Other Wittig sites like www.welec.de only mention the newer generation W2000 series and no longer any other product (all other products are marked as 'discontinued').
One of major benefits of this 'scope is that it is controlled, internally, by a 80C32 microcontroller and that it allows the firmware to be uploaded.
This means that it is possible for anyone to write his (or hers) own program to control the 'scope (or just to personalize his/her 'scope).
To accommodate for those who want to create there own version of the firmware, you will find a disassembly of the firmware (V2.110) below in the download section.
For those who only want to write software to interface with the 'scope (it has a RS232 interface with which it connects to a computer), the firmware also reveals the commands used for communication.
Hints: Upgrading the firmware (official or home-brew) can be a tricky business. You use the firmware upgrade utiltity from the manufacturer but it is known to fail. It is best to startup the 'scope in 'upload' mode (press 'SELECT I' and then power up the 'scope - it will then beep at intervals) and then do an upload (the beeping will stop when the first data is being received).
If you upload new firmware using the other method (eg. the 'scope has powered up normally and then you initiate the upload) then all seems to go well. However, the downloaded data is most likely not 'stored'.
Note: Put the serial cable of the BenchScope directly into the COM-port of the computer and do not use a switch-box or extension cables. When you do, interference might abort the upload prematurely. This is most noticable because the upload indicator (the download button, which will display the current upload-address) will 'stall'.
Note: The disassembly is extremely preliminary. It is a working disassembly (passing it through a 8051 assembler will/should generate the same code as the original firmware does), but it lacks comments (work in progress).
Note: The original firmware (V2.11) has some bugs (like almost all software). One obvious bug is the serial command starting with $04 (L4B29) and another might be in LLCDClearPage. Firmware version V2.3 has the same possible bugs.
Note: Tampering with the 'scope (or changing it's firmware with non-official firmware) will almost certainly result in loosing the manufacturers warranty!

BENCHSCOPE

Printer output

(Thanks to Prof. Detlef Zuehlke for the printer information)
The BenchScope has a print function. Although the BenchScope manual does not indicate which printer it supports, you can use the Seiko DPU-414 printer (or a compatible one). The BenchScope uses the "ESC+ “^” +m+n1+n2" sequence for transmitting data to the printer. The actually sequence transmitted is:
$1B $5E $01 $E0 $01 ... data ... $0D $1B $4A $10 Note: the trailing $1B $4A $10 is a 'feed' command

The printer is connected through the serial interface of the BenchScope. The printer has to be set to 19200 baud, 8 databits, no parity, and the connecting cable must be a crossover cable. If you want to use the serial cable you use for connecting it to the PC, then you have to add a null-modem adapter in the connection.
For the DPU-414 printer to operate at the indicated baudrate, some DIP-switches need to be set correctly (bold settings are required settings, the others may vary):
SW1 (1-8): OFF ON ON ON ON OFF ON ON
SW3 (1-8): ON ON ON ON OFF ON ON OFF

BENCHPRINT  (20 kb, V1.1, Last updated: 2006-04-02)

This material has been provided by Davide Gatti.
Windows application (including Visual Basic source code) for capturing a screendump using the serial cable (printer dump).
Here is a screendump from the download above ...
CAPTURELO

BENCHSCOPE  (223 kb, Last updated: 2006-04-01)

8051 assembler source code (disassembly) of V2.110 official firmware.
Also includes the latest version (V2.3) disassembly (direct output from the disassembler -> no 'reformatting' applied)
The disassembly is particulary suited for the Keil A51 assembler.
Includes a utility to dump the bootloader code to the serial port. The binary dump of this utility and the disassembled bootloader code is also included.
Includes a sample application which controls the LED's, beeper, LCD contrast and gives feedback on the LCD screen of these 'tests'.
Includes a sample application which displays the button inputs (both normal buttons and rotary button). Feedback is on the LCD.
Note: The disassembler which was used to generate the disassembly can be found on the Projects page (DIS8051WIN.ZIP).
Below is a picture of one of the sample applications from the download above .....
SCOPELED

www.majority.nl   Questions? Feedback?    E-mail in Dutch, English or German (preferred order) to m.majoor@majority.nl