RPM MPQ Series User Manual Download Page 5

RPM Systems Corporation

March, 2016   Page 5

MPQ Manufacturing Programmer User's Guide

1. MPQ Overview

The MPQ Manufacturing Programmer is a  four port device programmer for In System Programming

(ISP) of microcontrollers.  MPQ allows you to:

• program up to four devices simultaneously from one MPQ
• build arrays of up to 16 MPQ programmers to program up to 64 devices simultaneously
• store up to four different device images in programmer Flash
• use stand-alone (push-button), PC-controlled or ATE (Automated Test Equipment)-controlled
modes of operation
• accommodate target device voltages from 1.6 to 5.5V

1.1 MPQ Connections

The MPQ has three external connectors: the Power connector, the Control connector and the Target

connector. The Control connector is a 25-pin Female D Subminiature connector through which external control
of MPQ operations takes place. A Communications Cable is provided with the MPQ, which provides a
connection between its Control port and a host PC serial port for communications with the MP Manager
software.

The Target connector is a 30-pin 2mm male header which provides programming signals for up to four

target devices. The Power connector is a 2.1mm male barrel connector, through which the MPQ itself is
powered. A Target Cable assembly is provided with MPQ which connects its Target port to the circuit
board(s) containing the ISP devices to be programmed. RPM offers several termination options for the target
end of Target Cables depending upon the particular microcontroller being supported. Target connector options
and pin assignments are outlined in the appendices of this manual.

MPQ senses the target system power supply voltage on each of the four ports to determine when target

voltage is at acceptable levels for programming. The MPQ does not provide power to the target systems. The
power drawn by the MPQ from each target system for target voltage sensing is less than 1mA.

A power supply is provided with the MPQ, which plugs directly into the MPQ's Power connector, and

which is capable of operation from any 50/60Hz, 100 ~ 240VAC power source.

1.2 Programming Images

Images to be programmed into the target devices are stored in the MPQ's internal Flash memory. Up to

four different images can be stored in the MPQ. Images are loaded into MPQ flash from a file on the host PC,
or by reading a programmed device, using the MP Manager software provided with the MPQ. Additional
information required to program the target device, such as device type, target voltage and programming mode,
is provided by the operator at the time each image is loaded, and is stored with the image in the programmer.
Once an image is loaded into flash and the programmer's Target Cable is connected to the target systems,
programming can be initiated in one of three ways: by pushing the green button on the top of the MPQ box
(stand-alone mode), by asserting the Active# line on the Control connector (ATE mode), or on command from

Summary of Contents for MPQ Series

Page 1: ...MPQ Manufacturing Programmer User s Guide March 2016 RPM Systems Corporation Redmond Washington USA 425 869 3901 www rpmsys com MPQ PSoC MPQ Z8 MPQ C2 MPQ AVR MPQ AVR32 MPQ ARM...

Page 2: ...3Projects 11 2 4 4SecuritySettings 12 2 4 5Serialization 12 2 5DeletingImagesfromProgrammerFlash 14 2 6 Programming Devices from MP Manager 14 2 6 1EnablingandDisablingTargetPorts 16 2 6 2VerifyingDe...

Page 3: ...Device Options 31 B 1 1DeviceFamilyandType 31 B 1 2TargetVoltage 32 B 1 3 Mode 32 B 1 4TargetFrequency 32 B 1 5SpecialConsiderationsfor8 pinandCrimzonParts 32 B 2ProgrammingOptions 32 B 3 Target Cable...

Page 4: ...ng 40 F 2 3OSCCALProgramming 41 F 3 Target Cable Connections 41 Appendix G Atmel AVR32 44 G 1 Device Options 44 G 1 1DeviceType 44 G 1 2TargetVoltage 44 G 1 3 Mode 45 G 2ProgrammingOptions 45 G 2 1Fus...

Page 5: ...board s containingtheISPdevicestobeprogrammed RPMoffersseveralterminationoptionsforthetarget endofTargetCablesdependingupontheparticularmicrocontrollerbeingsupported Targetconnectoroptions andpinassig...

Page 6: ...de theMPManagerhostsoftware PC controlledmode Whileprogrammingisinprogress theMPQ sActiveLEDwillbelit Uponcompletionofprogramming theActiveLEDwillbedoused andcompletionstatusforeachofthefourportswillb...

Page 7: ...ecomputer OnceMPManager hasbeeninstalled itcanbeinvokedfromtheWindowsStartmenu 2 2ConnectingMPQPowerandCommunications ConnecttheMPQ PSpowersupplyprovidedwithyourMPQtotheprogrammer andplugitintoa90to 2...

Page 8: ...r modelnumber device supportandrevisioninformation TherightsideoftheImageManagerwindowwillshowalistoftheimages currentlyprogrammedintotheFlashmemoryoftheprogrammer Foranewprogrammer thislistwillbeempt...

Page 9: ...grammingParameters TheLoadImagedialogallowsyoutonamethenewimageandtoselectotherparametersnecessaryfor theprogrammertoproperlyprogramdevices TheImageNameispurelyforuserconvenience Itisstoredwiththeimag...

