Home

FLASH Memory In System Programmer for Infineon C509 MCU's

A product developed by Felix Daners Engineering GmbH
 
Felix Daners Engineering

FLASH Device Auto Select

New Features in Version 1.5

The revision history is moved to this page.


What Is It?

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)

Overview Image

The key features are


What are the target hardware requirements?

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.

C509 Features Schematic Drawing

How the MCU is connected to the PC

The MCU is connected via a serial link to the PC on which the Programmer Software is running.

Serial Link

The wiring of the Null-Modem serial link consists of only three wires:

Serial Link Wiring

 


The GUI Elements of Flash509win

During the passive state

In this state you select what you want to do. The following figure shows the GUI elements of the Programmer:

Desc. GUI Elememt A Desc. GUI Elememt B Desc. GUI Elememt C Desc. GUI Elememt D Desc. GUI Elememt E Desc. GUI Elememt F Desc. GUI Elememt G Desc. GUI Elememt H Desc. GUI Elememt I Desc. GUI Elememt J Desc. GUI Elememt K Desc. GUI Elememt L Desc. GUI Elememt M Desc. GUI Elememt N Desc. GUI Elememt O Desc. GUI Elememt P Desc. GUI Elememt Q Desc. GUI Elememt R Desc. GUI Elememt S Desc. GUI Elememt T Desc. GUI Elememt U Desc. GUI Elememt W Change... Intel HEX32 Source File COM Device Baud Rate FLASH Device FLASH first Bank Switching Methode FLASH last Erase Chip Verify Data Read Chip Data Program Erase Sectors Load Config... Save Config... Reset Fields About Help Execute Actions... Status Line Progress Bar Area Show Intel HEX32 Source File in HEX-Viewer GUI Overview

 

A Change... Press this button to select the Intel HEX32 source file.
B HEX32 Source This is the Intel HEX32 source file currently selected.
C 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.
D COM Device You must select the COM device you actually have connected the serial link to the target MCU.
E 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
F 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.
G Code Bank Switching With this control you may select the code bank switching method. Code Bank switching support is documented separately.
H 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.
I Erase Chip Set this checkbox if you plan to erase the entire FLASH device.
J 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.
K 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.
L 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.
M 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.
N 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.
O 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.
P About This opens the About dialog. You get information about the program version and how to order a copy of this tool.
Q 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.
R Read Chip Data Check this checkbox if you plan to view the target FLASH memory content in the built in HEX viewer window.
S Status Bar This is the applications status bar. You get information about what to do and about the programmer's current state.
T Help When pressing this button, the Programmers description is displayed in a HTML browser.
U Progress Bar During time-consuming actions, the Programmer will display the progress with a progress bar.
W >> Press this button to the see the content of the currently selected Intel HEX File in the built in HEX viewer window.

During the active state

Now the Programmer runs processes on the target MCU.

Desc. GUI Elememt V Cancel Status Text Area Progress Bar Area GUI in active state

 

V Cancel Press this button to cancel an action performed. You will be asked if you really want to cancel the running action.

After the active state

The Programmer will report the state of the actions performed. You get a green status bar when all actions reported success, a red otherwise.

GUI after active state

C-Style Integer Literals

You may use decimal, octal or hexadecimal notation.


Built in HEX Viewer

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.

HEX Viewer Image

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.

HEX Viewer Menu Image

Use the system menu to save the window content to an Intel HEX32 file.


Known Bugs and Frequently Asked Questions

Known in this Distribution

Check the more accurate list online


YAHOO 8031 WebRing

This page is a member of the yahoo 8031 webring, a collection of web pages which all focus on 8031 topics.


BACK TO TOP
HOME