FLASH Memory In System Programmer for Infineon C509 MCU'sA product developed by Felix Daners Engineering GmbH
The revision history is moved to this page.
It is a tool running under Win95, Win98, NT4, Win2000 Pro and Windows XP. It allows in circuit programming of FLASH memories via a serial RS232 link to a target hardware built around an Infineon C509-L Microcontroller. The difference to other similar tools is that there is no boot sector required in the FLASH memory that controls the programming of the other sectors. This boot software is integrated in the Infineon C509 MCU and is accessible in a special memory model called bootstrap mode. To learn more about this mode, see the detailed description of the C509-L Bootloader.
Also read the contact magazine article on the SPACE Program WEB site. (Semiconductor Microcontrollers Partners for Applications using Chips for Embedded Control)
The key features are
There are many configurations possible. I show the simple wiring around the MCU. It is the minimum hardware required to use the FLASH In Circuit Programming utility.
The following figure shows a schematic drawing of the MCU and FLASH wiring.
The MCU is connected via a serial link to the PC on which the Programmer Software is running.
The wiring of the Null-Modem serial link consists of only three wires:
In this state you select what you want to do. The following figure shows the GUI elements of the Programmer:
|Change...||Press this button to select the Intel HEX32 source file.|
|HEX32 Source||This is the Intel HEX32 source file currently selected.|
|Baud Rate||Use this control to select the transmission speed of the serial link to the target hardware. Because the C509-L Bootloader has a baud rate auto select, this selection is only important, if you have any special transmission link wiring or a crystal that creates low MCU clock rate.|
|COM Device||You must select the COM device you actually have connected the serial link to the target MCU.|
|Flash Device||You must select the FLASH device type actually inserted in your target hardware. Set the value "Auto Select Device Type" to let Flash509win detect the FLASH type of your target hardware. The FLASH device types supported may be installed by adding algorithms and definition files. If you use a different type contact Felix Daners Engineering|
|FLASH first||With this field you may set the lower programming limit for the FLASH device. No memory address below this limit will be programmed or verified. For sector erase, this limit also is applied. A sector will only be deleted, if the sectors first address is larger or equal this limit. In this field you may enter a positive C-Style integer literal.|
|Code Bank Switching||With this control you may select the code bank switching method. Code Bank switching support is documented separately.|
|FLASH last||With this field you may set the upper programming limit for the FLASH device. No memory cell in the FLASH memory above this limit will be programmed or verified. For sector erase, this limit also is applied. A sector will only be deleted, if the sectors last address is smaller or equal this limit. In this field you may enter a positive C-Style integer literal.|
|Erase Chip||Set this checkbox if you plan to erase the entire FLASH device.|
|Program||Set this checkbox if you plan to program the selected Intel HEX32 Source File into the target FLASH device. The FLASH first and FLASH last fields might be used to limit the memory space to be programmed. You will get a warning message if the memory space of the selected Intel HEX32 source file is not equal to the FLASH first and FLASH last limits.|
|Load Config...||Press this button to load a configuration file. The configuration file might be used to predefine specific target hardware and an action you usually perform. All field values and checkbox states will be loaded from the configuration file.|
|Save Config...||Press this button to save the current settings to a configuration file. The configuration file might be used to predefine specific target hardware and an action you usually perform. All field values and checkbox states will be saved to a configuration file.|
|Verify Data||Set this checkbox if you plan to verify the data programmed to the target FLASH device. The FLASH memory content will be downloaded to the PC and compared to the selected Intel HEX32 source file. The FLASH first and FLASH last fields might be used to limit the memory space to be verified. You will get error messages if the memory space of the selected Intel HEX32 source file is not equal to the FLASH first and FLASH last limits. In this case, only the overlapping part of the memory space will be verified.|
|Erase Sector(s)||Set this checkbox if you plan to erase sector(s). The FLASH first and FLASH last fields might be used to limit the number of sectors to be erased. Only sectors with a start address smaller or equal the FLASH first address AND an end address larger or equal the FLASH last setting will be erased.|
|Reset Fields||If you press this button, all fields are set to their defaults. Use this function if you want to define a new configuration.|
|About||This opens the About dialog. You get information about the program version and how to order a copy of this tool.|
|Execute Actions...||When you press this button, the applications mode changes. All your planned actions like Erase Chip, Program or Verify Data are executed now. There is a fixed order in which the actions are performed. First, the programmer synchronizes to the target MCU. Second, the selected device type will be checked with the manufacturer and device type code of the FLASH inserted to your target hardware. Third, the Chip Erase function is performed. Fourth, the sector erase actions are executed. Fifth, the chip will be programmed and last the data programmed to the chip are verified or/and read to be sent to the built in HEX viewer window.|
|Read Chip Data||Check this checkbox if you plan to view the target FLASH memory content in the built in HEX viewer window.|
|Status Bar||This is the applications status bar. You get information about what to do and about the programmer's current state.|
|Help||When pressing this button, the Programmers description is displayed in a HTML browser.|
|Progress Bar||During time-consuming actions, the Programmer will display the progress with a progress bar.|
|>>||Press this button to the see the content of the currently selected Intel HEX File in the built in HEX viewer window.|
Now the Programmer runs processes on the target MCU.
|Cancel||Press this button to cancel an action performed. You will be asked if you really want to cancel the running action.|
The Programmer will report the state of the actions performed. You get a green status bar when all actions reported success, a red otherwise.
You may use decimal, octal or hexadecimal notation.
This window makes it possible to see the content of the target FLASH memory or a selected Intel HEX32 File. You may use the mouse cursor to highlight a specific memory cell. There is keyboard and mouse wheel support for navigation in the window. The keys arrow up/down are used to scroll one line, page up/down to scroll a page and the end/home keys allow to jump to the begin and end of the memory window.
If the window content is displayed as a result from a verify/read operation, the memory cells that differ from the selected HEX file are printed in red.
Use the system menu to save the window content to an Intel HEX32 file.
Known in this Distribution
Check the more accurate list online
This page is a member of the yahoo 8031 webring, a collection of web pages which all focus on 8031 topics.