Page 10: ...ltageleveltodrivetheprogrammingsignalstothetargetsystem ThedeviceparameterswindowwillalwaysdisplaytheDeviceFamily DeviceTypeandTargetVoltage parameters Otherparametersdisplayedinthiswindowwilldependup...

Page 11: ...econtentsofthesefileswillbecombinedtocreateasingleimagetobedownloadedtotheMPQ Files mayalsobedeletedfromthisareabyselectingthe X buttonnexttothefile 2 4 3Projects OnceFile OptionandDeviceselectionshav...

Page 12: ...lnumberofdeviceswhichcanbeprogrammed withthisimage Ifthisoptionisselected thenumberofcyclesindicatedinthe Count fieldwillbethetotal numberofdeviceswhichmaybesuccessfullyprogrammedwiththeimage Oncethec...

Page 13: ...sfor theserialnumber amemoryspace FlashorEEPROM dependinguponthedevicefamily thesizeoftheserial numberareainthetargetmemory inbytes andthestartingserialnumbervalue Thebyteorderingoftheserial numberinf...

Page 14: ...romtheMPManagermenubar ortheDeletebuttononthetoolbar Youwillbequeriedtobecertainthatyouwanttodeletetheimage Ifyou chosetodoso theimagewillbedeletedfromtheprogrammer 2 6 Programming Devices from MP Man...

Page 15: ...risdetectedonallfour ports programmingwillbegin Ifpowerhasnotbeendetectedonallenabledportsafter10seconds theMPQ willproceedtoprogramallportsonwhichpowerisdetected andwilldisplayanerrorstatusforthoseen...

Page 16: ...No Target Vcc Nopowerwasdetectedontheportwithin10secondsofprograminitiation DeviceTimeout Thedevicestoppedrespondingduringtheprogram verifysequence VerifyFailed Datareadbackfromthedeviceafterprogramm...

Page 17: ...davalidimagefromadevicewhichhashaditsprotectionfuses programmedtopreventthereadingofitsinternalmemory Imagesreadfromadevicewhichhasbeenpro grammedforsecuritywillnotbevalid Toreadanimagefromaprogrammed...

Page 18: ...risusedtocontroltheprogrammingon multipleMPQ ssimulta neously InordertoaccessmultipleMPQ sfromtheArrayProgramManager theymustbeinterconnected usingtheRS 485communicationsbus seesection5 whichallowsmul...

Page 19: ...RPM Systems Corporation March 2016 Page 19 MPQ Manufacturing Programmer User s Guide...

Page 20: ...programming In stand alonemode withoutthehostPCconnectedfordetailederrorreporting onlytheLEDpass failstatusis available Stand aloneoperationcanalsobeusedwithMPQarraystoprogramupto64devicessimultaneous...

Page 21: ...s If atanytime youwouldliketoviewthedefaultsettingscurrentlyprogrammedintoanMPQ connectto theMPQ opentheProgramManager thenselecttheConfigure ViewDefaultsoptionfromMPManagermenu bar Notethatthedefault...

Page 22: ...am Start Input Programming Active Status Low True PF1 13 Output Pass Fail Status Port 1 PF2 25 Output Pass Fail Status Port 2 PF3 12 Output Pass Fail Status Port 3 PF4 24 Output Pass Fail Status Port...

Page 23: ...ntshouldneverbesourcedintothispinbytheATEdevice and thispinshouldneverbedrivenbelowGNDpotential Active ATEcontrolcanalsobeusedwithMPQArrays asdescribedinSection5 Tsu ATE_Op_En OptionSell 1 0 Active AT...

Page 24: ...IftheATE_Op_En signalontheControl connectorisasserted low whenActive isassertedbytheATE theMPQwillusetheinformationprovided ontheATE_OptionSel1 0 pinsofthecontrolconnectortoselect theprogrammingoption...

Page 25: ...RPM Systems Corporation March 2016 Page 25 MPQ Manufacturing Programmer User s Guide SetATEOptions...

Page 26: ...tedbyconnectingtogethertheGNDandActive signalsofall programmersinthearray TheATEmaythendrivethesharedActive lowtoinitiateaprogrammingcycleon allprogrammersinthearray Notethat sinceeachMPQprovidesanint...

Page 27: ...videstheRS 485interconnect capabilityviaribboncableconnectors aswellasanRS 485toUSB interfaceconverter whichallowsthe entirearraytobedirectlycontrolledfromastandardPCUSBport ItshouldbenotedthattheActi...

Page 28: ...ammerforCypressSemi conductorPSoCmicrocontrollers A 1 Device Options TheDeviceOptionsintheLoadImageandReadImagewindowsallowtheoperatortoselectthedevice type operatingvoltageandprogrammingmodefortheima...

Page 29: ...rammingmode apowercycleisrequiredtogaincontrolofthetargetdevicesfor programming Inthiscase ifpowerisdetectedonanenabledportwhenprogrammingisinitiated programming willfail Thetargetsystem s mustbepower...

