Nohau HCS12 Derivatives with Both Full-Emulator & BDM Support HCS12 ‘A’ Family MC9S12 A512, A256, A128 & A64 HCS12 ‘B’ Family MC9S12 B256, B128 & B64 HCS12 ‘C’ Family MC9S12 C128, C96, C64 & C32 HCS12 ‘D’ Family MC9S12 DP512, DJ512, DT512, DP256, DT256, DJ256,DG256, DT128, DJ128, DG128, DB128, DJ64, D64, D32 MC9SX A,B,C,D,E, F - More on the way HCS12 ‘E’ Family MC9S12 E256, E128, E64 & E32 HCS12 ‘H’ Family MC9S12 H256, H128 HCS12 ‘T’ Family MC9S12 T64
Important Debug Features available only from Nohau Extensive support and Trace recording of all the HCS12 Operating Conditions including: Going through and out of Reset, COP Watchdog Reset, STOP & WAIT Power-Down modes, Clock Loss Limp-Home mode, and full PLL use including frequent speed-changes Full-Speed 25MHz operation at both 5V and 3.3V The emulator works in practice to 32MHz bus speed – this means rock solid operation at the specified maximum 25MHz bus speed.
More Important Features available only from Nohau Full CMOS levels Port Replacement Unit – Like the HCS12 silicon - at both 5V and 3.3V Fast and Flexible Flex-Cable target adapters allow escaping from targets at any of 4 directions The very intuitive Seehau GUI is easy to get started with, yet powerful and includes all the advanced debug features
Question: What is the WORST thing that can happen to an Emulator when the COP Watchdog fires up ? Answer: The Emulator hangs up and doesn’t show a clue why a COP Timeout occurred.
COP Watchdog Example The COP Watchdog is enabled, and is not periodically serviced, so Reset will occur. Every time a COP Watchdog Reset occurs a counter is incremented. Then the program wait for the next COP Watchdog Reset. The Trace records all the sequence.
Emulator Operation through STOP & WAIT Power-Down Modes
Power Down Algorithm COUNTER = 0 PROGRAM PLL & TURN ON ENTER STOP POWER DOWN EXTERNAL INTERRUPT WAKE UP COUNTER = COUNTER + 1 TURN PLL ON 8MHz 32MHz 0MHz 8MHz 32MHz
Power-Downs Summary Our Emulator Can Handle going into and out of STOP Power Down mode. WAIT Power Down Mode is handled similarly. There are 3 sub cases of WAIT and 2 sub cases of STOP. All are handled by the emulator equally well. The Trace records the entire Power Down and Wake-Up sequence.
Limp-Home Self-Clock Mode When external frequency is not fed to the CPU for some reason, the CPU enters Limp-Home mode. In this mode it generates internally a low undetermined frequency to allow itself to recover from the clock loss.
Limp-Home Self-Clock Mode The Nohau Emulator allows the CPU to go through Limp-Home Mode (with the emulator keeping track of things). To allow this, the MISC register must be set to 0 Wait-States and NO ECLK stretch on the external bus.
Limp-Home Example We will use the Timer Program Start at 8MHz bus speed with the clock running at Normal rate. Switch manually to select the PLL from the user interface, while the Timer program is running. This will change to 32MHz bus speed. Pull the EXTAL jumper to force Limp-Home Mode. We will observe the speed dropping, to about 4MHz bus speed.
Limp-Home Mode Summary The Emulator keeps working through Limp-Home Mode. A write from the user interface to a register without stopping the code from running. Observe changes to registers as they happen during code execution.
Speed Changes Speed Changes pose a challenge for an Emulator System, for several reasons: The BDM Communication rate changes with the speed, and so the emulator should adjust its communication rate accordingly to allow continued uninterrupted communication. The emulator logic should adjust as appropriate for low speed or high speed operation when the speed changes.
Speed Changes The Nohau HCS12 Emulator excels in handling Speed-Changes The Emulator Detects Speed-Changes automatically. It adjusts the BDM communication rate automatically, to sustain continued un- interrupted BDM communication. It adjusts the FPGA equations and timing automatically, as appropriate for low-speed and high-speed operation.
Speed Changes Example PLL OFF COUNTER = 0 PLL ON COUNTER = 0 PROGRAM PLL FOR MULTIPLY BY 4 WAIT FOR PLL TO LOCK SELECT PLL PLL ON COUNTER = PLL ON COUNER + 1 DESELECT PLL PLL OFF COUNTER = PLL OFF COUNER + 1 8.25MHz 33MHz 8.25MHz
Speed Changes Summary The program changes speeds at a very high rate – 250 thousand times every second. During every serial BDM BYTE Read command, the speed changes 20 times. And yet: Uninterrupted BDM communication is sustained. The emulator keeps functioning and adjusting its timing through all these changes.
Full Emulator Advantages as compared to a BDM Sophisticated Hardware Trace – 131,000 Frames – Instructions + Data + Time Stamp + More Sophisticated Triggers and Filter Unlimited number of breakpoints – Hardware & Software Extensive support for Reset & COP Watchdog Reset cycling Extensive support for Power-Downs cycling Limp-Home Clock-Loss Debug support Full support for Speed Changes Flexible Emulation RAM can replace Flash and EEPROM Entirely non-intrusive Shadow memory - always available Debug applications that must not stop during debugging Debug code before a target is available Large Emulation RAM allows code development for future larger Derivatives (E256, Etc.) Code Coverage and Performance Analysis
Motorola People Say about the Nohau HCS12 Emulator: “It is an excellent tool. I am very impressed indeed. The package is comprehensive, and I am satisfied that this is a robust evaluation solution. I found the Seehau software very easy to use. You have obviously put a lot of development time into this. I was able to get up and tracing in a matter of half an hour after opening the box. The software is extremely intuitive, but will satisfy the advanced user. Good work! The USB interface is great. The emulator POD construction is good - I really like the modular concept of daughtercards. From what I have seen I 100% believe that this tool is well designed, well thought out and easy to use. I would be happy to recommend this unit to our mutual customers as an excellent development tool for our HCS12 devices.” Grant More, FAE, 8/16 Bit Products Division, EMEA Transportation & Standard Products Group, East Kilbride, Scotland
Motorola People Say about the Nohau HCS12 Emulator: “I think that this Emulator is great. I could start using it since the first day I had it, especially because of the Getting Started Guide, which is helpful for making the first tests. The Hardware is robust (at least what I have tested) and with a lot of capabilities. I have been working with some of its modules like the DAC, PWM, PFM, SCI, Timers, and all of them have worked perfectly. The Seehau utility is excellent for debugging, specially for the breakpoints and the Shadow Memory which is excellent and improves incredibly the design and debug of a program. Also the description and manipulation of registers in a separate window is very helpful. I think that this could be an excellent tool for developing new application with the HCS12E128 microcontroller and it improve greatly the design and debug times.” Luis Reynoso, FAE, Motorola SPS, LAC North, Guadalajara Mexico
Motorola People Say about the Nohau HCS12 Emulator: “Development support from companies such as Nohau is critical to the success of our HCS12 family. Not only does Nohau provide an excellent intuitive development environment for our HCS12 microcontroller products, but they also have great international presence to support newly developing regions.” Kevin Kilbane Strategic Marketing Manager Motorola’s 8/16 Bit Products Division Austin Texas.
Contact Us URL www.icetech.comwww.icetech.com Email email@example.com@icetech.com Voice USA 800.68.NOHAU – 800.686.6428 Voice International 650.375.0409 FAX 650.375.8666 US Gov. Contractor CAGE Code 4CNU6 - SIC 3825 - NAICS 334515 ICE Technology 422 Peninsula Avenue San Mateo CA, 94401 Providing Nohau emulators since 1994