RPM MPQ Series User Manual Download Page 16

RPM Systems Corporation

March, 2016   Page 16

MPQ Manufacturing Programmer User's Guide

2.6.1 Enabling and Disabling Target Ports

Enable or disable target ports by checking or uncheck the boxes next to each target port in the Program-

mer Port Status frame. A check mark in the box indicates that the port is enabled. It is not necessary to disable
ports that are not attached to a target system, however doing so does make the programming cycle go more
quickly for the enabled ports, as the MPQ is not required to wait for the 10-second power time-out period to
expire.

2.6.2 Verifying Devices

All devices are verified immediately after programming during the Program cycle, before the security fuses

are programmed. However, a separate verify-only cycle may be performed by clicking the Verify button in the
Programming Manager window, or by selecting the Program/Verify option from the MP Manager menu bar.

Note that most microcontrollers contain security fuses which can be programmed to prevent subsequent reading
of the  device's program memory. If these fuses were programmed to setting other than "Unprotected" during
the initial programming cycle, the device can not be read back, and VERIFY WILL FAIL.

2.6.3 Programming Errors

The following failure statuses may be reported in the Programmer Port Status frame:

No Target Vcc

No power was detected on the port within 10 seconds of program initiation

Device Timeout

The device stopped responding during the program/verify sequence

Verify Failed

Data read back from the device after programming was incorrect

Device ID Failed

The device ID read from the device being programmed did not match the target

device type specified for the image

VCC Present

Target Vcc was already present when a Power-On programming cycle was

initiated

2.6.4  CRC or Checksum Verify

When MPQ programs a device, it normally reads the entire device contents and compares it to the pro-

gramming image in order to verify that the part was programmed correctly. The read-verify operation ensures
that the programmed image is 100% correct, but lengthens the overall duration of the program cycle. Some
microcontrollers, however, allow a CRC or checksum to be read from the device once it is programmed. MPQ
can use this capability to reduce program cycle time by verifying that the device CRC or checksum matches the
value expected for the programmed image. This allows a sometimes substantial time savings on each program
cycle, with relatively little risk of not identifying improperly programmed devices. By checking the "CRC Verify"
or "Checksum Verify" box in the Program Manager window, the operator can elect to have MPQ verify
programming by this method, rather than performing a complete read-verify.

2.6.5 Programming Options

Some devices offer programming options, such as memory protection features, oscillator selection, etc.,

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: