|
|||||||||||||||||||||
Technical Support Support Resources
Product Information |
ULINK: Using ULINKpro on the STM3240G-EVAL BoardInformation in this knowledgebase article applies to:
SYMPTOMWhen downloading or debugging a STM3240G-EVAL board using ULINKpro, the following error displays: Trace HW not present ULINK2 and ULINK-ME work properly without any errors. Jumpers JP1 and JP2 are positioned properly (pins 1-2). CAUSEThe STM3240G-EVAL board has an issue with high speed SWV and ETM trace when using the ULINKpro. The ULINK2 and ULINK-ME are not affected as they cause the SWV data to be output at the SWO pin at relatively slow data rates. The problem may be due to length of the ETM signal trace on the STM3240G EVAL board. The trace for this signal should always be as short as possible. Note: The Keil MCBSTM32F200 and MCBSTM32F400 boards do not have this problem. RESOLUTIONBecause the ULINKpro can capture SWV trace information via the SWO port, or capture both SWV and ETM trace information via the 4-bit ETM Trace Port, there are 2 possible solutions: Using the SWO Trace port :In your µVision project,
ULINKpro should connect properly, and capture the SWO trace information output from the STM3240G-EVAL board. Using the 4-bit ETM Trace Port:You must reduce the CPU clock rate to 60 MHz. This requires a modification to the system_stm32f4xx.c file. Source lines 145 - 155 define the constants PLL_M, PLL_N, PLL_P and PLL_Q. Below are the settings for different clock speeds:
Modify these #define values for the 60 MHz settings in the above table, rebuild the source files and program the Flash. In your µVision project,
ULINKpro should connect properly, and capture ETM Trace information output from the STM3240G-EVAL board. MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, October 29, 2015 | ||||||||||||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.