Page 30: ...Not Used 7 Not Used 8 GND Target GND Black 2 9 Vcc Target Vcc Red 1 10 SCLK Programming Clock Blue 4 11 SDATA Programming Data White 5 12 XRES Target Device Reset Yellow 3 13 Not Used 14 Not Used 15 G...

Page 31: ...grammerforZilogZ8Encore microcontrollers B 1 Device Options MPQ Z8supportsZliogZ8 Encore ZNeoandZLF645devicefamilies TheDeviceOptionsintheLoadImageandReadImagewindowsallowtheoperatortoselectthedevice...

Page 32: ...Qtodeterminethefrequencyoftheprogrammingclock whichislimitedbythe frequencyoftheCPUclockinthetarget Notethatslowertargetclockfrequencieswillresultinlongerpro grammingtimes MPQwillsupporttargetclockfre...

Page 33: ...rammerandthefourtargetboards TheTargetCableprovidesconnectionstothe6 pinDBGconnectorusedbyZilogontheirdevelopmentand evaluationboards Thecustomermayoptionallyrequestbareleadsonthetargetendsofthecablea...

Page 34: ...get Vcc Red 1 10 Not Used 11 DBG Target Debug signal Yellow 4 12 RESET Target Device Reset Violet 2 13 Not Used 14 Not Used 15 GND Target GND Black 3 16 Vcc Target Vcc Red 1 17 Not Used 18 DBG Target...

Page 35: ...mminginterface D 1 Device Options TheDeviceOptionsintheLoadImageandReadImagewindowsallowtheoperatortoselectthedevice type operatingvoltageandprogrammingmodefortheimagebeingloadedintoMPQFlash D 1 1 Dev...

Page 36: ...2ProgrammingOptions NoprogrammingoptionsaresupportedfortheC8051F3xxfamily devices D 3 Silicon Labs C2 Target Cable Connections TheTargetCableassemblyshippedwithMPQ C2isterminatedtomatewiththestandard...

Page 37: ...ng Data White 4 12 Iso C2CK Isolated C2 Clock Yellow 5 13 Iso C2D Isolated C2 Data Violet 6 14 Not Used 15 GND Target GND Black 2 16 Vcc Target Vcc Red 1 17 C2CK Programming Clock Blue 7 18 C2D Progra...

Page 38: ...iestheparticularmanufacturer spartnumberofthedeviceforwhichtheimagebeing loadedisintended Selecttheproperdevicefromthedropdownlist MPQwillusethisinformationpriorto programmingtoverifythedeviceIDinthep...

Page 39: ...ethe operatingfrequencyofthetargetmicrocontroller asdeterminedbythefusesettingsand orcrystaloroscillator onthetargethardware F 1 5SPI JTAGProtocolSelect Twooptionbuttons SPIandJTAG intheDeviceOptionsf...

Page 40: ...the Optionswindowagain tomakeadditionalchangesorverifyvalues asmanytimesasnecessarybeforeclicking LoadImage F 2 1 Fuse Values TheAVRfusesettingsareshownintheOptionswindow Whenadeviceisselected thefuse...

Page 41: ...firmware Forthoseapplicationswhichrequireaccesstothecalibrationvalue MPQ willwritethevaluetoapredeterminedlocationinFlashorEEPROMwhenthepartisprogramed TOusethis feature selectthedesiredcalibrationval...

Page 42: ...t Device Reset Violet 5 14 Not Used 15 GND Target GND Black 6 16 Vcc Target Vcc Red 2 17 SCK Program clock Blue 3 18 MOSI Program Data In White 4 19 MISO Program Data Out Yellow 1 20 RESET Target Devi...

Page 43: ...14 TMS Program Mode Select Green 5 15 GND Target GND Black 2 16 Vcc Target Vcc Red 4 17 TCK Program clock Blue 1 18 TDI Program Data In White 9 19 TDO Program Data Out Yellow 3 20 RESET Target Device...

Page 44: ...AVR32supportsonlyAVR32Familymicrocontrollers soonlyAVR32insavailablefromthe DeviceFamilydropdownboxintheLoadImageorReadImagewindow G 1 1 Device Type DeviceTypeidentifiestheparticularmanufacturer spart...

Page 45: ...s button toopentheAVROptionswindow Theoptionsincludefusesettings optionalUserMemoryprogrammingand SecurityFuseprogramming Thedesiredprogrammingoptionsmustbeselectedpriortoclickingthe Load Image button...

Page 46: ...ThismemorycanbeprogrammedbytheMPQduringtheprogrammingoperation To enablethisfunction checkthe LoadImage checkboxintheUserMemoryframeoftheProgrammingOptions window andselectafilecontainingtheUserMemor...

Page 47: ...SecurityBit frameoftheAVRProgrammingOptionswindow Notethat oncethesecuritybithasbeen programmed futureverifyoperationsperformedonthedevicewillfailmasflashisnolongerreadablefromthe JTAGport TheSecuirty...

Page 48: ...6 14 TMS Program Mode Select Green 5 15 GND Target GND Black 2 16 Vcc Target Vcc Red 4 17 TCK Program clock Blue 1 18 TDI Program Data In White 9 19 TDO Program Data Out Yellow 3 20 RESET Target Devic...

Reviews: