The 68HC08 (HC08 in short) is a broad family of 8-bit microcontrollers from Freescale Semiconductor (formerly Motorola Semiconductor). HC08’s are fully. NXP 68HC08 are available at Mouser Electronics. Mouser offers inventory, pricing, & datasheets for NXP 68HC 68HC08 Datasheet, 68HC08 PDF, 68HC08 Data sheet, 68HC08 manual, 68HC08 pdf, 68HC08, datenblatt, Electronics 68HC08, alldatasheet, free, datasheet.
|Country:||Republic of Macedonia|
|Published (Last):||2 June 2018|
|PDF File Size:||20.77 Mb|
|ePub File Size:||1.35 Mb|
|Price:||Free* [*Free Regsitration Required]|
If you have any problems, or questions about a specific target, please contact us. The LD64 has three segments of Flash: This is necessary because the interrupt vectors on the LD64 cannot be erased by Block Erase. Two configuration files are provided. This configuration disables erase of the Flash region where the User Monitor resides. This is how the Nitron demo board ships.
The second configuration allows complete access to the Flash. However, this can result in the erasure of the User Monitor and calibration constant.
Thus, this configuration should only be used if you have an external oscillator and Vtst applied to the IRQ pin. Speed is determined by your processor crystal, but it requires a minimum of external hardware support. Details vary slightly from one processor type to another. Exact requirements may be found in the datasheet for your processor.
Select Options, Target Communications from the menu. NoICE allows you to select a standard baud rate from a drop-list. You can also enter a non-standard rate, should your application require it. However, be aware that a standard PC serial port can only generate baud rates that are exact divisors ofIf you enter a baud rate ofWindows will chose the closest available baud rate.
Since the closest available rate in this case is about 4 percent off, operation is not likely to be satisfactory. MON08 relies on sending a bit serial break at various times. We have found that some USB-serial converters do not function correctly when they see this break signal. They distort the timing, and in at least some cases they drop or mangle the following byte.
Freescale 68HC08 – Wikipedia
This is a problem in the converter’s driver, and there is nothing that NoICE can do to work around it. If you can’t see the markings on the chip in your converter, open the Windows Device Manager. Find the COM port associated with your converter, right-click, and select “Properties”. Either the name of the device or the information datsaheet the driver tab may identify the vendor.
If possible, we recommend that you use a “real” datashdet port for MON These protocols do not rely on break signals and generally work well with USB-serial converters. The use, if any, of these lines is up to your hardware.
Certain aspects of Flash erasing and burning require the HC08 to be reset. It is useful, but not necessary, that NoICE be able to automatically perform 68hc80 reset.
If you are designing a board, this is a very handy feature to include. RTS and DTR may be configured in either state as required by your hardware, with a transition to the opposite state to cause a reset. If your datasheef does not 68uc08 this feature, select “manual reset”, and NoICE will prompt you when to reset your target.
Lacking this, NoICE will prompt you when to cycle power on your target. It is up to you and your hardware which method to choose. You may need to control the levels on other pins in order to control the bus frequency and baud rate. The datasheey vary with each member of the HC08 family, so you must consult the datasheet for your processor. Please note that if you burn a program that contains a reset vector into HC08 Flash, the next startup will not be in MON08 mode unless you have the high voltage applied to IRQ.
Thus, you can continue to start up in monitor mode even without Vtst applied to the IRQ pin. Note, however, that if you subsequently want to run without NoICE, you will need to reburn your program including the reset vector.
Most members of the HC08 family contain a single hardware breakpoint register. Because the breakpoint is implemented in hardware, only one breakpoint is allowed at a time. For convenience, you may elect to move the single breakpoint simply by double-clicking on the new breakpoint address – you do not need to remove the old breakpoint first.
NoICE will ask you if this is your preference the first time you attempt to insert a second breakpoint. You can change the preference at any time by opening the breakpoint list dialog. The breakpoint hardware is quite primitive: This means that any access of the breakpoint location – not just an instruction fetch – will trigger the breakpoint.
In particular, the 68HC08’s instruction pre-fetch may read the byte at the breakpoint location during the execution of the previous instruction. NoICE contains logic to recognize false hits on the breakpoint hardware.
When one occurs, NoICE rearms the breakpoint and allows the program to continue. In most cases, you will not notice any effect on your program. However, you should be aware that your code may not run at full processor speed depending on where the breakpoint is set.
Other memory editing commands will not use the burner program.
MON08 generally runs at moderate baud rates, and it uses a fairly inefficient protocol. This can cause annoying lags when NoICE reads memory to refresh the screen. If your application writes to Flash, you should leave this option unchecked, as the cache works only if NoICE knows when Flash changes. This can be slightly faster, and it will ensure a fatasheet Flash by erasing any remnants of previous programs. Some HC08 variants cannot use Block Erase on their interrupt vectors. For these processors, “Always Use Mass Erase” should always be checked.
When NoICE burns a program into Flash, it keeps track of bytes written to the security range and saves them in the Windows Registry for use as the security key for future resets. If you do not know the security code for the Flash, you may still bulk erase the Flash. When the security sequence fails to unlock the Flash, NoICE will ask you whether you wish to cycle power and try again only a power-on reset allows a new security sequenceor whether you wish to bulk erase the Flash.
The MON08 protocol is very inefficient, requiring many more bytes to be sent and recieved than would be necessary. Since the basic Flash burning program used by NoICE uses the monitor to send data to be burned to the target, Flash burning can be slow – up to seconds to burn 4K at baud.
These entrypoints are in many cases not xatasheet and some of the documented ones are incorrect. However, the speed up is very impressive: Since discovering the internal entrypoints requires disassembly of the MON08 ROM, and each HC08 family member has a slightly different ROM, the high-speed algorithm is only available for targets that we have had access to for disassembly and testing. If you need a fast burner for datashete family member, please contact us. In practice, you will usually be able to program many more times that this, but be aware of possible wearout.
Consult your datasheets datssheet details. Because of this, you must select your processor chip from the drop-list in the NoICE communications dialog. A status box shows the configuration of the selected chip.
If you wish to burn Flashyou must also enter your processor’s datashdet frequency not its crystal speed. This field is a combo box: Selecting an incorrect chip type, or entering an incorrect bus speed may cause premature wearout or even immediate destruction of the Flash. The available processor configurations are stored in files with an extension of “. NoICE08”, and stored in the “config” subdirectory. NoICE reads these files to populate the drop list when you open the communications dialog.
Normally you can use the configuration files as provided, and need not worry about the files or their contents. However, if you need to add a file for a new processor, or modify some detail of an existing file, this section describes the contents of the file. If you prefer not to customize the configuration file yourself, ask us. We will generally perform the customization in return for you loaning us hardware, or testing the results on your hardware. Here is an example of the configuration file for the 68HCGP The contents are described below.
If this line is not present as it is not in the standard configuration filesthe default values described above are used. This is necessary for some HC08 variants 668hc08 cannot erase their interrupt vectors using Block Erase. This is used by the breakpoint logic: This is used by the Flash burning code. If you enable memory caching, NoICE will also remember values read from Flash regions, and avoid re-reading them from the target.
This can substantially speed up debugging. There are two versions of this board. The newer version 2. The original board version 1 lacks the prototype area, and has a three-terminal regulator. If you have the older board, please read the description in the next section. This board contains a 68HCGP32 processor with headers to permit access to all port pins.
Don’t be worried when you plug datxsheet in and power LED doesn’t come on immediately. Power should come on when you run NoICE. This board contains a 68HCJB8 processor. Made by ISDC http: