Home
EM100Pro Software User Manual
Contents
1. CLK Low so High SI Low Clear Buffer HOLD Low Save Trace Last Issued Command Display Trace 0x03 www dediprog com 25 EM100Pro Software User Manual 7 5 1 Start Trace Click on start trace EM100Pro will start to fetch all the communications between the host controller and EM100Pro and put them into a PC buffer If EM100Pro is in run mode then the trace data represents the communication on the SPI bus while the system boot from EM100Pro If EM100Pro is in Stop mode then the trace data represents the communication on the SPI bus while the system boot from the on board chip 7 5 2 Stop Trace Click on stop trace SPI trace will be stopped 7 5 3 Clear Buffer Click on clear buffer the SPI trace data stored in the PC buffer will be cleared 7 5 4 Save Trace Click on save trace user can save the SPI trace data in the PC buffer to a file 7 5 5 Display Trace Click on display trace EM100Pro will open SPI trace viewer and display all the data in the PC buffer to the SPI trace viewer 7 5 6 SPI trace Viewer In the SPI Trace Viewer users can view the whole SPI trace data in an easy view format including time stamp the counter of each communication SPI command address and data The viewer provides different built in criteria in order for the users to view only the data they are really interested in www dediprog com 26 SPI Trace Viewer EM100Pro Software User
2. mode for emulator boot and in stop mode for on board chip boot www dediprog com 24 EM100Pro Software User Manual 7 4 SPI BUS Status Window EM100Pro detects the emulated SPI pin status every 1 second while the EM100Pro is in run mode and SPI trace or SPI Hyper terminal is not started This is a quick way for the users to see how each pin behaves while the system is running The last issued command represents the last commands issued from the host controller to EM100Pro EM100Pro displays the last issued command every 1 second SPI Bus Status SPI Bus Status Pin Status Pin Status CS High CS Toggling CLK Low CLK Toggling so High 50 Toggling SI Low SI Toggling HOLD Low HOLD Low Last Issued Command Last Issued Command 0x05 0x03 7 5 SPI Trace Window When the SPI Trace feature is started the EM100Pro monitors the application SPI bus and display all the SPI bus communication in the SPI Trace window The SPI information can then be displayed in Hexadecimal 03h OBh 02h or translated in SPI Flash command Normal Read Fast Read Page Programming SPI information will be tagged with time stamp so that engineers can use it for development with boot time constraints In case of buffer overflow due to application high SPI throughput or slow Host PC the user will be noticed with some Stars inserted in the spi trace log data SPI Bus Status SPI Trace Pin Status Start Trace CS High
3. 21 02 08 03 6D oo 18 92338619 22 02 08 04 E2 FF 18 92340315 23 02 08 04 E3 FF 18 92342006 24 02 08 04 E4 FF 18 92343701 25 02 08 04 E5 FF 18 92345395 26 02 08 04 E6 41 18 92347088 27 02 08 04 E7 00 18 92348783 28 02 08 04 E8 FF 18 92350482 29 02 08 04 E9 FF 18 92352177 30 02 08 04 EA FF i 18 92353870 31 02 08 04 EB 83 m Filter I Write Enable Ox06 l Normal Read 0x03 F Chip Erase Oxc7 Address Range Write Disable 0x04 Fast Read 0x0B I Chip Erase 0x60 Start 0x jo I Read Status Register 0x05 V Page Program 0x02 I Read ID Ox9F End Ox FFFFFF Write Status Register 0x01 Sector Erase 0xD8 Others ox J Mask Non Significant Address Bits Save Result SPI Trace Viewer with only page program data www dediprog com 27 EM100Pro Software User Manual 7 6 SPI Hyper Terminal Window The SPI Hyper Terminal window displays Virtual messages coming from the application controller through the SPI bus Application firmware can send checkpoints ASCII debugging messages application information such as look up table variable value etc by using specific protocol through the SPI Bus even during boot from the emulated memory The SPI Hyper Terminal offers a powerful and flexible method to debug the application in development as each engineer can customize the information sent to PC Host according to his own needs The target system controller must include a small portion of code for handling the process of outgoing m
4. E download J arg 3 sum fsum arg device arg list device id arg optional Switches y verify addr arg length arg fill arg truncate iscellaneous options work with set shou this help message set chip type stop the emulation mode start the emulation mode check the emulator status and the emulator firmware blank check the EMiOO EMi Pro contents read the EML 6 ENI66Pro contents and save to a hinvhex s1 file use STDOUT to the console download a File to the EN166 EN166Fro display the downloaded content checksum display the file checksumtneeds to work with a file gt Cwork with all Basic Switches 1 activate only the programmer connected to USBI n activate only the programmer connected to USEBn note if device is not used the command will he executed with the same chip type and file on all connected programmer List all ID of programmers from USH1 to USEn Default gt note the sequence is assigned by 0S during USB plug in 1 Prompt the device ID of programmer connected to he i g n Prompt the device ID of programmer connected to USBn verify file and EMI 6 EML 6Pro contents only works with d starting addresste g d x file bin a 6xHA gt only works with d r length to read download in byteste g r x file bin 1 Ax 1 BAAD only works with d r Fil
5. Manual Save Trace Display Trace Clear Buffer Translation TIMESTAMP s CNT CMD ADDRESS DATA 2 41564066 1 03 2 42601388 2 03 2 89880151 3 03 2 89913081 2 89916629 2 8991 7044 2 89920418 2 89920829 2 89921423 2 89924653 2 89928545 2 89931790 00 00 00 1F FF CO 1F FF 00 1F FF FO 1F FF 00 1F FF AS 1F FF AS 1F FF 00 1F FF 40 1F FC 80 1F FC C0 FF FF FF FF E9 A4 FC 8D A4 24 00 00 00 00 8D 9B 00 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF DF 07 FC FF 10 00 8D A4 24 00 00 00 00 8D 49 00 OF 09 E9 23 FF FF FF 00 00 20 00 00 00 00 FC FF FF 02 50 02 58 02 59 02 68 02 69 02 6A 02 6B 02 6C 02 6D 02 6E 02 6F 02 FA BO 01 E6 80 BS 00 FO BE D8 BE FO FF 80 3C EA 75 05 EA 5B E0 00 FO BO 02 E6 80 66 2E OF 01 16 A8 FF OF 20 CO OC 01 OF OF 09 E9 23 FF 02 50 02 58 02 59 02 68 02 69 02 6A 02 6B 02 6C 02 6D 02 6E 02 6F 02 FA BO 01 E6 80 B8 00 FO BE D8 BE FO FF 80 3C EA 75 05 EA 5B E0 00 FO BO 02 E6 80 66 2E OF 01 16 A8 FF OF 20 CO OC 01 OF 47 00 60 FF 47 00 60 FF FF FF 8B FF FF 02 50 02 58 02 59 02 68 02 69 02 6A 02 6B 02 6C 02 6D 02 6E 02 6F 02 FA BO 01 E6 80 BS 00 FO BE D8 BE FO FF 80 3C EA 75 05 EA 5B E0 00 FO BO 02 E6 80 66 2E OF 01 16 A8 FF OF 20 CO OC 01 OF 22 CO FC B8 08 00 8E D8 8E CO SE DO 8E E0 8E E8 66 EA BS FC FF FF 10 00 8D A4 24 00 00 00 00 90 00 00 00 00 00 00 00 00 FF FF 00 00 00 93 CF 00 FF FF 00 00 00 9B CF 00 FF FF 00 00 00 93 CF 00 E471 0A CO 75 1A 66 B9 EE
6. Pin Status i Type EM100PRO Start Trace i MCU Version 2 25 i FPGA 0 71 3 3V ee EM100Pro Operation CLK i HW Version 0 so i Serial Number DP 123456 i C Users evy liu Desktop ilt A test bin file 4M bin is loaded SI Clear Buffer HOLD Save Trace Last Issued Command Display Trace SPI Bus Status SPI Hyper Terminal Check Point Start Clear Buffer Save Log Hold Pin Setting Memory Info File Info SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting pe Type W25032FV Name 4M bin ara CT a Manufact Winbond Size 0x80000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 4096 Checksum 00009DB3 Start Emulation Device Ready Tool Bar The tool bar groups all of the user interface commands It is placed at the top of the user interface EM100Pro Operation Log Window The EM100Pro operation log window displays the history operations performed by EM100Pro SPI Hyper Terminal Window Firmware developers can display system debug messages through EM100Pro to the PC The debug messages can be displayed in ASCII codes or hex number in real time while the system is booting from EM100Pro or from the on board chip Certain data format and structures needs to be followed in order to utilize this feature Please write to support dediprog com for the SPI Hyper terminal spec and the sample codes Hold Pin Setting The Hold Pin Setting displays the hold pin s
7. best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed 1 Browse Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Search removable media floppy CD ROM Siv Include this location in the search C Program Files Dediprog EM1 00 driver C Don t search will choose the driver to install lt Back Next gt Cancel 7 As the Fig 6 shows please browse to c program file Dediprog EM100 driver folder and then click on next to continue Fig 6 Browse the folder that contain the driver for EM100Pro Found New Hardware Wizard Please choose your search and installation options Fata y Browse For Folder 2 x Select the Folder that contains drivers for your hardware Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local AvRack paths and removable media The best driver found will be installed O Common Files l Search removable media floppy CD ROM 5 ComPlus Applications IV Ip E 5 Dediprog E G EmM100 C Program Files Dediprog SF1OO0 USB Driverswin je Browse D config Ao C Don t search will choose the driver to install O amd 4 Choose this o
8. only es now and every time connect a device Click Next to continue EM100Pro Software User Manual 5 As the Fig 4 shows the wizard will ask users to choose the way they want to install the software Please select Install from a list or specific location Advanced and click on Next to continue Fig 4 Select Install from a list or specific location Found New Hardware Wizard Welcome to the Found New Hardware Wizard This wizard helps you install software for Dediprog Emulator driver If your hardware came with an installation CD lt 4 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Beak cancel www dediprog com 6 iS EM100Pro Software User Manual 6 As the Fig 5 shows the wizard will ask users to choose the search and installation options Please choose Search for the best driver in these locations Users should select Search removable media or Include this location in the search according to where they have the driver If users select Include this location in the search please click on Browse to find the driver Fig 5 Select Search for the best driver in these location and Click Browse Found New Hardware Wizard Please choose your search and installation options N Y Search for the
9. the on board Serial Flash In the other cases it is recommended to keep the EM100Pro Hold signals in floating mode Reset Pin Setting Configure Setting Hold Pin Status While Emulation Default Low Input by default C Floating by default MISO Setting MISO output are driven by FPGA MISO output are driven by extemal buffer Vcc Setting www dediprog com 23 EM100Pro Software User Manual Under Pin Settings user can disable or enable the Reset Pin If it is enabled the reset button on the main GUI will be active MISO Setting Configure Setting Reset Pin j lw Enable Reset Pin Batch Output Open Drain f Push Pull SPI Trace E f Low Active High Active SPI Hyper 7 Hold Pin Status While Emulation p O Default Low w Input by default Pin Settings C Foating by default Ak P MISO Setting f MISO output are driven by FPGA MISO output are driven by extemal buffer cot i Under Pin Settings user can select MISO pin is driven by FPGA or by External Buffer It will be according to user needs 7 3 SPI Status SPI trace SPI Hyper Terminal SPI bus window SPI Trace window and SPI Hyper terminal can have only one work at a time If either SPI trace or SPI Hyper terminal is started users will not have access to the SPI pin status until the functions are stopped SPI bus status only works while EM100Pro isin run mode SPI trace and SPI Hyper terminal can work in run
10. 00 00 00 OF 32 66 25 02 00 00 80 75 08 66 OD 04 00 00 80 OF 30 EB 11 66 BS 06 00 00 00 66 33 D2 66 B9 50 02 00 00 OF 30 FA F4 EB FC B9 AO 01 00 00 OF 32 OF BA F0 16 73 02 OF 30 B9 1B 00 00 00 OF 32 83 E2 FO 25 FF OF 00 00 OD 00 00 EO FE OF 30 E9 90 FD FF FF BO Filter Write Enable 0x06 Write Disable Ox04 Read Status Register Ox05 Write Status Register 0x01 Normal Read 0x03 Chip Erase Oxc7 Address Range Fast Read 0x0B I Page Program Ox02 l Read ID Ox9F End Ox FFFFFF Start Filtering Sector Erase 0xD8 Others Ox MV Mask Non Significant Address Bits Save Result Chip Erase Ox60 Start oxfo SPI Trace Viewer with all data SPI Trace Viewer Save Trace Display Trace Clear Buffer Translation TIMESTAMP s CMD ADDRESS DATA a 15 72348946 1 02 08 04 D4 FF a 15 72350240 2 02 08 04 DS FF 15 72351541 in 02 08 04 D6 FF 15 72352848 4 02 08 04 D FF 15 72354157 5 02 08 04 DS OE 15 72355468 6 02 08 04 D9 oo 15 72356775 7 02 08 04 DA FF 15 72358079 8 02 08 04 DB FF 15 72359384 9 02 08 04 DC FF 15 72360691 10 02 08 04 DD 58 15 72363667 11 02 08 04 DE 03 15 72364969 12 02 08 04 DF oo 15 72366269 13 02 08 04 EO oo 15 72367581 14 02 08 04 E1 00 15 72370546 15 02 08 04 D4 4E 15 72371850 16 02 08 04 DS 56 15 72373161 17 02 08 04 D6 41 15 72374470 18 02 08 04 D7 S2 15 72389823 19 02 08 03 6B 6F 15 72391131 20 02 08 03 6C o1 15 72392434
11. DediProg User Manual 08 2014 EM100Pro Software User Manual Version 1 3 DediProg Technology Co Ltd 2014 All Right Reserved DediProg EM100Pro Software User Manual Table of contents Be DOCU CTO viscose eE E E E E E 2 LLPP ENU Oera e E E E 2 1 2 Application Firmware Debugging Features cccccsscccsssececsececeseceeeeseeeseeceseeecessesceesenees 3 Il Serial Flash and Instructions Supported ssssssesesesessssesesesssosoesesssssseoesee 4 2 PERA a SUD OUR r E E E A E 4 2 2 NStructions SOU SUDO LCC reenen rniran enaa EANAN E ARENE EEA na iaa 4 Ill EM100Pro Software Installation Guide cssccssccssccssccescsccssccssscessoesees 5 IV EM100Pro Connections to the Target System s sessssssesesessssesesessssssesesee 9 A amp L EMI0O0Pro PINS FS SIE i CIV ecassse se coeconteseinsscas ideae eas arar NRIS ERE ATA era Ei 9 4 2 Connect EM100Pro to application s seseessseesssereseersseerssrressrrsssrreseersseeesseressereseereseeree 10 V Connecting the EM100Pro to the Host PC cccsscscsccsccccsceccsceccscsceccece 11 Vie QUICK STATT ssia E E E 11 VII EM100Pro Software User Guide sseossossossossossosessossossossoseossossssossossos 12 7 A ENVIPOM MCMC Prepara tioN eserin E 12 ee OFU OG a E E E E E E N E N OE EE TE 13 7 3 SPI Status SPI trace SPI Hyper Terminal eeseessssssssssrrrrrrrrrreeesessssssrrrrrrrrrrrrrrereeesssssess 24 PA SPI BUS SaS WV COW e ected pence sac qatitc
12. Pin Settings Naa E www dediprog com 21 Hyper Terminal Batch A SPI a tting SPI Hyper Terminal Pin Settings Vee Setting EM100Pro Software User Manual Configure Setting SPI Hyper Terminal Using Nomal Read 03 OP Code Using Dedicated OP Code Hex i Do not use existing SPI OP codes Enable CheckPoint Translation Check Paint File Path Find ma Hyper Teminal Port Selection Using USB Look Up Table File ces _ In the Hyper Terminal user can select one from the two ways of sending debug message See our SPI Hyper Terminal specification or COM port debug card User manual for more information Also it provides the display font color function for user to change preferred colors on the log window www dediprog com 22 EM100Pro Software User Manual Hold Pin Setting Configure Setting Reset Pin V Enable Reset Pin Batch Operation Output f Open Drain Push Pull SPI Trace Active SPI Trace Setting iy low Active High Active SP Hyper Terminal MISO Setting MISO output are driven by FPGA MISO output are driven by extemal buffer Toe coe Jie Under Pin Setting users can select a hold pin setting according to the scenario on the board If the Real Serial Flash is still soldered on the board and if its hold pin is pulled up high to Vcc through a resistor then EM100Pro Hold pin needs to be configured low to disable
13. T X ds CHIP SELECT OPENFILE OOWNLOAD VERIFY RUN STAP UPLOAD EDIT TCH CONFIGURE RESET Currently emulation on Application Memory Chip 1 EM100 Operation Log SPI Bus Status SPI Trace i Truncate File To Fit Memory Disable Pin Status i Reading From Address 0x0 0x80000 _ Start Trace i Checking please wait High Verify Pass Checksum is the same CLK Low TE i System boots from EM100 aes teers EM 100 Hold Pin Setting Input by default i Checking Authentication SI Low Clear Buffer Authentication Pass HOLD Low a Start EM100 EM 100Pro EM 100 EM 100Pro is in Emulation mode Ready to boot your system now Stop EM100 EM 100Pro EM100 EM100Pro is in STOP mode now Save Trace i EM100 Hold Pin Setting Floating by default 3 Ct Se a Q c Users evy liu Desktop BIEFFZ 3 test bin file 8K bin Da k lt gt SPI Hyper Terminal Check Point Start Stop Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Batch Config Setting Floating by default Download to EM100 EM 100Pro Verify from EM100 EM100Pro Start Emulation Device Ready A Then EM100Pro can start to emulate DUAL SPI flashes that you selected on Configure Setting Sa Emulation e Download to EM100 EM100Pro a Verify from EM100 EM100Pro Batch Operation Start Emulatio Start Emulation 9 SPI Trace Setting Download Address Hex If Chip size gt File size Ph elk Starti
14. and target system Download our documentation EM100Pro Hardware connection for more information www dediprog com 10 EM100Pro Software User Manual V Connecting the EM100Pro to the Host PC Follow the steps below 1 Connect the EM100Pro emulator to the host PC via the USB cable 2 Open the DediProg software VI Quick Start 1 Set up emulation settings Before emulating you must specify various settings such as the Serial Flash to be emulated Hold Pin settings SPI trace log setting Hyper Terminal settings etc 2 Load the file The file must be first loaded in the EM100Pro software buffer 3 Download the file The EM100Pro software buffer must be downloaded to the EM100Pro hardware 4 Start emulation By clicking the Start Icon the EM100Pro will start emulating the selected SPI flash on the SPI bus 5 Stop emulation Stopping the emulation allows you to change emulation settings or read the EM100Pro memory content 6 Batch operation User can define a list of operations to be executed in one click Stop Emulation Reload File Download File Verify the Downloaded File Start Emulation www dediprog com 11 EM100Pro Software User Manual Vil EM100Pro Software User Guide 7 1 Environment Preparation EM100Pro is a RAM based SPI Flash emulator The RAM can be accessed from the PC in order to configure the SPI Flash setting as well as download the file and it can also be accessed by the application in
15. ation CLK Low Authentication Pass so a i Start EM100 EM 100Pro EM100 EM 100Pro is in Emulation mode Ready to boot your system now i Stop EM100 EM100Pro EM100 EM100Pro is in STOP mode now SI Low Clear Buffer i EM100 Hold Pin Setting Floating by default HOLD Low i Now is emulating on Application Memory Chip i W25P40 chip is selected Save Trace i C Users evy liu Desktop VAIEL Z 5 test bin file 8K bin Now is emulating on Application Memory Chip W250Q32FV 3 atig ara Last Issued Command Display Trace i Loading file i C Users evy liu Desktop WEIELFZ A test bin file 4M bin is loaded 0x00 yv lt gt SPI Hyper Terminal Check Point Start Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting T W25032FV Name 4m bin Stop Emulation Floating by default a srap Manufact Winbond Size 0x80000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 4096 Checksum 00009083 Start Emulation Device Ready 7 2 2 10 Batch Click on Batch button will allow EM100Pro to perform a set of operations with one single click The set of operations can be configured in the Configure button The following operations can be grouped together into batch stop reload file download verify and start www dediprog com 19 iS 7 2 2 11 Reset Click on Reset button EM100Pro will send out the reset signals from its reset pin based on the reset set
16. ce ce aeeecaneauncas temecesuqauacce cw aucecaneeeuces seanceamnqannccecwast 25 Ae ACS VAIN OWN ete crete E EE EAE E E ane detente eat vaeev EE N 25 7 6 SPI Hyper Terminal VWVIN GOW sisccseccesdeactecnsenceutevsersescancecsdeadie aeanwaeslesecsntesaeeethanteenieeeent 28 7 7 EM100Pro Window Command LiNC ceccccccccssssecccecaeeseececceseeececceseaeueeecesseeseeeeeseaeeees 30 VIIL RevIiSIOn HISTON sinior ie inan eae rar E E EE A 34 Important notice This document is provided as a guideline and must not be disclosed without consent of DediProg However no responsibility is assumed for errors that might appear DediProg reserves the right to make any changes to the product and or the specification at any time without notice No part of this document may be copied or reproduced in any form or by any means without prior written consent of DediProg www dediprog com 1 EM100Pro Software User Manual I Introduction 1 1 SPI Flash Emulation This user manual illustrates the usage of DediProg EM100Pro Serial Flash Emulator EM100Pro is a DediProg Serial Flash Emulator and replaces the SPI Serial Flash memory of the system under development thus allowing a very fast download of the user s code directly onto the emulator The EM100Pro is based on RAM memory in order to offer the best update performances This advanced tool has been designed in close cooperation with the Serial Flash suppliers to emulate the behaviors of all the market Se
17. cted EM100Pro 7 2 2 4 Verify Click on this button will compare the loaded file contents on the PC side and the downloaded file contents in the emulated memory 7 2 2 5 Run Click on Run will put the connect EM100Pro into emulation mode Only at this status the EM100Pro is emulating the selected serial flash and the application can access the EM100Pro During emulation mode the image download from PC to EM100Pro or upload from EM100Pro to PC are not allow A DediProg EM100 serial flash emulator 4 2 18 DP123456 0 File View Help e mm tlel OQO Fix CHIP SELECT OPENFILE DOWNLOAD VERIFY RUN STOP UPLOAD EDIT BATCH CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 EM 100 Operation Leg _ OJ_aSdo _ PI Bus Status i Welcome to DediProg 4 2 18 Pin Status i Type EM100PRO ee i MCU Version 2 25 i FPGA 0 71 3 3V i HW Version 0 i Serial Number DP 123456 i C Users evy liu Desktop BIEL 2 34 test bin file 4M bin is loaded C Users evy liu Desktop ilit 3 test bin file 4M bin is opened E Downloading C Users evy liu Desktop VAlE 2 test bin file 4M bin to EM100 EM100Pro i Truncate File To Fit Memory Disable Save Trace i Downloading please wait i Target Memory Region 0x0 0x80000 pres i e EELE i Fill other Memory area with OxFF ast E Download Complete SPI Hyper Terminal Chec
18. dr arg starting address e g d x file bin a 0x000 only works with d r length arg length to read download in bytes e g r x file bin 1 0x10000 only works with d r xX fill arg fill the rest area with byte data e g d x file bin x OxAA only works with d t truncate Truncate file to chip size if the file size bigger than chip size only works with d www dediprog com 32 iS EM100Pro Software User Manual Miscellaneous options g target arg Target Options Available values 1 Chip 1 Default 2 Chip 2 hold Hold Pin Status While Emulation 1 Default Low Default 2 Input by default 3 Floating by default NOTE The hold pin status would keep the last setting Command Line Example Users can type a series of commands together For example if a user types smucmd stop set MX25L3205 d c file bin v start the EM100Pro will firstly stop the emulation mode which means users can download from PC to EM100Pro or upload from EM100Pro to PC Then the MX25L3205 IC will be selected the file from c file bin will be downloaded to the EM100Pro and verify Finally the EM100Pro will start the emulation mode For more information please contact us or your motherboard suppliers www dediprog com 33 EM100Pro Software User Manual Vill Revision History 05 08 14 Update the support density from 256Mb to 512Mb Add command line function 1 Choos
19. ebugger contact us for more information Fig 2 SP Debugging features SPI Debugging information SPI Protocol Analyzer Host PC SPI Protocol Analyze rf SPI Hyper Terminal E at i Target System _ ea Na www dediprog com 3 EM100Pro Software User Manual ll Serial Flash and Instructions Supported 2 1 SPI Flash Supported The EM100Pro has been designed to support the common market Serial Flash Please download our EM100Pro Support devices list on www DediProg com for the up to date list If your target standard SPI Flash is not yet supported please contact support dediprog com and we will add it to the support list within 2 working days 2 2 Instructions Set Supported Find below the instruction set currently supported by the EM100Pro Tab 1 instructions set Page Program Page Program 1 up to 256 Bytes Fast R ith i ith roll Fast Read Ox0B ast Read with dummy byte continuous with ro over at the end of memory Sector Erase Sector Erase with different granularity according to the target memory Block E ith diff lari i Block Erase ock Erase with different granularity according to the target memory Read Jedec ID Read Identification Read ID Read Identification More instructions will be added under customer s request www dediprog com 4 EM100Pro Software User Manual ill EM100Pro Software Installation Guide The EM100Pro software program is provided in the CD ROM incl
20. essages on the SPI bus Please contact us to access the SPI Hyper Terminal specification and source code Diagram of the SPI Hyper Terminal interface EM100 pro Emulator Flash Memory Emulation Target System SPI it E a A SPI command analyzing module v p O E E w Se ao gt D 45 SPI Hyper Terminal The SPI Hyper Terminal can be used in two ways 1 Application firmware send debug information to PC host In this case application is writing the upload FIFO by using SPI specific commands The information will be displayed on the DediProg software if the format is compliant with our Specification www dediprog com 28 iS DediPro EM100Pro Software User Manual SPI Hyper Terminal 3295 A Check Point Start 3296 EFI_UNSUPPORTED 2399 00000094 3297 2457 00000094 3298 2545 00000095 tor 3299 Pci Header ClassCode 1 80 Pci Header ClassCode 2 3 2914 00000096 3300 3264 00000097 3301 3272 O00000b2 3302 00000098 3 3302 00000098 Clear Buffer 3303 3753 0000009c a ae M 3773 00000092 x lt i me lt Mm lum Save Log Hold Pin Setting Memory Info File Info Batch Config Setting Mx25L1605D N t M New bi top Emulati Heraki Type ame essage_New bin a E ion Manufact Macronix Size 0x200000 Bytes Download to EM100 verify From EM100 Size KB 2048 Checksum 00004661 Start Emulation Device Ready 2 EM100Pro is used by PC Host as a debugge
21. etting status Memory Info The Memory info displays the emulated memory information such as its part number its memory size pin status etc www dediprog com 13 EM100Pro Software User Manual SPI Bus Status Window In SPI bus status window users can see the SPI pin status in real time and the last issued command from the host controller to the EM100Pro This feature only works while EM100Pro is in run mode and SPI trace or SPI Hyper terminal is not started SPI Trace Window SPI Trace allows users to analyze the detail communications between the host controller and the EM100Pro while the system is booting from EM100Pro or from the on board chip 7 2 2 Tool Bar 7 2 2 1 Chip Select Click CHIP SELECT to select the target SPI Flash you are willing to emulate Click OK The selected chip type will be shown on the GUI Manually Select Hemory Type Eg Manufacturer Memory List Cancel 7 2 2 2 Open File Click on Open File and load the image you would like to download to the EM100Pro Load File E x File Path C Documents and Settings Administrator Desktop Message bin Program as Data Format Raw Binary Intel Hex Motorola 519 C ROM If File size gt Chip size C Truncate Don t Alldw OK Cancel www dediprog com 14 iS EM100Pro Software User Manual 7 2 2 3 Download Click on this button will download the loaded image to the conne
22. ing device 08 21 14 2 Show the ID list 3 Setting Hold pin status DediProg Technology Co Ltd Taiwan Headquarter TEL 886 2 2790 7932 FAX 886 2 2790 7916 4F No 7 Ln 143 Xinming Rd Neihu Dist Taipei City 114 Taiwan Shanghai Office TEL 86 21 5160 0157 FAX 86 21 6126 3530 Room 503 Block E No 1618 Yishan Road Shanghai China Technical Support support dediprog com Sales Support sales dediprog com www DediProg com Information furnished is believed to be accurate and reliable However DediProg assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties which may result from its use Specifications mentioned in this publication are subject to change without notice This publication supersedes and replaces all information previously supplied All rights reserved Printed in Taiwan www dediprog com 34
23. k Point Start Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting a Type W25Q32FV Name 4M bin oa Manufact Winbond Size 0x80000 Bytes Download to EM100 EM100Pro Verify from EM100 EM 100Pro Size KB 4096 Checksum 00009DB3 Start Emulation Device Ready www dediprog com 15 iS EM100Pro Software User Manual 7 2 2 6 Stop Click on Stop will put EM100Pro into stop mode During stop mode users can download from PC to EM100Pro or upload from EM100Pro to PC SPI access from the application to EM100Pro is disabled during stop mode A DediProg EM100 serial flash emulator 4 2 18 DP123456 5 File View Help a 2 CHIP SELECT OPENFILE OOWNLOAD VERIFY RUN STOP UPLOAD EDT BATCH CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 EM 100 Operation Log SPI Bus Status SPI Trace i Downloading please wait A Pin Status i Target Memory Region 0x0 0x80000 Start Trace i Fill other Memory area with OxFF i Download Complete CLK Low G Verifying G Truncate File To Fit Memory Disable G Reading From Address 0x0 0x80000 SI Low Clear Buffer G Checking please wait HOLD Low Verify Pass Checksum is the same System boots from EM 100 Save Trace GEM 100 Hold Pin Setting Input by default i Trace V Authentication Pass Last Issued Command Displa
24. l the rest area with byte datate g d x file bin x HxAA gt only works with d Truncate File to chip size if the file size bigger than chip size only works with d g target J arg 1 Target Options hold arg 15 Available values i Chip 1 Default gt 2 Ghip 2 Hold Pin Status While Emulation i Default LowtDefault gt 2 Input by default 3 Floating by default EM100Pro Software User Manual 7 7 2 Basic Switches EM100Pro command line always starts with smucmd following with the switches Basic Switch r read arg read the EM100Pro contents and save to a bin hex s19 or STDOUT to the console d download arg download a file to the EM100Pro display the downloaded content checksum f fsum arg display the file checksum needs to work with a file device arg work with all Basic Switches 1 activate only the programmer connected to USB1 n activate only the programmer connected to USBn NOTE if device is not used the command will be executed with the same chip type and file on all connected programmer list device id arg O List all ID of programmers from USB1 to USBn Default NOTE the sequence is assigned by OS during USB plug in 1 Prompt the device ID of programmer connected to USB1 n Prompt the device ID of programmer connected to USBn Option Switch v verify verify file and EM100Pro contents only works with d a ad
25. ng a Fill other memory area with Ox FF x i C Up to FFFFFF No change other memory contents Pin Settings IV Dual flash function Slipts one image into two files equally with same flash type www dediprog com 18 iS EM100Pro Software User Manual Use ONE image to emulate 2 same types of SPI flash method For example If you want to emulate TWO 32Mb SPI flash you should load ONE image and its size is 64Mb 1 Click Configure 2 Under Batch Configuration page please Tick Dual Flash Function Split one image into two equally with same flash type Then press OK 3 Click Chip Select to choose which flash would be emulated After selected the flash it will be emulated TWO same SPI flashes that you selected automatically 4 Then Open file and LOAD one image that is 2 times bigger of your selected SPI flash Then it will split into two equal images in the buffer 5 After the upper procedures you can click Download and Run for emulation Starting LJ DediProg EM100 serial flash emulator 4 2 18 DP123456 EN File View Help ev 9 9 ARIP AR AES CHIP SELECT OPENFILE OOWNLOAD VERIFY RUN SUP UPLOAD EDIT BATCH CONFIGURE Currently emulation on Application Memory Chip 1 Application Memory Chip 2 EM100 Operation Log SPI Bus Status SPI Trace Verify Pass Checksum is the same A Pin Status i System boots from EM100 E Start Trace 7 EM100 Hold Pin Setting Input by default Sf i Checking Authentic
26. o boot your system now Stop EM100 EM100Pro EM100 EM100Pro is in STOP mode now EM100 Operation Log SPI Bus Status SPI Trace i Fill other Memory area with OxFF A Pin Status Comple Start Trace nea ys cs High i Truncate File To Fit Memory Disable ak Low i Reading From Address 0x0 0x80000 or i Checking please wait Verify Pass Checksum is the same SI Low Clear Buffer i System boots from EM100 HOLD Low i EM100 Hold Pin Setting Input by default i Checking Authentication Save Trace Authentication Pass Last Issued Command gt Display Trace i EM100 Hold Pin Setting Floating by default Jox00 lt gt SPI Hyper Terminal Check Point Start Hold Pin Setting Memory Info File Info Batch Config Setting T W25Q32FV Name 4M bin Stop Emulation Floating by default a oa Manufact Winbond Size 0x80000 Bytes Download to EM100 EM100Pro Verify from EM100 EM 100Pro Size KB 4096 Checksum 00009DB53 Start Emulation Device Ready a7 www dediprog com 17 iS EM100Pro Software User Manual For Second memory setting 1 Click Application memory chip2 2 click Chip Select to choose the SPI flash and Open file to load your file 3 click Download 4 click Run DediProg EM100 serial flash emulator 4 2 18 DP123456 a File View Help e a 2
27. order to boot the application After the software and USB driver are installed please follow the following steps before running the software 1 Connect the EM100Pro to the host PC through a USB cable Users have to wait about 3 seconds until the hardware initialization is done and the green LED of the EM100Pro is ON before using any features of the software This process will recur each time when EM100Pro is plugged to the PC 2 Connecting EM100Pro to the target system consists of plugging one end of the emulation cable s to the emulator s connector s and the other end to the target system via the appropriate emulation adaptors DediProg provides users one 2 54mm 2x10 to 2 54mm 2x5 cable one EM100Pro connection adaptor one female 1 27mm 2x8 cable one female 1 27mm 2x4 cable one 2 54mm 2x5 split cable and one grabber clip Users can easily connect EM100Pro to the target systems with these components 3 Double click on the EM100Pro software icon on your desktop www dediprog com 12 EM100Pro Software User Manual 7 2 GUI Functions 7 2 1 GUI Overview LJ DediProg EM100 serial flash emulator 4 2 18 DP123456 ee File View Help a gt 2 OO Ff 8 8 O om CHIP SELECT OPENFILE DOWNLOAD VERIFY RUN STP UPLOAD EDIT BATCH CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 SPI Trace EM100 Operation Log SPI Bus Status SPI Trace i Welcome to DediProg 4 2 18
28. ption to select the device driver from a list Windows does not guarantee that i386 zA the driver you choose will be the best match for your hardware To view any subfolders click a plus sign above lt Back Next gt Cancel aS h www dediprog com 7 iS EM100Pro Software User Manual Found New Hardware Wizard Please choose your search and installation options Mates Y Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM I Include this location in the search C Program Files D ediprog EM100 driver C Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not quarantee that the driver you choose will be the best match for your hardware lt Back Next gt Cancel 8 As the Fig 7 shows please ignore the warning and click on Continue Anyway to continue the installation Fig 7 Click on Continue Anyway to continue the installation Found New Hardware Wizard s Please wait while the wizard installs the software Hardware Installation Dediprog Emulator driver Dediprog Emulator driver has not passed Windows Logo testing to verify its compatibility with Windows XP Tell me why this testing is importan
29. r In this case EM100Pro is used as a bidirectional bridge between PC Host and application so that PC Host can control the application as a debugger breakpoints step by step wait mode provide parameter information Please contact support dediprog com for DediProg SPI Hyper Terminal Specification www dediprog com 29 EM100Pro Software User Manual 7 7 EM100Pro Window Command Line EM100Pro windows command line software is designed to allow users to control EM100Pro directly from window DOS command line without opening the Windows GUI application 7 7 1 Howto Start EM100Pro window dos command line software is executed by the file smucmd exe There are three different ways to execute EM100Pro command line software 1 Users can double click on the EM100 CLI icon on your desktop and type in smucmd with switches 2 Change your dos directory to the same location where smucmd exe is located C program files dediprog EM100 3 Type in the following command to auto direct the smucmd command to the smucmd exe location Set path path c program files DediProg EM100 www dediprog com 30 Window DOS Command elp Example EM100Fro CU smucmd stop set M25P80 d x gt file bin u start Remark h r d have to Basic Switches h help set arg stop start c check bh hblank r read arg d
30. rial Flash and also the next generation Serial Flash The EM100Pro will reduce your development time thanks to its RAM based memory and debugging features The RAM based emulator can be loaded with new code in a few seconds whatever the densities selected when a standard Serial flash memory would need more than one minute The file contents and the emulated chip contents can be displayed compared edited and saved into a binary file The Serial Flash Emulator is connected to the host PC through the USB2 0 high speed bus in order to achieve fast transfer rate The Serial Flash emulator is transparent and straightforward for your application controller Fig 1 SPI Flash Emulation Save time for your code trials Target System Host PC SPI Flash Emulation Very fast code update less than 3 sec USB www dediprog com 2 EM100Pro Software User Manual 1 2 Application Firmware Debugging Features EM100Pro improves debugger performance With the SPI Protocol Trace feature EM100Pro allows to monitor all the SPI bus communication while the system is booting from EM100Pro or from the on board chip With the Hyper Terminal feature EM100Pro allows to display any debug messages coming from the controller Firmware on the SPI bus while the system is booting from EM100Pro or from the on board chip Bi Directional communication is also possible between your application firmware BIOS and your HOST PC through SPI bus to work as a d
31. stay transparent for the application The Hold signals can also be driven low by the software configuration to disable the SPI Flash soldered on the board This configuration can only be used if the Hold pin on the on board serial Flash is pull up through a resistor not directly connected to Vcc Vcc signal has to be connected to the application Serial flash power as EM100Pro is monitoring the power level in order to enable or disable the SPI outputs If Vcc gt POR then SPI output are enabled If Vcc lt POR then SPI outputs are switched in High impedance to not damage the application controller www dediprog com 9 EM100Pro Software User Manual 4 2 Connect EM100Pro to application Connecting EM100Pro to the target system consists of plugging one end of the emulation cable s to the emulator s connector s and the other end to the target system via the appropriate emulation adapters The Reset signal can be connected through the Reset grabber to the Reset signal of the target system in order to automatically force the target system to restart from a Reset condition every time the emulation starts Warning 1 the Reset grabber should be connected to your target s reset circuitry input by taking care to not connect it to a push pull output to avoid any possible conflict Warning 2 always make sure to plug the emulation adapter correctly into the target system Plugging the emulator adapter backward may damage both emulator
32. t Continuing your installation of this software may impair iz or destabilize the corect operation of your system 1 either immediately or in the future Microsoft strongly wot p recommends that you stop this installation now and contact the hardware vendor for software that has I t The software you are installing for this hardware e passed Windows Logo testing j Ga STOP Installation ance 9 Please wait until the installation is finished www dediprog com 8 EM100Pro Software User Manual IV EM100Pro Connections to the Target System 4 1 EM100Pro Pins Assignment The EM100Pro has two 2 54mm pitch males connectors of 2x2 for the Reset and Trig signals 2x10 for the Emulation signals Tab 1 EM100Pro pins assignments 19 17 i 2 uw 9 7 5 a8 1 GND GND GND_ CTRL CTRL CTRL 3 3V GND_ WPI MISO CS1 Hold2 Trig Reset CTRL CTRL 3 3V_ NC __ Wp2 MOSI CLK Hold1 Vec CS2 __ 20 18 16 144 2 10 8 6 A The signals 3 to 10 blue are use for the SPI Flash 1 and are pin out compatible with the standard SPI pin out The signals 1 2 and 12 are used for the SPI Flash 2 Quad IO is only supported if Serial Flash 2 is sharing the SPI bus with Serial Flash 1 The others signals are planned for future options The signals WP1 CS1 CLK MISO MOSI and Hold1 are configured in High Impedance when the emulation is stopped to
33. tings configured in the configure option EM100Pro Software User Manual 7 2 2 12 Configure In the Configure Setting users have access to the configuration of Batch Operation SPI Hyper Terminal and Hold Pin Setting and reset pin setting Batch Operation Configure Setting Stop Emulation Stop Emulation Reload file Reload file l Download to EM100 EM100Pro Download to EM100 EM100Pro Verify from EM100 EM100Pro Add gt Verify from EM100 EM100Pro Batch Operation Start Emulation Start Emulation P SPI Trace Setting oo Download Address Hex If Chip size gt File size Starting fo Fill other memory area with Ox FF C Upto FFFFFF C No change other memory contents Pin Settings M Duval flash function Slipts one image into two files equally with same flash type In the Batch Operation users can add operations to a batch group or remove operations from a group www dediprog com 20 iS EM100Pro Software User Manual SPI Trace Setting In SPI Trace Setting user can enable saving all the SPI trace to file continuously during SPI tracing If the file size is bigger than 128MB it would automatically create another new file to save it Configure Setting gt res ties E SPI Trace Enable saving all the SPI trace to file continuously during SPI tracing a PROPS Lal ya Batch Operation x SPI Trace Setting N P Prk Soe aae a al i SPI Hyper Termina
34. uded with the emulator shipment The setup program will copy the required files to your hard drive automatically Update can be found on our web site 1 Insert the installation CD or download the installation software from www dediprog com 2 Execute EM100 msi file and click next until the installation is finished 3 After step 2 connect the USB cable between the host PC and EM100Pro for USB driver installation Users have to wait until the hardware initialization is done and the green LED of the EM100Pro is on a hardware wizard will then show up Users may find the USB driver from the CD ROM provided by DediProg or in the c program file Dediprog EM100 driver folder Please follow the steps with the Found New Hardware Wizard as the pictures Fig 3 to Fig 7 shown bellow 4 As the Fig 3 shows users will see a Windows pop up for Found New Hardware Wizard At the beginning it will ask if users want Windows to connect to Windows Update to search for software Please select No not this time and click on Next to continue Fig 3 Found New Hardware Wizard Found Mew Hardware Wizard www dediprog com Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time
35. y i Start EM 100 EM 100Pro EM100 EM100Pro is in Emulation mode Ready to boot your system now 0x00 y lt gt 7 m SPI Hyper Terminal Check Point Start Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting Type W25Q32FV Name 4M bin Stop Emulation Input by default Reload file Manufact Winbond Size 0x80000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 4096 Checksum 00009DB3 Start Emulation Device Ready 7 2 2 7 Upload Click on Upload will read EM100Pro content to the central buffer 7 2 2 8 Edit Click on Edit will display the central buffer content in the edit window Also it provides swap function keys for byte word and double word as well as the Fill Buffer function www dediprog com 16 iS 7 2 2 9 Dual flashes emulation EM100Pro Software User Manual You can emulate two different of SPI flash For first memory setting 1 Click Application memory chip1 2 click Chip Select to choose the SPI flash and Open file to load your file 3 click Download DediProg EM100 serial flash emulator 4 2 18 DP123456 File View Help Af VERIFY Q RUN TEJE STOP UPLOAD EDIT CHIP SELECT OPENFILE OOWNLDAD CONFIGURE RESET Currentiy emulation on C Application Memory Chip 1 gt Application Memory Chip 2 Start EM100 EM100Pro EM100 EM100Pro is in Emulation mode Ready t
Download Pdf Manuals
Related Search
Related Contents
Descripción del proceso 2011 Jeep Compass User Guide Prest-on 4045 Instructions / Assembly EdgE® 605/705 Manhattan 161251 computer TV tuner INDOOR Flea Fogger Flea Fogger Flea Fogger 4. Guia Rápido - Positivo Informática Installation - Cascade Corporation User Manual - san telequip Copyright © All rights reserved.
Failed to retrieve file