When their ST 7 R OM code is read y to be mas k pr ogra mmed, cus tome rs sen d t heir ex ecutable file to ST in Motorola .s19 format. When ST receives it, this file is reformatted by a proprietary automation tool called NEWGET in order to generate the mask levels and test patterns
for manufacturing and testing the devices.
Consequently, w hen customers receive back their ROM code for validation before ST programs their parts, they receive a file in a different format fr om the one they sent originally. To
help customers understand why the file is different, this Applic ation Note lists the modifications
that occur when the file is processed by NEWGET.
AN1635/07031/5
1
ST7 CUSTOMER ROM CODE RELEASE INFORMATION
1 LIST OF CHAN GES
Here are the modifications made to the executable file during NEWGET processing:
■ The first line“s0” is removed (useless info common to al l s19 files)
■ the software is sorted by device memory address
■ device memory unused by your software is filled with "FF"
4 CHECKIN G ROM CONTENT WITH AN EPB PROGRAMMING BOARD
It’s now possible to check the ROM content by reading it using STVP7 (ST7 Visual Programmer), which is the programming software provided for free by ST, and the EPB (Engineer
Programming Board) of the target device.
It should be noted that option bytes can NOT be read, as in a ROM MCU they are coded in
hardware, and not programmed in a parallel memory page like in a Flash MCU.
Using STVP7 version 1.8.0, use the following procedure to read the ROM content of your
MCU:
■ Create a shortcut for stvp.exe. You will find stvp.exe in the STVP7 installation path (by
default: C:\Program Files\STM\st7toolchain\stvp7)
■ Rename the new shortcut with a suitable name (stvp_rom.exe for instance)
■ Right click on it and select Properties from the pop up menu
■ In the shortcut tab, modify the target path:
“C:\ProgramFiles\STM\st7toolchain\stvp7\stvp.exe” to "C:\Program
Files\STM\st7toolchain\stvp7\stvp.exe" -rom
Now when y ou d ouble-click on th is shortc ut, the S TVP7 will st art in R OM mo de (it l ooks the
same as Flash mode except “ROM mode” is displayed in the toolbar).
4/5
ST7 CUSTOMER ROM CODE RELEASE INFORMATION
"THE PRESENT NOTE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH INFORMATION
REGARDING THE IR PRO DUCT S IN OR DER FO R THEM TO SAV E TIME . AS A RES ULT, STMIC ROEL ECTR ONI CS
SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO
ANY CLAIMS ARISING FROM THE CONTENT OF SUCH A NOTE AND/OR THE USE MADE BY CUSTOMERS OF
THE INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS."
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implic ation or otherwise under any patent or p atent rights of STMi croelectr oni cs. Spec i fications mentioned i n this publicatio n are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as cri tical comp onents in life support dev i ces or systems wi t hout the exp ress written approval of STM i croelectronics.
The ST logo is a registered trademark of STMicroelectronics
2003 STMicroelectronics - All Rights Reserved.
STMicroelectronics Group of Compan i es
http://www.s t. com
Purchase of I
2
C Components by STMicroelectronics conveys a license under the Philips I2C Patent. Rights to use the se components in an
2
C system i s granted pro vided that th e sy stem confo rm s to the I2C Standard Specification as defined by Philips.
I
Australi a - Brazil - Canada - China - Fi nl and - France - Germany - Hong Kong - Ind i a - Is rael - Ital y - J apan
Malaysi a - M al ta - Morocco - Singapore - Spain - Sw eden - Switz erland - Unit ed Kingdo m - U. S. A.
5/5
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.