Home
Mk6 Emulator Driver User Manual:
Contents
1. a memory addreSS kirn eniri aa araue raae eana E i eTA eaa E Ea A EATON AA a Taa 9 sD PASS COUN Eerie D TRU 9 Ero E AEE E E E E E E T 9 Sea racer 9 q Sound option zie ERR Ep EVE dele dees eee eee 9 Memory Clear Command m B ccccecc cece ence ence eee eee e eese mene ee es enne 10 Mode 3 Target Hardware Control amp Status ss 10 X Switch target to run execute ssssssssssssssssesssese esee 10 CV UT FEE REM 11 i DOOR idiot eye x tee xa e REANO RUIT SRRYN E KE de cubhalen eR CERRAR MXN ERE E REN aay eres 11 Seu PAAT EEA ater nt rion s cider ior v rod vedete eode raduno dou Psp donor croco demo D ro ea 11 tirs EE EA TE E ido Lee an D LB E e Roches ae ESCO UNS cu E uM RI RI UM Ati addi e 11 C TERT 11 GEDUGEVEl pehea e a E OA EDET EEI LEA E EA ET a a ia NDE 11 Examples saci sae das det tee as saceuw as vasVa bia aV REVERSE itive L2 Appendices tree enne n RR ROC ROG e CR On Rn ees C RO ES RON RR E sas dae Cds 13 Usage Sree T Dm ETMIE 13 Mk6 Emulator LEDs and Buttons ccc cece cece eee eee Im esee en ee ense eee en nnns 13 CPUB Led function definitions ssssssssssssssssssssss em mme me see e hes esee nenne 13 MCB ked Definitions eec Lege tt rt rex ER p o dad ean FER REQUIRE EAE 14 Pushbutton Switches on CPUB isssssssssssssssI Im me me he see en e hene e ne en nens 14 EPUB Uump6Es s i t teet tenete cafa verdes Potete ea e Rar terr
2. The following memory test types are currently implemented 0 list memory test s test s memory with hex OXAAAAAAAA and hex 0x55555555 2 Moving single 1 and single zero bit thou out memory 3 Inc byte Patten test 4 Inc word 16bit Patten test 5 Inc long 32bit Patten test 6 Random 32bit Patten test 7 Not used 8 Memory Clear see special Memory Clear command description s test size Function OPTION Memory test size Description RQ OPTI ON Set the number of bytes to memory test Notes Max test size is 64 Megabytes Test size must be in 512 byte increments You can also prefix the size with k K or m M Author Lachlan Audas Page 8 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A sk or K to multiply the following value by 1024 i e dec s k1 1024 dec hex s kOx10 or s kx10 16 384 dec 0x4000 hex sm or M to multiply the fowling value by 1048576 i e dec s m23 24 117 248 dec hex s mOx10 or s mx10 16 777 216 dec 0x100 0000 hex a memory address Function OPTI ON Specify Memory Test Start Offset Address Description This optional command line parameter specifies Start Offset memory address for testing Emulation memory on USB target memory board If this parameter is omitted the address defaults to zero Notes Address is specified in words not bytes word size is 32 bits Address can be in Dec i e a 128 Or Hex i e a Ox
3. 0 Notes It is important for all Target emulator systems to have a unique ID This ID is set by the rotary switch on the Target Emulator USB CPU board id value s are from 0 to 15 If two or more USB Target Emulators have the same ID the software will terminate with duplicated USB Target Emulators error b memory bank Function OPTION Select memory bank on USB target system Description This optional parameter allows selecting a Memory Bank on the Target Emulator system Some explanation and Definition of what constitutes a Memory Bank are necessary here Mk6 Emulator is a modular system which consists of a CPU USB Board CPUB and up to 6 Memory Carrier Boards MCB otherwise referred to as Memory Banks Each of the MCBs Memory Banks can carry up to 4x16Mbyte Single In line Memory Modules SIMMs Two configurations are possible and legal Minimum 2xSI MMS 32Mbytes or Maximum 4xSI MMS 64Mbytes of Emulation Memory which also corresponds to a 64Mbyte address space limit on the Mk6 Target hardware memory system q Sound option Function OPTION Select sound status option Description The Following values for Sound Option are allowed 0 The speaker sound is disabled 1 Sound on errors only 2 Sound on competition of task Author Lachlan Audas Page 7 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A If s Sound option parameter is not set to 0 or if it is not present in the command line Default sound is enabled and
4. operates as follows On error 4 low pitch beeps On completion of task such as upload or download 2 medium pitch beeps Note Sound uses the PC speaker for sound rather then a sound card Mode 2 Memory test and Memory Clear Memory test is designed to verify correct operation of the Emulation memory At first a special memory test pattern is generated and stored as an array in the memory of the host computer system Then the test pattern is transferred over USB and written to the Target Emulator system Emulation memory The Emulation Memory content is then read back into the host computer system and verified against the original memory test pattern Memory Clear introduced in Version 1 02 was designed to clear memory content or more generally fill memory content with a specified fill pattern Notes t is compulsory to specify s memory size parameter to run the memory test Pass count is 1 unless overwritten by p pass count option Target system is reset and remains reset after emulation memory test completes Warning Memory Test might take a very long time to run Test patterns are build in the host computer memory and might use up to 128 Megabytes of host computer memory for a 64 Mbyte memory test m memory test type Function Memory Test Command Description This command invokes emulation memory test on the Target Emulator system The Memory test type parameters specified the type of memory test to be run
5. target to run execute Function COMMAND Switch target system to run execute mode Author Lachlan Audas Page 10 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Description x Stands for Execute This command line option releases RESET on target hardware system and enables Mk6 CPU access to Emulation Memory thus letting the Mk6 Target CPU execute code loaded into Emulator memory Notes This command can be executes by its self or after upload from or download to the target system are complete f this command is not specified in the command line target system will remain in reset state y Function COMMAND Halt the Mk6 Target hardware system Description y Activate Mk6 hardware RESET line disables Mk6 CPU to Emulation memory and keep it in the reset state It is opposite in functionality to x execute command i board_id Function OPTI ON Specify Emulator USB ID Description See i Board ID option description in the Section Describing Mode 1 operation L Function COMMAND List all USB target system s and memory configurations connected to this host computer system Description The following screen capture shows the expected result of the execution of this command t Function COMMAND Allow Mk6 target system CPU to write to USB EPROM emulator memory Description The following screen capture shows the expected result of the execution of this command u Function COMMAND Disable target w
6. 100 or a x300 You can also prefix the address with k K or m M k or K to multiply the fowling value by 1024 i e dec a k1 1024 dec hex a kOx10 or a kx10 16 384 dec 0x4000 hex m or M to multiply the fowling value by 1048576 i e dec a m23 24 117 248 dec hex a mOx10 or a mx10 16 777 216 dec 0x100 0000 hex p pass count Function OPTION Set number of memory test passes Range 1 to 4 294 967 295 or how ever long you can wait i board id Function OPTI ON Specify Emulator USB ID Description See i Board ID option description in the Section Describing Mode 1 operation b memory bank Function OPTION Select memory bank on USB target system Description See b Select Memory Bank description in the Section Describing Mode 1 operation q Sound option Function OPTION Select sound status option Description The Following values for Sound Option during Memory test are defined On error 4 low pitch beeps On completion of task 2 medium pitch beeps On memory test pass complete 1 heigh pitch beep Note Sound uses the PC speaker Not add on sound cards 0 Disable sound Author Lachlan Audas Page 9 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A 1 Sound on error s only 2 Sound on competition of task 3 Sound on memory pass Memory Clear Command m 8 Special explanation is required for Memory Clear command usage Memory clear w
7. 16 384 dec 0x4000 hex sm or M to multiply the fowling value by 1048576 i e dec s m23 24 117 248 dec hex s mOx10 or s mx10 16 777 216 dec 0x100 0000 hex Author Lachlan Audas Page 6 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A X Function COMMAND Switch target system to run execute mode Description x Stands for Execute This command line option releases RESET on target hardware system and enables Mk6 CPU access to Emulation Memory thus letting the Mk6 Target CPU execute code loaded into Emulator memory Notes This command can be executes by its self or after upload from or download to the target system are complete f this command is not specified in the command line target system will remain in reset state i board id Function OPTI ON Specify Emulator ID Description This command option specifies the Target Emulator system ID for execution of commands such as download w upload r target hardware reset x halt x or Memory test m There can be up to 16 emulator systems connected to the Host Computer Emulator ID are set via a rotary switch on the USB CPU Board Setting this option allows the user to unplug or plug in different USB target controllers into the host PC So that the driver commands will always refer to the same USB target system even if you move the USB target system to a different USB port If this option is not Specified the system will default to USB target
8. Emulator USB Driver V1 3A Appendices Usage screen mk6romemusbdriver exe h help h Displays this information debug d args Set the debugging level Ex d 1 version V Display the version info writedata w args Write file to target memory Ex w filename s k128 readdata r args Read from target to file Ex r filename s m32 address a args Target byte memory address must be on 32bit word boundary Ex a a 0x128 default 0x00 if not given size S args Number of bytes to Write Read Note round to 512 Ex s 2048 default is 64meg on memory test s enablwrite t Allow target to write to memory disabwrite u Don t allow target to write to memory runtarget x Swich target to RUN mode halttarget y Reset target and remain reset memtest m args Memory Test Ex m test Number 1 to 8 m 1 0x55 0OxAA test m 2 walking 1 test m 3 Inc byte test m 4 Inc word 16bit test m 5 Inc longword 32bit test m 6 Random number 32bit test m 7 NOT USED m 8 Clear Fill memory passcount p args Set number of passes for memory test Ex p 24 boardid i args ROM emulator USB ID as set by the rotary switch Range 0 to 15 Ex i 3 memorybank b args Set MCB memory carrier board ID range 0 to 5 Ex b 2 default bank 0 if not given sound q args Set sound option Range 0 to 3 Ex q 3 status n List all USB boards ID connected to this com
9. Mk6 EPROM Emulator USB Driver V1 3A Mk6 EPROM Emulator Driver Software User manual Document Version 1 3A Date 30th April 2004 Written by Lachlan Audas amp Alex Paykin Covers version 1 3A of mk6romemusbdrigver program Author Lachlan Audas Page 1 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Table of Contents Table of Contents dades a TONS Meu Viesbn re beri Eat 2 Legal NOU GS ousirvieir LE dEL d EVO VER MER CREDO ERVM ERA ceria weenie E RR AC UM devil vs iain Copyrights xao dO aa on d e GNO ar C DG OK skenen xus E BENE FRRRYERR FRA RETE Prod ct LIADINIEY CE 3 Document Revision history ueeeeeeeseeeseene enne nnnm anneau nna 4 IntroductlOn iiis eise RE RERRRERESRUREMREAIXREKRENRRAKRRRR TT PTTL attr ED Command line invocation isis eo o OR ACOCIOOORIOOOR SOUL ROCCO OO ER GORGE ORE i5 Mode 1 File Download and Upload eene nnn 5 Wo filename iex ex mee oh EXP EE Re EX OX MEAE Pu x rrr ERA E re EY RR ERR ENa 5 ar TlONAMe faves c nS 5 zd memory addressen iire Era ba eren Oba ERR ER AE EXERCERE ERE EE UE pana Ue DE REDIERE ERE REN EE E 6 transfer SIZE ee 6 OM E E E ul EE EE E E A E E E TETEE 7 Q SOUNG options ic E A ertet abil prodi due 7 Mode 2 Memory test and Memory Clear eene 8 m memaoty test type eie eet ema e Ix Y E TIIE EAEE E ERRR e PER TERN PIPER MER TAE 8 ZS test SIZE M M 8
10. as introduces in version 1 02 of mk6romemusbdriver exe It is implemented as a part of the Memory Test command option number 8 i e m 8 Most of the parameters are the same as in memory test except for two f parameter specifies a fill pattern it is a 32bit value with a default of 0x00000000 v Parameters stands for verify allows user to verify success or failure of clear command If it is not specified no verify is performed Note In this version of the driver v lower case v specifies verify option while driver version now changes to capital V In its simplest form the command looks like mk6romemusbdriver m 8 Since no other parameters are specified the following default are applied Bank b 0 Fill pattern f 0x00000000 Fill size s 64Mbytes Fill the whole bank Fill start offset address a 0 No Verify Here is an example of memory clear command with all command line parameter options mk6romemusbdriver m 8 f xABCD1234 v b 3 s m32 am1 f 32bit fill value hex xABCD1234 default 0x0000000 v for verify after fill a Offset address same as in all other commands 1Mbyte b 2 memory bank if you use slot 3 s Fill size 32Mbytes a Offset address of 1Mbyte In a typical use case scenario at Aristocrat where MCB is installed into slot 3 The memory clear command will be mk6romemusbdriver m 8 b 3 Mode 3 Target Hardware Control amp Status X Switch
11. e disc pe ce Mte ta ait 14 Author Lachlan Audas Page 2 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Legal Notice Copyrights Copyright c 2003 by APAU Electronics and Cosmos Computing Inc All rights reserved No part of this work may be reproduced transmitted or stored in any form or by any means without prior written consent Products and brand names mentioned in this document are trademarks of their respective companies Product Liability Limited Warranties and Disclaimer Cosmos Computing Inc warrants that for one year 365 days after you obtain the Software the Warranty period the Software will operate as stated in the enclosed user documentation and the disk or other media on which the Software is provided will be free of defects in material or workmanship This limited warranty does not cover anything caused by accident or abuse or by use of the Software other than for its reasonable intended purpose and as recommended in the accompanying user documentation Also Cosmos Computing Inc does not warrant that the operation of the Software will be uninterrupted or error free This warranty gives you specific legal rights and you may also have other rights which vary from state to state Author Lachlan Audas Page 3 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Document Revision history Date 03 March 2003 23 March 2004 25 April 2004 26 April 2004 02 May 2004 Author Lachlan Audas R
12. evision Number 0 5 1 01 1 02 1 02 1 3A Page 4 of 14 Changers First preproduction release by L Audas First official Version by A Paykin Provide Memory Clear feature Added help screen dump Added LED amp Button descriptions Fixed Help screen spelling Make this Manual Ver Software Ver 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Introduction The mk6romemusbdriver is a command line driver for Windows 2000 XP It allows PC to communicate over USB port to the Mk6 ROM Emulator hardware and download upload program data to from the Mk6 ROM Emulator system The driver has three modes of operation Mode 1 Download and uploading of data to or from the USB ROM Emulator system There may be up to 16 Emulator systems connected to any one host computer system Mode 2 Diagnostics Memory test and Memory Clear of selected Mk6 Emulator System s Note Memory Clear Functionality introduced in V1 02 Mode 3 Mk6 Main Board Target Hardware control and Listing of USB connected Emulators s The following chapters describe each of the modes of operation in detail Command line invocation The emulator driver is invoked from the command line with a number of options which define the operating mode and associated run time parameters Mode 1 File Download and Upload Command Usage General Notes Letter case upper or lower is important unless noted otherwise A space character is required to separate letter used fo
13. get board 0 Memory Bank 0 Offset Memory Address 0 a memory address Function OPTION Specify Memory Offset Address Description This optional command line parameter specifies Start Offset memory address for Download Write or Read of memory too from USB target memory board If this parameter is omitted the address defaults to zero Notes Address is specified in words not bytes word size is 32 bits Address can be in Dec i e a 128 Or Hex i e a 0x100 or a x300 You can also prefix the address with k K or m M k or K Kilobyte to multiply the fowling value by 21 1024 Eg 1 dec a k1 1024 dec 0x400 hex Eg 2 a kOx10 or a kx10 16 384 dec 0x4000 hex m or M Megabyte to multiply the fowling value by 27521048576 Eg 3 dec a m23 24 117 248 dec Eg 4 a mOx10 or a mx10 16 777 216 dec 0x100 0000 hex s transfer size Function OPTI ON Specify size of data transfer Description This command line parameters sets the number of bytes to download write or read from target USB Emulator system Max transfer size is 64 Mega bytes Important Notice This parameter is compulsory for Read r command but optional for Write w command transfer size is in bytes Notes Transfer size value must be in 512 increments You can also prefix the size with k K or m M k or K to multiply the following value by 1024 i e dec s k1 1024 dec hex s kOx10 or s kx10
14. puter fill f args Fill value for clear fill command Ex f 0x12345678 default 0x00000000 if not given verify V Verify clear fill memory command help h passcount lt args gt Set number of passes for memory test Ex p 24 boardid i lt args gt Emulator USB ID as set by the rotary switch Range 0 15 Eg i 3 memorybank b lt args gt Set MCB memory carrier board ID range 0 to 5 Eg b 2 sound q lt args gt Set sound option Range 0 to 3 Ex q 3 status n List all boards ID connected to this computer and memory size fill f lt args gt Fill value for memory clear command verify V Verify clear fill memory command Mk6 Emulator LEDs and Buttons Acronyms SIMM16M 16Mbyte SRAM 72pin SIMM module developed for Mk6 Emulator MCB Memory Carrier Board Carries 4 x SIMM modules up to 64Mbytes CPUB MK6 Emulator CPU Board It has a USB connector and a backplane for 6 MCBs numbered 0 5 CPUB Led function definitions L8 Connected to USB 5v L4 Flashing Green when Mk6 System has the memory and is not reset Author Lachlan Audas Page 13 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A L3 Flashing Yellow when Emulator has the memory and Target system is reset L2 Not used L1 Not Used MCB Led Definitions L5 YELLOW Target MK6 System 5V Power L4 GREEN MCB Select L3 AMBER Read Strobe Host PC is reading from the Emulator memory L2 LightRED Wri
15. r Command option from Command Option parameter Eg w binimage bin Note the space between w Command and binimage bin file name Target system is put into reset state and remains reset unless the x command is given w filename Function COMMAND WRI TE DWONLOAD data file to target Description starting at the beginning of the file this command will write download the file specified by filename field to the target USB Emulator system Notes File size must be always be in units of 512 byte 0 5KByte l e when loaded the last byte of the file must fall on the 512 byte boundary you may also override the file size with the s option f not specified as a command line option Target USB board Memory Bank and Memory Address default to USB target board 0 Memory Bank 0 Offset Memory Address 0 r filename Function COMMAND Read data from Target Author Lachlan Audas Page 5 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Description This command instructs target USB Emulator system to READ emulation memory upload its content to the host PC and store it in a file specified by filename field You must set the number of byte s to read from the target system using the s option Notes File size must be in unit s of 512 byte s you may also override the file size with the s option f not specified as a command line option Target USB board Memory Bank and Memory Address default to USB tar
16. rite Don t allow Target Mk6 Hardware to write to USB EPROM emulator memory d debug level Function OPTION Display debug information about command execution Description Debug level parameter can have the following values 0 Level no debug information 1 display info about command execution Author Lachlan Audas Page 11 of 14 02 May 04 Mk6 EPROM Emulator USB Driver V1 3A Examples Exaple 1 Download load file to default USB target and memory board Default USB target is 0 default memory board is 0 Mk6romemusbdriver w programdata bin Exaple 2 Download load file to default USB target and memory board and run target system on completion of download Mk6romemusbdriver w programdata bin x Exaple 3 Download load file to default USB target 1 and memory board 2 at memory address 0x800 hex and over ride file size to 10 240 byte s also run target system on completion of download Mk6romemusbdriver w programdata bin s k10 a 0x800 b 1 i 2 x Exaple 4 Read from USB target 7 memory board 4 at address 0x100 for a size of 16 Mbytes into a file named fred bin also keep target reset Mk6romemusbdriver r fred bin s m16 a 0x100 b 4 i 7 Exaple 4 Memory test random 32bit USB target 3 memory board 0 at address 0x0 for a size off 32meg s repeat 50 time s and sound beep on each pass Mk6romemusbdriver m 6 s m32 a 0 p 50 s 3 b O i 2 Author Lachlan Audas Page 12 of 14 02 May 04 Mk6 EPROM
17. te strobe Host PC is writing to the Emulator memory L1 RED Target Write Target Mk5 System writing to the Emulator memory Pushbutton Switches on CPUB PB1 TReset Long Stem Used to Reset target Mk6 System PB2 SysReset Short Stem Use to reset both the Emulator and the Target Mk6 Note In the majority of cases it is recommended to use PB1 with Long stem to reset target Mk6 System PB2 only to be used sparingly and only if for unidentified reason the Mk6 emulator locks up and does not respond to USB commands CPUB Jumpers JP1 amp JP2 This is a pair of Jumpers and should always be used as a pair Default position is HOST 5V and should always stay that way Position USB 5V only used to run factory diagnostics JP4 Used to Program onboard EEPROM holding the firmware Factory set to link Pins 2 amp 3 Don t change Can result in overwriting EEPROM content Can only be used in conjunction with Cypress Semiconductor USB2 Fx Development environment Author Lachlan Audas Page 14 of 14 02 May 04
Download Pdf Manuals
Related Search
Related Contents
manuel d`utilisation - Evolution Power Tools Home alarm system User's manual - GLOBAL Export emTube User Guide V1.0.8 Dell Networking S5000 Command Line Reference Guide Manual para aceite únicamente Copyright © All rights reserved.
Failed to retrieve file