Home
DediProg EM100Pro Software User Manual
Contents
1. DediProg Technology Co Ltd www dediprog com DediProg EM100Pro Software User Manual V1 0 1 1 September 2011 DediProg Technology Co LTD 4F No 7 Ln 143 Xinming Rd Neihu Dist Taipei City 114 Taiwan Email for technical support support dediprog com Email for Sale information sales dediprog com www DediProg com September 11 DediProg Technology Co Ltd www dediprog com Table of content L TRE OCU CUO seiiesiacersassssesiareaiesssscsavavsisstensessasoetsnunsessaddesesvarccanmineisesaceadsennsiuaions 3 A SPI Flash i Ani ericeira iriran isn eieaa pidenacasicaanetorentanctacsdbeotieesaes 3 B Application Firmware Debugging Features eseesecccesneceeseceeeseeeeeeneeeeaeers 4 II Serial Flash and Instructions Supported ccsssccccssssssseceseees 5 A SPI Fl sh Support d lees ter ee eee neo ne eer eer eae ener 5 B Instr ctions Set Supported 365 2525 cece sites denaceedinssancan scaeaciens tees dluecsae aeeeeacuepeennaits 5 II EM100Pro Software Installation Guide sccsscsssccsesesscerees 6 IV EM100Pro Connections to the Target System sssecsseoessoesssose 10 A EM100Pro Pins Assignment ssssssesersseeseersessesssessrsscesesssceseseressreserssesseeseesseso 10 B Connect EM100Pro to application sseeseseseeseeseesssessesesserssereseressresseresesrssens 10 vV Connecting the EM100Pro to the Host PC ssssoessssooeessososesssose 11 V
2. IV Include this location in the search C Program Files DediprogEM100 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 guarantee that the driver you choose will be the best match for your hardware lt Back Next gt Cancel September 11 8 DediProg Technology Co Ltd www dedipreg com 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 Please wait while the wizard installs the software 9 Please wait until the installation is finished September 11 9 DediProg Technology Co Ltd www dediprog com V EM100Pro Connections to the Target System A EM100Pro Pins Assignment The EM100Pro has two 2 54mm pitch males connectors 2 2 for the Reset and Trig signals 2 10 for the SPI signals Tab 2 EM100Pro pins assignments 3 1 19 17 15 13 11 9 7 5 3 1 GND GND GND CTRL CTRL CTRL 3 3V_ GND WPI MISO CS1 CTRL Trig Reset CTRL CTRL 3 3V_ NC CTRL MOSI CLK Hold1 Vcc CTRL 4 2 20 18 16 14 12 10 8 6 4 2 The signals 3 to 10 blue are used for the SPI Flash 1 and are footprint compatible with the standard SPI pin out The others signals are planned for future options The signals WP1 CSI CLK MISO MOSI and
3. Reset button EM100Pro will send out the reset signals from its reset pin based on the reset settings configured in the configure option I Configure In the Configure Setting users have access to the configuration of Batch Operation SPI Hyper Terminal Hold Pin Setting and reset pin setting Batch Operation g Configure Setting tates Stop Emulation Reload file i A Download to EM100 M100Pro Download to EM100 EM100Pro Verify from EM100 EM100Pro Verify from EM100 EM100Pro Batch Operation Start Emulation Start Emulation K 1 Traci SPI Trace Setting voor Download Address Hex If Chip size gt File size SPI Hype pkb Starting o Fill other memory area with Ox FF f lt l C Upto FFFFFF C No change other memory contents Pin Settings Pin Settings Dual 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 September 11 21 DediProg Technology Co Ltd www dediprog com 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 B o o b SPI Trace 7 Enable saving all the SPI trace to file continuously during SPI tracing Batch Operation v Save to SPI
4. Checking please wait Verify Pass Checksum is the same Q system boots from EM100 Save Trace EM 100 Hold Pin Setting Default Low eo Aiitienticiion i Last Issued Command Display Trace W Authentication Pass Start EM100 M100Pro EM100 EM100Pro is in Emulation mode Ready to boot your system now so Low 4 Ul SPI Hyper Terminal Check Point Start Clear Buffer Save Log SPI HT Viewer Memory Info Batch Config Setting Type MX25L 1605D Message bin Stop Emulation Reload file Manufact Macronix 0x200000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 2048 00002558 Start Emulation f Device Ready SS 2 a a N g Upload Click on Upload will read EM100Pro content to the central buffer h 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 September 11 16 DediProg Technology Co Ltd www dediproeg com i Dual flashes emulation File View Help CHIP SELECT OPEN FILE OOWNLOAD VERIFY CONFIGURE RESET Currently emulation on EM100 Operation Log SPI Bus Status r SPI Trace Welcome to DediProg 4 1 14 Pin Status _ i Type EM100PRO Start Trace Q Mau Version 2 13 FPGA 0 37 w Version 0
5. Ltd www dediprog com I Introduction A 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 Serial 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 Host PC Target System Tg SPIFlash Sa Save time Very fast code update Emulation fem for your less than 5 sec code trials USB September 11 3 DediProg Technology Ce Ltd www dedipr
6. Active Low Active C High Active 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 Reset Pin V Enable Reset Pin Output Open Drain Push Pull Active C Low Active High Active Hold Pin Status While Emulation Default Low Input by default C Floating by default MISO Setting C MISO output are driven by FPGA MISO output are driven by external buffer Gam Under Pin Settings user can select MISO pin is driven by FPGA or by External Buffer It will be according to user needs September 11 26 DediProg Technology Co Ltd www dediprog com 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 is in run mode SPI trace and SPI Hyper terminal can work in run mode for emulator boot and in stop mode for on board chip boot 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 sys
7. C Users dediprog Desktop desk top Message bin is loaded MXx251 16050 chip is selected C Users dediprog Desktop desk top Message bin is opened Save Tri Clear Buffer smeT Display Trace Stop Clear Buffer e SPIHT Viewer ace mLast Issued Command gt SPI Hyper Terminal Check Point Save Log Hold Pin Setting Memory Info File Info Batch Config Setting Type MX25L 1605D Name Message bin Stop Emulation Default Low Reload file Manufact Macronix Size 0x200000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 2048 Checksum 00002558 Start Emulation Device Ready A 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 September 11 17 DediProg Technology Co Ltd www dediprog com EJ DediProg EM100 serial flash emulator 4 1 14 File View Help ms m e a A S P CHIP SELECT OPENFLE OmwLoaD VERIFY RUN sap woo ET TCH CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 gt Ore Operation Log SPI Bus Status m SPI Trace FPGA 0 37 a Pin Status Q Hw Version 0 Start Trace C Users
8. Hold are configured in High Impedance when the emulation is stopped to 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 B 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 damag
9. Pin Setting displays the hold pin setting status Memory Info The Memory info displays the emulated memory information such as its part number its memory size pin status etc September 11 13 DediProg Technology Ce Ltd www dediprog com 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 2 Tool Bar a Chip Select Click on CHIP SELECT to select the target SPI Flash you are willing to emulate Click on OK The selected chip type will be shown on the GUI Manually Select Memory Type Manufacturer Memory List Cancel b Open File Click on Open File and load the image you would like to download to the EM100Pro x File Path C Documents and Settings Administrator Desktop Message bin x Program as Data Format Raw Binary Intel Hex Motorola 519 ROM If File size gt Chip size Truncate Don t Alldw OK Cancel September 11 14 DediProg Technology Co Ltd www dedipreg com c Download Click on this button will downloa
10. dediprog Desktop desk top Message bin is loaded Eai G Mx25L1605D chip is selected J ax Sap Tacs V C Users dediprog Desktop desk top Message bin is opened on a MX25L 1605D chip is selected now is emulating on Application Memory Chip SI Clear Buffer Now is emulating on Application Memory Chip MX25L 1605D L HOLD Q Loading file Q c Users dediprog Desktop desk top Message bin is loaded Save Trace now is emulating on Application Memory Chip Q M25P80 chip is selected ae ae cz Users dediprog Desktop desk top CheckPoint bin EES Display Trace Q M25PE16 chip is selected II My i SPI Hyper Terminal Check Point Start Stop Clear Buffer Save Log SPI HT Viewer Hold Pin Setting File Info Batch Config Setting Dolton a Size 0x200000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Checksum _ 0000C1F8 Start Emulation Device Ready E yy 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 Then EM100Pro can start to emulate DUAL SPI flashes that you selected September 11 18 DediProg Technology Co Ltd www dediproeg com Configure Setting a Me Batch Operation Start Emulation Start Emulation 8 SPI Trace Setting f i 37 H 4 Download to EM100 EM100Pro Download to EM100 EM100Pro Verify from EM100 EM100Pro Verify from EM100
11. 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 2 89913081 4 03 1FFF00 FF 02 50 02 58 02 59 02 68 02 69 02 64 02 6B 02 6C 02 6D 02 6E 02 6F 02 FA BO 01 E6 80 B8 00 FO 8E D8 BE FO FF 80 3C EA 75 05 EA SB E0 00 FO BO 02 E6 80 66 2E OF 01 16 A8 FF OF 20 CO OC 01 OF 2 89916629 5 03 1FFFF0 OF 09 E9 23 2 89917044 6 03 1FFF00 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 8E 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 2 89920418 7 03 1FFFA8 47 00 60 FF 2 89920829 8 03 1FFFA8 47 00 60 FF FF FF 8B FF 2 89921423 3 03 1FFF00 FF 02 50 02 58 02 59 02 68 02 69 02 64 02 6B 02 6C 02 6D 02 6E 02 6F 02 FA BO 01 E6 80 B8 00 FO 8E 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 2 89924653 10 03 1FFF40 22 CO FC B8 08 00 SE D8 8E CO SE DO 8E E0 SE E8 66 EA B5 FC FF FF 10 00 8D A4 24 00 00 00 00 90 t 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 2 89928545 it 03 IFFC 80 E471 0A CO 75 14 66 B9 EE 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 A0 01 00 00 OF 32 OF BAFO 16 2 89931790 12 03 IFFCO 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 aa Filter I write Enable ox06 J Normal Read ox03 J Chi
12. 00Pro 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 b Stop Trace Click on stop trace SPI trace will be stopped c Clear Buffer Click on clear buffer the SPI trace data stored in the PC buffer will be cleared d Save Trace Click on save trace user can save the SPI trace data in the PC buffer to a file e 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 f 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 September 11 28 DediProg Technology Co Ltd www dediprog com Save Trace Display Trace Clear Buffer TIMESTAMP CNT CMD ADDRESS DATA ale 2 41564066 1 03 Cy I 2 42601388 2 03 000000 FF FF FF FF 2 89880151 3 03 1FFFC0 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
13. 5 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 Information furnished is believed to be accurate and reliable However DediProg assumes no responsibility for the consequences of use of such information nor 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 September 11 32
14. EET TTE E E cases siocasaeed E 28 B Stop Trace erare oere aE anaa OE E EE E e AEE AEREE EE SEA AREEN EY 28 Clear Batter spree iberna aeeie a E Ei eS E EE EE E AE E EE E EE 28 e DE o n E e E E E E E E E T 28 e Display Trace fag sccceedoes5cedsscanvescsethaeseessbeuscesccaues sctesuseo scoevsedidsgessisesauesvedadties edeatoeaeaieusessaeteists 28 f SPrlirace VIEWED ersero anar rar aa a A Ea e a ERE EE Oe PASE EEA REPES AER E ERREN 28 6 SPL Hyper Terminal Window 2 ss sseecscessacvescesvasti sceasteasicostedvesentoiessssenssesostoceesoes EEEa i eioi ote 30 C EM100 Window Command Line oj scsccsssnccachvassadadsaduadcseasadsnssenetiaboasetanniacaniads 31 1 Howto Start secs geoacencs oisieie seta aiecedee eee ees eid aw ke estes ieee ee ee 31 2 Basic S WItChe S eenas aiacsiecdienese ot chbebecaianadt cana saee cae seidh tea tan cedeene fe peusesieesieeede caetadsetieeedace 32 3 Command Line Example ai ccscoss ccsscie chases eea uae aves teenies ceed reece nie ARE ENR E 32 Important notice This document is provided as a guide line 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 September 11 DediProg Technology Co
15. EM100Pro SPI Hyper Download Address Hex If Chip size gt File size SPI e Starting a Fill other memory area with Ox FF if f C Upto FFFFFF No change other memory contents Pin Settings IV Dual flash function Slipts one image into two files equally with same flash type 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 September 11 19 DediProg Technology Co Ltd www dediproeg com UPLOAD DPEN FILE 2 Q O VERIFY RUN STOP Currently emulation on Application Memory Chip 1 Application Memory Chip 2 O CONFIGURE RESET CHIP SELECT OOWNLOAD or j EM100 Operation Log SPI Bus Status SPI Trace PFill
16. I Quick Start Spe ne meister ete ore een ne Se ee eer 11 VII EM100Pro Software User Guide cssccscsscsssccscsscsscccssscescees 12 A Environment PPE AU Ogata bossa wast iiien Eea E pce 12 B CGULFUNCUONS rs aeee nimi eget sees e E A E A ERS 13 1 GUT OVer vie W ssiecsecs5ab oes heedassidcia sadeztaesshebAicaieveedags E EEA RE RERE 13 2 Tool Baf pieier p E EEE S E E S ENE S ETRE 14 aj CHp Selec irna a E E E A Es 14 D Open Biles sieves nonea a E E R E E E N a westenas 14 C Download aresas iaa e r a de ele die mace e 15 d Veriyor ninne EaR EE EERTE EE EREE GE E E EEE 15 ek R ksan a aie a ceive nec deed a E R a 15 f STOP ee aE E E ctantees sivuvs de latewaveeei E E E ecuabage suuevaneveieeett eonetoenes 16 B Uploads snc ese cs casceacsecteoesd diii NEA EAEE NERE RE clvonasecelueectestoveneed 16 Ih Editera a a E eerie iia cage e he iene 16 1 DPu alflash es emulation mrana E E O 17 E a E A E EE A A E A T nn ERO GR IT Ty 20 K ROSOU reese aan a E N a A anata E eels ce saree eertres 21 1 COMMPULCs tssois iieii EE AEE EEEE ERNER R EEEN EAE 21 3 SPI Status SPI trace SPI Hyper Terminal 00 0 0 eee cece eeceeseceseceseeeeeseeeseesseenaesneeeneeeneeeneees 27 4 SPIBUS Stats Wind OW iis cccdes csassae lt ceavsngsascendessonngeesactieesoanthasssetiadsssotenaesdiedieeceendbagea savages tuexsaees 27 5 SBI TrACE WANG OW seere eeraa erran a e e r RRE o O OR AE Er eE Eae REE La n arer EKET 27 a Scia PLACE a O EE T
17. Log SPI Bus Status SPI Trace Welcome to DediProg 4 1 14 r Pin Status Type EM100PRO Start Trace MCU version 2 13 EM100 pro Operation Q FPGA 0 37 cK Hw Version 0 so C Wsers dediprog Desktop desk top Message bin is loaded SI Clear Buffer HOLD Save Trace SPI Bus Status oe Last Issued Command Display Trace EA SPI Hyper Terminal Check Point Start SPI Hyper Terminal Clear Buffer Save Log HT j Hold Pin Setting Memory Info Jeu Hold Pin Setting Memory Info File Info Batch Config Setting Type MX25L 1605D Name Message bin Stop Emulation Default Low Reload file Manufact Macronix Size 0x200000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 2048 Checksum 00002558 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
18. PI 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 SPI Hyper Terminal E o A Check Point ia Start 3296 EFI_UNSUPPORTED ESO 3297 3298 2545 00000095 Stop 3299 Pci Header ClassCode 1 80 Pci Header ClassCode 2 3 2914 00000096 3302 00000098 Clear Buffer 3773 00000092 v Iv j CEECEE KASER m maoun a mo i m fl Save Log Hold Pin Setting Memory Info File Info Batch Config Setting Default Low Type MX25L1605D Name Message_New bin ee Manufact Macronix Size 0x200000 Bytes Download to EM100 Verify From EM100 Size KB 2048 Checksum 00004561 Start Emulation Device Redy O00 A September 11 30 2 EM100Pro is used by PC Host as a debugger 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 It is also possible to customize your own protocol and GUI C EM100 Window Command Line EM100Pro windows command line software is designed to allow users to control EM100
19. Pro directly from window DOS command line without opening the Windows GUI application 1 How to 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 EM 100 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 Window DOS Command smucmd stop set M25P8 d x file bin v start Remark b r d s have to work with set Basic Switch show the help message with examples rg e set chip type stop the emulation mode start the emulation mode check the emulator status and the emulator firmware blank check the EM16 contents arg read the EM10 contents and save to a bin hex si or STDOUT to the conso arg download a file to the EM16 arg display the downloaded content checksum Larg display the file checksum lt needs to work with a file gt Option Switch y zverify y file and EM1 A contents only works with d a arg tstarting addressCe g d x file bin a x gt only works with d r ml arg tlength to read download in bytesCe g r x file bin 1 6x10006 only w
20. Trace Setting gt SPI Hyper Terminal a Pin Settings September 11 22 DediProg Technology Co Ltd www dediprog com SPI Hyper Terminal Configure Setting es SPI Hyper Terminal IN Using Nomal Read 0x03 OP Code Batch Operation C Using Dedicated OP Code Hex 11 a gt Do not use existing SPI OP codes SPI Tr d Enable CheckPoint Translation race SPI Trace Setting CheckPoint File Path Find Look Up Table File Path a Find per SPI Hyper Display Font Color Terminal CkeckPoint HEX ASCII TimeStamp LookUp me eee eee S M Pin Settings In the Hyper Terminal user can select one from the two ways of sending debug message See our SPI Hyper Terminal specification for more information Also it provides the display font color function for user to change preferred colors on the log window September 11 23 DediProg Technology Co Ltd www dediproeg com Hold Pin Setting Configure Setting Batch Operation 8 SPI Trace Setting Terminal n Botti MAine te Pin Settings ee T l MMM pa i o Reset Pin V Enable Reset Pin Opt Open Drain Push Pull Active Low Active C High Active 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 extema
21. an also be accessed by the application in 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 September 11 12 DediProg Technology Ce Ltd www dediprog com B GUI Functions 1 GUI Overview BA DediProo evo serial fiashemUlstor 4 A File View Help KIRAR AR AE E ARIF e CHIP SELECT OPENFILE DOWNLOAD VERIFY RUN STAP UPLOAD EDIT CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 SPI Trace EM100 Operation
22. d the loaded image to the connected EM100Pro d Verify Click on this button will compare the loaded file contents on the PC side and the downloaded file contents in the emulated memory e 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 allowed F 7 ATE E ATTA y leh E DeciProg 00 seal aah emer 4114 OE e o T a o oa File View Help al ie OO CHIP SELECT OPENFILE QOWNLOAD VERIFY RUN STOP UPLOAD CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 EM100 Operation Log 1 SPI Bus Status SPI Trace Fill other Memory area with OxFF Pin Status Download Complete ee Start Trace Verifying cs Hig Truncate File To Fit Memory Disable aK Low lr 4 Reading From Address 0x0 0x200000 so ion Checking please wait Verify Pass Checksum is the same SI Low Clear Buffer System boots from EM100 B HOLD Low EM100 Hold Pin Setting Default Low Q Checking Authentication Save Trace Authentication Pass Start EM100 EM100Pro EM 100 EM 100Pro is in Emulation mode Ready to boot your system now Display Trace i mmand Di
23. e 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 New Hardware Wizard 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 O Yes this time only Yes now and every time connect a device Click Next to continue September 11 6 DediProg Technology Co Ltd www dediprog com 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 Poa tas SY Hardware Wizard This wizard helps you install software for Dediprog Emulator driver If your hardware came with an ins
24. e both emulator and target system Download our documentation EM100 Hardware connection for more information September 11 10 DediProg Technology Co Ltd www dediprog com 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 SPI Hyper Terminal settings etc 2 Load the file The file must be first loaded in the EM100Pro software buffer 3 Download the file The EM100 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 7 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 September 11 11 DediProg Technology Co Ltd www dediprog com Vil EM100Pro Software User Guide A 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 c
25. ease 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 4 i Please choose your search and installation options CN Y Browse For Folder 2x 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 S 7 I Common Files I Search removable media floppy CD ROM I ComPlus Applications Dediprog Emioo config Of O amd 4 Choose this option to select the device driver from a list Windows does not guarantee that i386 the driver you choose will be the best match for your hardware edethsTocation in the search C Program Files Dediprog SF100 USB Driver win x C Don t search Potrchoese Browse To view any subfolders click a plus sign above Found New Hardware Wizard Please choose your search and installation options rae 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 I Search removable media floppy CD ROM
26. ilter Write Enable ox06 IT Normal Read ox03 IT Chip Erase 0xc7 Address Range I Write Disable 0x04 Fast Read 0x0B I Chip Erase 0x60 Start 0x p J Read Status Register 0x05 IV Page Program 0x02 J7 Read ID 0x9F End Ox FFFFFF Write Status Register 0x01 Sector Erase OxD8 Others of J Mask Non Significant Address Bits Save Result SPI Trace Viewer with only page program data September 11 29 DediProg Technology Co Ltd www dediprog com 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 messages 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 command analyzing module USB command analyzing module S
27. l buffer 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 the on board Serial Flash In the other cases it is recommended to keep the EM100Pro Hold signals in floating mode September 11 24 DediProg Technology Co Ltd www dediprog com Reset Pin Setting l l Configure Setting M Ow ee Y Reset Pin V Enable Reset Pin Output Open Drain Batch Operation C Push Pull Active Low Active SPI Trace Setting zzz C High Active cp Hold Pin Status While Emulation Hyper Terminal Default Low yo Input by default Floating by default Pin Settings 2 MISO Setting MISO output are driven by FPGA MISO output are driven by extemal buffer 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 September 11 25 DediProg Technology Co Ltd www dediprog com MISO Setting Configure Setting Batch Operation SPI Trace Setting SPI Hyper Terminal Pin Settings Configure Setting Batch Operation SPI Trace Setting l SPI Hyper Terminal gt Pin Settings lt li gt ge FS ER Reset Pin V Enable Reset Pin Output Open Drain C Push Pull
28. og com B 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 SPI 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 debugger contact us for more information Fig 2 SPI Debugging features Host PC SPI Debugging information SPI Protocol Analyzer SPI Virtual terminal Target System EM100 pro Emulator September 11 DediProg Technology Co Ltd www dedipreg com ll Serial Flash and Instructions Supported A 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 B Instructions Set Supported Find below the instruction set currently supported by the EM100Pro Tab 1 instructions set SPI command Instruction code Description Page Pr
29. ogram 0x02 Page Program 1 up to 256 Bytes Normal Read continuous with roll over at the end Read 0x03 of memory WRDI 0x04 Write Disable RDSR 0x05 Read Status Register WREN 0x06 Write Enable Fast Read with dummy byte continuous with roll nast Peag OOB over at the end of memory Sector Erase with different granularity according Series uxet to the target memory Chip Erase 0x60 Chip Erase Chip Erase 0xC7 Chip Erase Block Erase with different granularity according to Block Erase 0xD8 the target memory Read Jedec ID Ox9F Read Identification Read ID 0x90 Read Identification More instructions will be added under customer s request September 11 DediProg Technology Co Ltd www dediprog com lil EM100Pro Software Installation Guide The EM100Pro software program is provided in the CD ROM included 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 th
30. orks with d r arg zfill the rest area with byte dataCe g d x file bin x xfAA only works with d Truncate file to chip size if the file size bigger than chip si only works with d C Program Files DediProg EM10 gt _ 31 DediProg Technology Co Ltd www dedipreg com 2 Basic Switches EM100Pro command line always starts with smucmd following with the switches Basic Switch h show the help message with examples set set chip type stop stop the emulation mode start start the emulation mode C check the emulator status and the emulator firmware b blank check the EM100Pro contents r arg read the EM100Pro contents and save to a bin hex s19 or STDOUT to the console d arg download a file to the EM100Pro s arg display the downloaded content checksum f arg display the file checksum needs to work with a file Option Switch V verify file and EM100Pro contents only works with d a arg starting address e g d x file bin a 0x000 only works with d r 1 arg length to read download in bytes e g r x file bin 1 0x 10000 only works with d r x arg fill the rest area with byte data e g d x file bin x OxAA t only works with d Truncate file to chip size if the file size bigger than chip size only works with d 3 Command Line Example Users can type a series of commands together For example if a user types smucmd stop set MX25L320
31. other Memory area with OxFF Pin Status Download Complete Start Trace Verifying E High i TruncateFile To Fit Memory Disable ak Low Q Reading From Address 0x0 0x200000 a tame Checking please wait Verify Pass Checksum is the same SI Low Clear Buffer Q system boots from EM100 HOLD Low DEM 100 Hold Pin Setting Default Low Checking Authentication Save Trace Authentication Pass Start EM100 EM100Pro EM100 EM 100Pro is in Emulation mode Ready to boot your system now 5 a z Ti Q Stop EM100 EM100Pro EM100 EM100Pro is in STOP mode now tataii Conana Dipy Tae Q EM100 Hold Pin Setting Floating by default CO lt m Eat r SPI Hyper Terminal Check Point Start Stop Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting 3 Type MX25L 1605D Name Message bin Stop Emulation Floating by default Reload file Manufact Macronix Size 0x200000 Bytes Download to EM100 EM 100Pro Verify from EM100 EM 100Pro Size KB 2048 Checksum 00002558 Start Emulation Device Ready A j 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 September 11 20 DediProg Technology Co Ltd www dediprog com k Reset Click on
32. p Erase 0xc7 Address Range I write Disable 0x04 J Fast Read 0x08 I Chip Erase 0x60 Start Ox 0 J7 Read Status Register 0x05 Page Pragram 0x02 1 Read ID Ox9F End Ox FFFFFF Stat Firing T Write Status Register 0x01 Sector Erase OxD8 Others Ox Mask Non Significant Address Bits Save Result race Viewer SPI Trace Viewer with all data Save Trace Display Trace Clear Buffer TIMESTAMP s CNT CMD ADDRESS DATA A 15 72348946 1 02 08 04 D4 FF 15 72350240 2 02 08 04 DS FF 15 72351541 3 02 08 04 D6 FF 15 72352848 4 02 08 04 D7 FF 15 72354157 5 02 08 04 DB OE 15 72355468 6 02 08 04 D9 00 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 88 15 72363667 il 02 08 04 DE 03 15 72364969 12 02 08 04 DF 00 15 72366269 13 02 08 04 E0 oo 15 72367581 14 02 08 04 E1 oo 15 72370546 15 02 08 04 D4 4E 15 72371850 16 02 08 04 DS 56 15 72373161 7 02 08 04 D6 41 15 72374470 18 02 08 04 D7 52 15 72389823 19 02 08 03 6B 6F 15 72391131 20 02 08 03 6C 01 15 72392434 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 oo 18 92348783 28 02 08 04 E8 FF 18 92350482 29 02 08 04 E9 FF 18 92352177 30 02 08 04 EA FF a 18 92353870 31 02 08 04 EB 83 ml gt F
33. splay Ti Stop EM100 EM100Pro EM100 EM100Pro is in STOP mode now Last Issued Co Sai EM100 Hold Pin Setting Floating by default foxoo aa Sa m J gt C SPI Hyper Terminal Check Point Start Stop Clear Buffer Save Log SPI HT Viewer Hold Pin Setting Memory Info File Info Batch Config Setting 3 Type MX25L 1605D Name Message bin Stop Emulation Floating by default Reload file Manufact Macronix Size 0x200000 Bytes Download to EM100 EM100Pro Verify from EM100 EM100Pro Size KB 2048 Checksum 00002558 Start Emulation Device Ready September 11 15 DediProg Technology Co Ltd www dediprog com f 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 aA DediProg EM100 serial flash emu or 4114 File View Help CHIP SELECT OPENFILE OOWNLOAD VERIFY RUN STOP UPLOAD FIT CONFIGURE RESET Currently emulation on Application Memory Chip 1 Application Memory Chip 2 EM100 Operation Log SPI Bus Status SPI Trace i Downloading please wait Pin Status Q Target Memory Region 0x0 0x200000 Start Trace Fill other Memory area with OxFF oF High Download Complete cLK Low Verifying Truncate File To Fit Memory Disable Reading From Address 0x0 0x200000 SI Low Clear Buffer
34. tallation CD lt 6 or floppy disk insert it now What do you want the wizard to do Installthe Install from a list or specific location Advanced Click Next to continue esa 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 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 I Search removable media CD ROM IV Include this location in the search C Program Files D ediprogEM1 O0 driver Browse C Don t search will choose the driver to install 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 lt Back Next gt Cancel September 11 DediProg Technology Co Ltd www dediprog com 7 As the Fig 6 shows pl
35. tem is running The last issued command represents the last commands issued from the host controller to EM100Pro EM100Pro displays the last issued command every second SPI Bus Status SPI Bus Status Pin Status Pin Status CS High cs Toggling CLK Low CLK Toggling so High so Toggling SI Low SI Toggling HOLD Low HOLD Low Last Issued Command Last Issued Command 0x05 0x03 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 543k kkk kkkkkxkk in the spi trace log data SPI Bus Status SPI Trace Pin Status Start Trace CS High CLK Low so High SI Low Clear Buffer HOLD Low aT Save Trace Last Issued Command Display Trace 0x03 September 11 27 DediProg Technology Co Ltd www dediprog com a 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 EM1
Download Pdf Manuals
Related Search
Related Contents
取扱説明書 - ご家庭のお客さま/大阪ガス 1 - Appliances Online Make an Ignition Switch Carcomm CMPC-92 User's Manual User`s Manual 差圧・圧力伝送器 EJ 110J, EJ 120J manual de servicio maquina vendedora de refrescos MNPG94-00 _MIO VEIN FRA_ - I Copyright © All rights reserved.
Failed to retrieve file