RN0013 Release Note: ST Visual Develop (STVD) Release 4.3.2
RN0013 Release Note: ST Visual Develop (STVD) Release 4.3.2
RN0013 Release Note: ST Visual Develop (STVD) Release 4.3.2
Release note
ST Visual Develop (STVD) release 4.3.2
Introduction
These are the release notes for Release 4.3.2 of the ST integrated development
environment, which is now called ST Visual Develop and abbreviated to STVD. The name
change from STVD7 to STVD reflects the extension of the development environment to
support the new STM8 microcontroller families. These release notes are updated
periodically in order to keep you abreast of evolutions of the software and any problems or
limitations found in this release. Check the ST microcontroller support website at
www.st.com to ensure that this is the latest version of these release notes.
New features – Added support for STM8S207K8 microcontroller on Simulator, SWIM and STice
emulators.
– Added support for STM8TL52G4 microcontroller on Simulator, SWIM and STice
emulators.
– Added support for STM8TL52F4 and STM8TL53F4 microcontrollers on Simulator
and SWIM emulators.
– Added support for STM8S003F3/K3, STM8S005C6/K6, STM8S007C8
microcontrollers on STice emulator.
– Added support for STM8L051F3, STM8L052C6 and STM8L052R8
microcontrollers on Simulator, SWIM and STice emulators.
Corrections – RAM size of STM8A(F/H)518A, STM8A(F/H)618A, STM8AFx26x and
STM8AFx28x microcontrollers extended to 6 Kbytes [0-17FF], including stack.
– Data EEPROM size of STM8AF518A, STM8AF618A and STM8AFx28x
microcontrollers extended to 2 Kbytes.
– RAM size of STM8AF6226 and STM8AF624x microcontrollers extended to
2 Kbytes [0-7FF], stack included.
– STM8S103K3U microcontroller renamed STM8S103K3.
– Fixed issue that caused SWIM communication with RLink to be lost when loading
applications under very specific size and alignment conditions.
– Fixed issue in STLinkUSBDriver.dll v4.2.2.0 that forbad access to the STLink in
some PC configurations.
– No more graphical freeze when too many errors found during file preprocessing
phase for symbol browsing.
– No more crash after assembly error.
– No more crash when selecting a build configuration different from the first one.
Customer support
For more information or help concerning STVD, please contact the nearest sales office. For
a complete list of ST offices and distributors, please refer to www.st.com.
Software updates
You can download software updates and all the latest documentation from the ST
microcontroller support site at www.st.com.
Contents
1 Read me first . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Host PC system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Emulation hardware support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 About using the Cosmic C toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.4 About using the Metrowerks C toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.5 About using the Raisonance C toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Known problems/limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1 Known problems/limitations for STVD installer . . . . . . . . . . . . . . . . . . . . . 15
3.2 Known problems/limitations for STVD interface . . . . . . . . . . . . . . . . . . . . 15
3.2.1 Cosmic C toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.2 Metrowerks C toolset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Known problems/limitations for debug interface . . . . . . . . . . . . . . . . . . . . 15
3.4 Known problems/limitations for STice targets . . . . . . . . . . . . . . . . . . . . . 16
3.4.1 Trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4.2 NEM breakpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4.3 Profiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4.4 USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.5 Known problems for STM8-ICD-SWIM targets . . . . . . . . . . . . . . . . . . . . . 17
5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
1 Read me first
Note: 1 Industry standard ELF/Dwarf format is the default output format for Metrowerks C toolset.
When building, the -f2 option for the C compiler and the lib.e20 library are chosen by
default.
2 For reasons of legacy compatibility, the Metrowerks C toolset and STVD continue to support
the proprietary Hiware format. However, Hiware format users must use a script link file in the
Project Settings interface when building their applications.
3 Any references to “Metrowerks” and “Hiware” in STVD software, examples and
documentation refer to the Metrowerks C toolset.
New features
● Added support for STM8S207K8, STM8TL52G4, microcontroller on Simulator, SWIM
and STice emulators.
● Added support for STM8TL52F4 and STM8TL53F4 microcontrollers on Simulator and
SWIM emulators.
● Added support for STM8S003F3/K3, STM8S005C6/K6, and STM8S007C8
microcontrollers on STice emulator.
Correction
● RAM size of STM8A(F/H)518A, STM8A(F/H)618A, STM8AFx26x and STM8AFx28x
microcontrollers extended to 6 Kbytes [0-17FF], including stack.
● Data EEPROM size of STM8AF518A, STM8AF618A and STM8AFx28x
microcontrollers extended to 2 Kbytes.
● RAM size of STM8AF6226 and STM8AF624x microcontrollers extended to 2 Kbytes [0-
7FF], stack included.
● STM8S103K3U microcontroller renamed STM8S103K3.
● Fixed issue that caused SWIM communication with RLink to be lost when loading
applications under very specific size and alignment conditions.
● Fixed issue in STLinkUSBDriver.dll v4.2.2.0 that forbad access to the STLink in some
PC configurations.
● No more graphical freeze when too many errors found during file preprocessing phase
for symbol browsing.
● No more crash after assembly error.
● No more crash when selecting a build configuration different from the first one.
2.2.2 STM8-ICD-SWIM
List of supported devices for in-circuit debugging from STVD with ST-Link, RLink, or STice:
STM8A(F/H)5168, STM8A(F/H)5169, STM8A(F/H)5178, STM8A(F/H)5179, STM8A(F/H)5188,
STM8A(F/H)5189, STM8A(F/H)518A, STM8A(F/H)5198, STM8A(F/H)5199, STM8A(F/H)519A,
STM8A(F/H)51A8, STM8A(F/H)51A9, STM8A(F/H)51AA
STM8AF5268, STM8AF5269, STM8AF5288, STM8AF5289, STM8AF528A, STM8AF52A8,
STM8AF52A9, STM8AF52AA
STM8A(F/H)6126, STM8A(F/H)6146, STM8A(F/H)6148, STM8A(F/H)6166, STM8A(F/H)6168,
STM8A(F/H)6169, STM8A(F/H)6176, STM8A(F/H)6178, STM8A(F/H)6179, STM8A(F/H)6186,
STM8A(F/H)6188, STM8A(F/H)6189, STM8A(F/H)618A, STM8A(F/H)6198, STM8A(F/H)6199,
STM8A(F/H)619A, STM8A(F/H)61A8, STM8A(F/H)61A9, STM8A(F/H)61AA
STMAF6269, STMAF6286, STMAF6288, STMAF6289, STMAF628A, STMAF62A8, STMAF62A9,
STMAF62AA
STM8AF6226, STM8AF6246, STM8AF6248, STM8AF6266, STM8AF6268
STM8L051F3, STM8L052C6, STM8L052R8
STM8L101F1, STM8L101F2(P/U), STM8L101F3(P/U), STM8L101G2U, STM8L101G3U,
STM8L101K3(U/T)
STM8L151C(2/3), STM8L151C(4/6), STM8L151C8, STM8L151F(2/3), STM8L151G(2/3),
STM8L151G(4/6), STM8L151K(2/3), STM8L151K(4/6), STM8L151M8, STM8L151R6, STM8L151R8
STM8L152C(4/6), STM8L152C8, STM8L152K(4/6), STM8L152M8, STM8L152R6, STM8L152R8
STM8L162M8, STM8L162R8
STM8S003F3/K3, STM8S005C6/K6, STM8S007C8
STM8S103F2(P/U), STM8S103F3(P/U), STM8S103K3U
STM8S105C4, STM8S105C6, STM8S105K4, STM8S105K6, STM8S105S4, STM8S105S6
STM8S207CB, STM8S207MB, STM8S207RB, STM8S207SB, STM8S207K6, STM8S207K8,
STM8S207R6, STM8S207C8, STM8S207M8, STM8S207R8, STM8S207S8
STM8S208C6, STM8S208R6, STM8S208S6, STM8S208C8, STM8S208R8, STM8S208S8,
STM8S208CB, STM8S208M8, STM8S208MB, STM8S208RB, STM8S208SB
STM8S903K3, STM8S903F3
STM8TL53C4, STM8TL53G4, STM8TL53F4, STM8TL52G4, STM8TL52F4
2.2.5 ST7-ICD-ICC
Applications can be in-circuit debugged on the microcontrollers listed below from STVD
using any of the following development tools:
● ST7MDT10-DVP3, ST7MDT20-DVP3, ST7MDT25-DVP3 series emulators: they are
all are accessed from STVD as ICD (ST Micro Connect or DVP3).
● ST7-EMU3 series emulators – ST Micro Connect with ICC add-on. They are all are
accessed from STVD as ICD (ST Micro Connect or DVP3).
● RLink from Raisonance (accessed from STVD as ICD RLink).
● ST7-STICK (accessed from STVD as ICD Stick).
List of supported devices for in-circuit debugging.
ST72260G1, ST72262(G1/G2), ST72264(G1/G2), ST7267
ST7FDALI, ST7FLCD1
ST7FLIT10BF(0/1), ST7FLIT15BF(0/1), ST7FLIT19BF(0/1), ST7FLIT10BY(0/1), ST7FLIT15BY(0/1),
ST7FLIT19BY(0/1)
ST7FLITE0(2/5/9), ST7FLITE1(0/5/9), ST7FLITE2(0/5/9), ST7FLITE3(0/5/9), ST7FLITES(2/5),
ST7FLITEUS(2/5), ST7FLITEUSICD, ST7FLITEU0ICD
ST7FL1(5/9), ST7FL3(4/5/8/9)
ST7WIND11, ST7WIND21
ST7FMC1K(2/4/6), ST7FMC2(M9/N6/R6/R7/R9/S4/S6/S7/S9), ST7FMC2R9, ST7FMC2S9
ST72F321BAR(6/7/9), ST72F321BJ(6/7/9), ST72F321BK6, ST72F321BR(6/7/9),
ST72F325AR(6/7/9), ST72F325C(4/6), ST72F325J(4/6/7/9), ST72F325K(4/6), ST72F325R(6/7/9),
ST72F325S(4/6),ST72F340(K2/K4/S2/S4), ST72F344(K2/K4/S2/S4),ST72F345C4
ST7FLITE49M
ST7FOXK1, ST7FOXK2, ST7FOXF1, ST7FLITE49K2T6, ST7FLITE49K2B6
2.2.8 Simulators
(Simulators continued)
ST7 USB ST7260E(1/2), ST7260K(1/2), ST72631, ST72632, ST72633, ST7263BD6,
ST7263BH(2/6), ST7263BE(1/2/4/6), ST7263BK(1/2/2U1/4/6)
STM8 STM8A(F/H)5168, STM8A(F/H)5169, STM8A(F/H)5178, STM8A(F/H)5179,
STM8A(F/H)5188, STM8A(F/H)5189, STM8A(F/H)518A, STM8A(F/H)5198,
STM8A(F/H)5199, STM8A(F/H)519A, STM8A(F/H)51A8, STM8A(F/H)51A9,
STM8A(F/H)51AA
STM8AF5268, STM8AF5269, STM8AF5288, STM8AF5289, STM8AF528A,
STM8AF52A8, STM8AF52A9, STM8AF52AA
STM8A(F/H)6126, STM8A(F/H)6146, STM8A(F/H)6148, STM8A(F/H)6166,
STM8A(F/H)6168, STM8A(F/H)6169, STM8A(F/H)6176, STM8A(F/H)6178,
STM8A(F/H)6179, STM8A(F/H)6186, STM8A(F/H)6188, STM8A(F/H)6189,
STM8A(F/H)618A, STM8A(F/H)6198, STM8A(F/H)6199, STM8A(F/H)619A,
STM8A(F/H)61A8, STM8A(F/H)61A9, STM8A(F/H)61AA
STMAF6269, STMAF6286, STMAF6288, STMAF6289, STMAF628A,
STMAF62A8, STMAF62A9, STMAF62AA
STM8AF6226, STM8AF6246, STM8AF6248, STM8AF6266, STM8AF6268
STM8L051F3, STM8L052C6, STM8L052R8
STM8L101F1, STM8L101F2(P/U), STM8L101F3(P/U), STM8L101G2U,
STM8L101G3U, STM8L101K3(U/T)
STM8S103F2(P/U)STM8S103F3(P/U), STM8S103K3U, STM8S105C4,
STM8S105C6, STM8S105K4, STM8S105K6, STM8S105S4, STM8S105S6
STM8L151C(2/3), STM8L151C(4/6), STM8L151C8, STM8L151F(2/3),
STM8L151G(2/3), STM8L151G(4/6), STM8L151K(2/3), STM8L151K(4/6),
STM8L151M8, STM8L151R6, STM8L151R8
STM8L152C(4/6), STM8L152C8, STM8L152K(4/6), STM8L152M8,
STM8L152R8, STM8L152R6
STM8L162M8, STM8L162R8
STM8S003F3/K3, STM8S005C6/K6, STM8S007C8
STM8S207MB, STM8S207RB, STM8S207CB, STM8S207R8, STM8S207C6,
STM8S207C8, STM8S207S8, STM8S207S6, STM8S207R6, STM8S207K6,
STM8S207K8, STM8S207M8, STM8S207SB,
STM8S208R6, STM8S208C6, STM8S208S6, STM8S208R8, STM8S208C8,
STM8S208S8, STM8S208M8, STM8S208CB, STM8S208SB, STM8S208MB,
STM8S208RB
STM8S903K3, STM8S903F3
STM8TL53C4, STM8TL53G4, STM8TL53F4, STM8TL52G4, STM8TL52F4
3 Known problems/limitations
3.4.1 Trace
Trace activation is only possible through the advanced debug machine (ADM) interface on
STice emulator, not through the simplified one.
3.4.3 Profiler
● Coverage and profiling functionality is limited to core running at up to 24 MHz.
● Code occurrence and time profiling limitations:
– Whatever the time profiling mode, the profiler does not profile the first or the first
two instructions after a breakpoint.
– It also does not profile correctly the last or the last two instructions before a
breakpoint.
– The number of occurrences of an interrupted instruction may be false. In
particular:
The occurrence number of the WFE instruction is doubled.
The occurrence number of an IRET instruction may be null if it is always executed
in a shortened way. A shortened IRET is an IRET which is executed in one cycle
only because of a pending interrupt being serviced immediately after.
In some rare cases, the occurrence number of an interrupted instruction is
doubled.
● Contrarily to what is said in the online help, the Subroutine mode (interrupt time
excluded) is not available in this release. Only the Subroutine and Interrupt mode
(interrupt time included) is available.
● Time profiling limitations in Instruction mode:
Context saving time is added to the interrupted instruction time.
● Time profiling limitations in the Subroutine and Interrupt mode:
– The time for recursive functions is not correct.
– The longjmp C library routine should not be used otherwise the results will be
erroneous.
– The results may be incorrect with the Raisonance compiler if it calls a library
routine which uses the stack in a nonstandard way.
– For code written in assembly language, the subroutine modes work only if routines
use the stack in a standard way. To be certain there is no problem, make sure that
each routine is called by a call instruction and that it returns to its caller by a return
instruction.
– In the case of pending interrupts resulting in the occurrence of several immediately
consecutive interrupts, the time of the interrupted instruction doesn't include all the
time spent in the interrupts.
– Similarly an IRET followed immediately by a pending interrupt is seen as
interrupted and its time includes the time of the following interrupt.
3.4.4 USB
USB communications may sometimes be lost in full speed mode (12 Mbit/s), depending on
the frame length. It is recommended to use the STice on a PC supporting USB high speed
communications (480 Mbit/s).
3.6.1 ST7MDT10-EMU3
● The following limitations are not included in the Debugging discrepancies window:
– All ST7FLITE devices (except the ST7226x): When using PA4 and PA6 as input for
VIL = 0.4V there is an IIL current of 200 µA.
– All ST7FLITE1B devices: The analog comparator is not emulated. As a result
these registers have been mapped as non-existent registers (NER), and a break in
execution will occur if they are accessed by the application. If the users application
uses these registers, they can be mapped to read/write in the Memory Mapping
window so that a break will not occur when they are accessed.
● When emulating the ST72F26xx family with the ST7MDT10-EMU3 emulator, the
memory area from 0xd760 to 0xDEDF is typically defined as non-existent memory
(NEM). Do not change this, as the emulator cannot interpret instructions in this zone.
● AWU RC calibration is not supported because this RC is emulated by a fixed frequency
from an oscillator.
● RC oscillator and the input capture are not connected for the auto-reload timer.
3.7.1 ST7MDT10-DVP3
● The following limitations are not included in the Debugging discrepancies window:
– All ST7FLITE devices (except the ST7226x): When using PA4 and PA6 as input for
VIL = 0.4 V there is an IIL current of 200 µA.
– All ST7FLITE1B devices: The analog comparator is not emulated. As a result
these registers have been mapped as non-existent registers (NER), and a break in
execution will occur if they are accessed by the application. If the users application
uses these registers, they can be mapped to read/write in the Memory Mapping
window so that a break will not occur when they are accessed.
● AWU RC calibration is not supported because this RC is emulated by a fixed frequency
from an oscillator.
● RC oscillator and the input capture are not connected for the auto-reload timer.
Note: The command Debug Instrument>Debugging discrepancies displays the emulation
limitations that are specific to the target MCU.
Corrections
● Fixed issue that caused application crash during STLink enumeration on some PCs
with STLinkUSBDriver.dll v4.2.1.0
● Modified timings for correct initialization of the SWIM communication with STM8L
DISCOVERY boards
● Fixed infinite loop issue that occurred in case of SWIM communication error after
SWIM_COMM_RESET command
● Added peripheral description for STM8A(F/H)(5/6)2xx microcontrollers
● Fixed issue that caused SWIM communication with RLink to be lost when loading
applications under very specific size and alignment conditions
Corrections
● Fixed bug in "obsend" command with ST Assembler Linker
● Fixed bug in Raisonance omf2hex post-build command for applications which exceed
64 Kbytes in size
● Fixed bug for STM8L162M8: bad mapping on STice emulator for AES register
● Updated graphical library
Corrections
● Displays warning message of externally modified source file when compiling through
CTRL+F7 shortcut or Compile button.
● Does not delete the linker input section (entire row) if the Section Name cell is selected
at the same time the ESC button is pressed.
● Fixed a possible data breakpoint inconsistency after setting/removing regular
breakpoints.
Improvements
Reduced duration of Start Debug on workspaces with lots of files and directories.
Corrections
ENUMTYPE(BYTE) can now be selected with the Raisonance compiler.
Improvements
● For STM8 Raisonance toolset:
– Manages EEPROMSTART and EEPROMSIZE directives (version 2.25 or later).
– Uses OMF2HEX converter instead of OHST7.
● For Cosmic toolset:
– Manages "+fast" directive.
– Lkf file management enhancement: some lkf file sections are reserved for STVD
and are updated even if Auto mode is disabled. Automatic management may be
disabled by removing section delimiters. Custom modifications are allowed in the
lkf outside reserved sections and when the "auto" mode is disabled.
– Symbolic disassembly works for peripheral registers defined in Cosmic include
files.
● New method for list file generation with absolute addresses by ST Assembler-Linker list
file post-processor named abslist.
● Regression fix on Simulator after renaming of periph.ini file in STVD-4.1.3.
● Regression fix on STice "unable to load workspace" when starting debug out of
workspace.
● Bugfix: some "intrusive read" registers are now declared in stm8_periph.ini for
STM820x and STM8L15x microcontrollers.
Improvements
Improvement in this release is that EEPROM data is emulated on STice for STM8L101x3
microcontrollers.
Improvements
● STM8 coverage/profiling on STice is functional up to 24 MHz.
● STM8 data EEPROM emulated on STice, except on STM8L101x microcontrollers.
● Peripherals can be frozen on the STice while the user application is stopped, according
to the user's selected MCU option.
● User can now choose the debugger's behavior on stop debug with a SWIM debug
instrument:
– either stop the application and leave the SWIM active on the microcontroller (only
way to escape is a power on reset),
– or restart the application with SWIM Off and software breakpoints removed
(provided that the communication with the microcontroller is functional).
● Possibility to run the Raisonance code compressor (if available in the Raisonance
toolset installed version).
Corrections
● STM8 coverage/profiling on STice is functional even when there are simultaneous read
and write accesses.
● With the SWIM debugger, the Halted status has been replaced by the No Access
status, reached when the microcontroller is executing Halt, Wfi, Wfe instructions or
protected code.
Improvements
● STM8 data EEPROM is now writeable (as a RAM) by the application on STice.
Corrections
● Bugfix unexpected NEM breaks on STice (RETF, IRET when crossing a 64 Kbyte
boundary).
● Bugfix wrong location in disassembly window on STM8 when stopping on code
deprived of debug information.
● Correction of bad option description for ST7FL3x microcontrollers on ST7-ICD-ICC
target.
Improvements
Improvements in this release include:
● Up to 4 "memory" windows may be opened simultaneously.
● Management of global variables automatic relocation for Raisonance toolset.
● Added .bit section in Cosmic link script file.
● Main.asm and mapping.inc files automatic creation during creation of Assembler/Linker
project.
● Enhanced performance of find in files function.
● SWIM communication enhancements on STice (SWIM dongle).
● SWIM debugger: Flash and data EEPROM RASS protections are restored to user's
state before running user's application.
● Stack location adjusted to datasheet on STM8A and STM8S microcontrollers.
● On simulator CPU frequency is now entered by the user. Default value is 16 MHz.
Corrections
Corrections in this release include:
● User defined option in ST Assembler/Linker project.
● Project was not rebuilt after suppression of project source file(s).
● Bugfix with +e directive of Cosmic assembler (Assembler/Listing/Generate an Errors
Log File).
● STM8 Raisonance Builder: CODESTART directive address includes Vectors area.
● Fixed issue with RLink SWIM when the microcontroller in Halt mode.
● Fixed potential issue in identification procedure of a microcontroller in SWIM hotplug
mode.
Improvements
Improvements in this release include:
● Parallel port driver installation/de-installation is now subject to user’s agreement.
● With the Cosmic C compiler:
– Boolean variables are now properly initialized: the .bit section is automatically
generated in the linker input file
– Debug information for function parameters is improved for STM8 microcontrollers.
● With the Raisonance toolset, the number of optimization levels is reduced to 4 for
greater ease of use.
● STM8A AFREMAP options are managed on STice.
Corrections
Corrections in this release include:
● When a source file is modified while in Debug mode, the debug session is now
properly managed.
● STice trace timestamp overflow event is properly managed.
● When a debug session is stopped, SWIM communication is switched off on the
microcontroller side.
Improvements
Improvements in this release include:
● The Cosmic C compiler setting for the memory model is now consistent with the startup
file. For example, in an ST7 project, selecting the Long Stack memory model will
trigger crtsx.st7 at startup.
● In the Cosmic Linker, for all toolsets, the Default button now sets correctly the default
startup file according to the memory model. For example, in an STM8 project, if the
current memory model is Long Stack, clicking on the Default button will set the startup
file to crtsi.sm8, which is the default value for that model.
Corrections
This release includes a number of small corrections that occurred only in marginal
configurations of use.
Improvements
Improvements in this release include:
● The Find in Files feature now proposes the path of the previous search, except if the
current project has changed, in which case the path of the current project is proposed.
● The list of microcontrollers in the MCU Selection dialog box is dependent on the
toolset: only the microcontrollers supported by the selected toolset are listed.
● Simulator provides full support for all new features of Lite1B auto-reload timer:
– forcing of counter 1 and counter 2 overflow
– separate break for counter 1 and counter 2
– one pulse mode on PWM2 and PWM3
● For Lite49M auto-reload timer, Simulator supports distinct output compare interrupt and
input capture interrupt.
● For Lite 49K auto-reload timer, Simulator supports the second break pin.
Corrections
With simulator, instructions performing a read access to a port data register with some of
the port pins configured as inputs are now correctly executed.
This release also includes a number of small corrections that occurred only in marginal
configurations of use.
Improvements
Improvements in this release include:
● A new option on the Edit/Debug tab allows you to select the behavior of the system
before building a project or before starting a debug session. You can either request to
be prompted to save your files (Prompt before Saving Files option), or select to save
files automatically (Automatic File Saving option).
● In the project settings window, the Linker tab/general category options now show the
list of linked standard libraries.
● In the project settings window, STVD7 prompts you for confirmation when you create a
section in the linker/input that has the same name as an existing section. Previously
this operation was not allowed.
● When you change the selected MCU, you get a message warning you that some of the
build options might be replaced by the default settings for that type of circuit.
● The menu option and window title Emulation Discrepancies has been renamed and is
now called Debugging Discrepancies.
● The debugging discrepancies feature has been extended to the simulator. For some
circuits, the Debugging Discrepancies window lists the limitations pertaining to the
simulated circuit.
● Support for booleans with the Cosmic C compiler. There is however, a limitation
because boolean variables are not properly initialized.
● In the simulator, you can generate interrupt requests from the I/O stimulation window.
This is done by changing the value of the IRQx pseudo pin. This feature is useful for
debugging code that manages non-simulated peripherals.
Corrections
Corrections in this release include the following major fixes:
● The update of the STM Parallel driver version 1.2 (a driver used by some third-party
tools and installed with STVD7 prior to version 2.0) under Windows XP Service Pack 2,
no longer causes a crash during installation.
● Initial project settings are properly restored when Cancel is done after selecting Default
settings.
● Link file modifications are automatically taken into account in the list of build
dependencies.
● When opening a project, a warning message is displayed when a file that was part of
the project no longer exists. This message is no longer displayed each time the project
is opened.
● The following problems related to wrap executable projects have been corrected:
– The Export Makefile option is disabled, thus avoiding a system crash.
– The pathname for the executable file is now relative to the projected path, which
makes it easier to transfer projects from one computer to another.
– When creating a wrap executable project, the interrupt vector file is no longer
added.
When starting a debugging session, a message was displayed to indicate that the
debugging information could not be found. This message is no longer displayed.
Improvements
In this release, STVD7 checks whether a build is required before starting a debug session.
Corrections
Corrections in this release include the following major fixes:
● In the main configuration window the Modify Area did not work properly in STVD7
3.3.3. This regression compared with STVD7 3.3.2 is fixed in this release.
● The linker file is now included in the build dependencies list for non-automatic Cosmic
projects.
Improvements
Improvements in this release include:
● A template for the main source file (main.c) is provided when you create a new
workspace and project.
● For Cosmic C compiler users, an additional column in the Linker Input table allows you
to enter options for custom linker sections.
● For Cosmic C compiler users, the Linker Startup File selection list now offers the option
None. When selected, the default startup routine is not used. You must create your
own routine.
● Changes to vector file and microcontroller selection in Project Settings are now applied
to all project configurations.
Corrections
Corrections in this release include the following major fixes:
● For Cosmic C compiler users, when the +split option is checked in the C Compiler
Optimizations list in the Project Settings window, it is correctly added to the command
line displayed at the bottom of the window.
● For Cosmic C compiler users, checking the verbose option (-v) in the C Compiler
Listings options applies the option to listings and to optimizations, thus avoiding
inconsistency in settings that could occur previously.
● Under certain conditions, icons disappeared from menus and menu bars in the main
window. This problem is corrected.
● The vector file template (vector.c) is now generated only when the project is created.
Its contents are no longer impacted by changes in the project settings.
Corrections
Corrections in this release include the following major fixes:
● Corrects errors that occurred in the Plotter window when importing VCD files
(File>Import...) and adding new items to a plot (Project>Add New Items...). In
previous versions using these features resulted in an “Parser not found” error.
● Values for selected variables are correctly displayed in the Local Variables window.
Corrects problem that appeared in STVD7 releases 3.3.0/3.3.1.
● Corrects false warning message that sometimes occurred when saving a workspace or
entering a debug session after initial creation of a workspace.
Correction implemented with Patch 2:
● Corrects an error that occurred when in-circuit debugging ST7FLITE1x
microcontrollers.
Corrections
● Find feature in the Editor windows modified so that search loops after reaching the top
or bottom of the document. In preceding versions, the search stopped at the end of the
document and no “end of the file” message was displayed.
● Corrects possible programming error sometimes occurring during in-circuit debugging
of HDFlash MCU if code section crossed over boundary between two HDFlash sectors.
Corrections
● The Block Selection tool allows cut, copy or delete of selections.
● Improved project file format allows automatic conversion of project files and generation
of a backup file (*.bak).
● Library file path can now be added from the Directories tab of the Tool Options
window (Tools>Options).
● Fixes problems related to use of macros in the build interface.
● Corrects crashes that occurred when debugging some applications in projects that had
been created by ‘wrapping an existing executable file’.
● F4 is no longer used to navigate in bookmarks.
● For a register stored at 0x00, viewing in the Watch window no longer returns an
unknown address error.
5 Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.