Difference between revisions of "Main Page"
(→Troubleshooting) |
(→NXP) |
||
(42 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | <strong>Welcome to the SEGGER |
+ | <strong>Welcome to the SEGGER Wiki</strong> |
+ | == Knowledge Base == |
||
+ | The idea of the knowledge base is to explain terms often used in combination with Embedded Computing Systems, |
||
+ | or "Embedded Systems", as they are usually referred to in our industry. |
||
+ | In addition to that, we would like to be a useful resource to engineers, students and hobbyists programming |
||
+ | Embedded Systems, typically microcontrollers, typically in C, C++ and some bits and pieces of Assembly language, |
||
+ | by explaining things from a programmers angle and providing useful code examples. |
||
+ | |||
+ | Keep in mind, This is work in progress ... |
||
+ | We plan to have a complete knowledge base around Embedded Systems in the near future |
||
+ | * [[CRC]] |
||
+ | * [[Embedded System]] |
||
+ | * [[Microcontroller]] |
||
== Debug Probes - J-Link & J-Trace == |
== Debug Probes - J-Link & J-Trace == |
||
=== J-Link === |
=== J-Link === |
||
+ | * [[J-Link_control_panel | J-Link control panel]] |
||
− | |||
− | ==== |
+ | ==== Software package components ==== |
+ | * [[J-Link_Remote_Server | J-Link Remote Server]] |
||
− | * [[Debug session does not start]] |
||
− | * [[J-Link cannot connect to the CPU]] |
||
− | * [[Could not open J-Link shared library]] |
||
− | * [[J-Link shown as generic BULK device in Windows]] |
||
− | * [[SPI Flash]] |
||
− | * [[Unlimited Number of Breakpoints in Flash]] |
||
− | * [[Debugging self-modifying code in flash]] |
||
− | * [[Cannot update firmware of Flasher Portable]] |
||
− | * [[Manual setup of JTAG chain]] |
||
− | * [[Access to illegal addresses causes core to crash]] |
||
− | * [[J-Trace PRO USB driver problems]] |
||
− | * [[J-Link no USB enumeration]] |
||
− | * [[J-Link LITE SAM-ICE | J-Link LITE incorrectly shown as SAM-ICE]] |
||
− | * [[Incorrect J-Link USB driver installed]] |
||
− | * [[#J-Link model specifics|J-Link model specifics]] |
||
==== IDE and Debugger specifics ==== |
==== IDE and Debugger specifics ==== |
||
− | * [[SEGGER Embedded Studio]] |
||
− | **[[SEGGER Embedded_Studio#ETB trace on NXP TWR-K65F|ETB trace on NXP TWR-K65F]] |
||
− | **[[SEGGER Embedded_Studio#How to port projects from IAR EWARM to SEGGER Embedded Studio|How to port projects from IAR EWARM to SEGGER Embedded Studio]] |
||
− | **[[SEGGER Embedded_Studio#How to configure Embedded Studio to use SWO|How to configure Embedded Studio to use SWO]] |
||
− | **[[SEGGER Embedded_Studio#VCS configuration|VCS configuration]] |
||
− | **[[SEGGER Embedded_Studio#Installation on newer Linux versions|Installation on newer Linux versions]] |
||
− | **[[SEGGER Embedded_Studio#How to enable RTOS thread awareness|How to enable RTOS thread awareness]] |
||
− | **[[SEGGER Embedded_Studio#How to place a function in RAM|How to place a function in RAM]] |
||
− | **[[SEGGER Embedded_Studio#How to use an external toolchain with Embedded Studio|How to use an external toolchain with Embedded Studio]] |
||
− | * [[SEGGER Ozone]] |
||
− | **[[SEGGER Ozone#Automated_test_example|Automated test example]] |
||
− | **[[SEGGER Ozone#Dual_core_debugging_example_based_on_NXP_LPC4350|Dual core debugging example based on NXP LPC4350]] |
||
− | **[[SEGGER Ozone#Start_debug_session_with_bootloader|Start debug session with bootloader]] |
||
− | |||
* [[TI Code Composer Studio]] |
* [[TI Code Composer Studio]] |
||
* [[IAR EWARM]] |
* [[IAR EWARM]] |
||
Line 51: | Line 35: | ||
* [[Eclipse]] |
* [[Eclipse]] |
||
* [[Atollic TrueSTUDIO]] |
* [[Atollic TrueSTUDIO]] |
||
+ | * [[Infineon DAVE 4]] |
||
==== J-Link model specifics ==== |
==== J-Link model specifics ==== |
||
* [[J-Link OB SAM3U NordicSemi | J-Link OB SAM3U NordicSemi]] |
* [[J-Link OB SAM3U NordicSemi | J-Link OB SAM3U NordicSemi]] |
||
+ | * [[J-Link-OB SAM3U]] |
||
+ | * [[J-Link-OB-RX621-ARM-SWD]] |
||
+ | * [[J-Link EDU Mini]] |
||
+ | * [[J-Trace PRO Cortex-M]] |
||
+ | * [[J-Trace PRO Cortex]] |
||
==== Extending device support ==== |
==== Extending device support ==== |
||
* [[Adding Support for New Devices]] |
* [[Adding Support for New Devices]] |
||
* [[Using Flashloader with different IDEs]] |
* [[Using Flashloader with different IDEs]] |
||
+ | |||
+ | ==== Troubleshooting ==== |
||
+ | * [[#J-Link model specifics|J-Link model specific]] |
||
+ | * [[#J-Link model specifics|J-Trace model specific]] |
||
+ | * [[Debug session does not start]] |
||
+ | * [[J-Link cannot connect to the CPU]] |
||
+ | * [[Could not open J-Link shared library]] |
||
+ | * [[J-Link shown as generic BULK device in Windows]] |
||
+ | * [[SPI Flash]] |
||
+ | * [[Unlimited Number of Breakpoints in Flash]] |
||
+ | * [[Debugging self-modifying code in flash]] |
||
+ | * [[Cannot update firmware of Flasher Portable]] |
||
+ | * [[Manual setup of JTAG chain]] |
||
+ | * [[Access to illegal addresses causes core to crash]] |
||
+ | * [[J-Link no USB enumeration]] |
||
+ | * [[J-Link LITE SAM-ICE | J-Link LITE incorrectly shown as SAM-ICE]] |
||
+ | * [[Incorrect J-Link USB driver installed]] |
||
+ | * [[J-Link application not starting]] |
||
==== Device specifics ==== |
==== Device specifics ==== |
||
Line 105: | Line 113: | ||
===== NXP ===== |
===== NXP ===== |
||
− | * [[ |
+ | * [[S32Kxxx]] |
− | * [[S32K14x series]] |
||
* [[Kinetis Series Devices]] |
* [[Kinetis Series Devices]] |
||
** [[K32W]] |
** [[K32W]] |
||
Line 155: | Line 162: | ||
** [[STM32F4]] |
** [[STM32F4]] |
||
** [[STM32L4]] |
** [[STM32L4]] |
||
+ | ** [[STM32L5]] |
||
** [[STM32F7]] |
** [[STM32F7]] |
||
** [[STM32H7]] |
** [[STM32H7]] |
||
+ | |||
+ | ===== Syntacore ===== |
||
+ | * [[Syntacore SCR1 | SCR1]] |
||
===== TI ===== |
===== TI ===== |
||
Line 203: | Line 214: | ||
===== Silicon Labs ===== |
===== Silicon Labs ===== |
||
* [[EFM Starter Kits]] |
* [[EFM Starter Kits]] |
||
+ | |||
+ | ===== Syntacore ===== |
||
+ | * [[Syntacore SCR1 SDK Arty | SCR1 SDK Arty]] |
||
===== TI ===== |
===== TI ===== |
||
Line 231: | Line 245: | ||
* [[STM32L476 Eval]] |
* [[STM32L476 Eval]] |
||
* [[STEVAL-FCU001V1]] |
* [[STEVAL-FCU001V1]] |
||
+ | * [[NUCLEO-F070RB]] |
||
===== Xilinx ===== |
===== Xilinx ===== |
||
Line 238: | Line 253: | ||
==== Flash programming ==== |
==== Flash programming ==== |
||
* [[Programming non memory-mapped flash]] |
* [[Programming non memory-mapped flash]] |
||
+ | * [[Read-Modify-Write Flash]] |
||
=== J-Trace === |
=== J-Trace === |
||
Line 317: | Line 333: | ||
== Embedded Studio == |
== Embedded Studio == |
||
+ | * [[SEGGER Embedded Studio]] |
||
− | |||
+ | **[[SEGGER Embedded_Studio#Nordic Semiconductor license | Nordic Semiconductor license]] |
||
+ | **[[SEGGER Embedded_Studio#ETB trace on NXP TWR-K65F|ETB trace on NXP TWR-K65F]] |
||
+ | **[[SEGGER Embedded_Studio#How to port projects from IAR EWARM to SEGGER Embedded Studio|How to port projects from IAR EWARM to SEGGER Embedded Studio]] |
||
+ | **[[SEGGER Embedded_Studio#How to configure Embedded Studio to use SWO|How to configure Embedded Studio to use SWO]] |
||
+ | **[[SEGGER Embedded_Studio#VCS configuration|VCS configuration]] |
||
+ | **[[SEGGER Embedded_Studio#Installation on newer Linux versions|Installation on newer Linux versions]] |
||
+ | **[[SEGGER Embedded_Studio#How to enable RTOS thread awareness|How to enable RTOS thread awareness]] |
||
+ | **[[SEGGER Embedded_Studio#How to place a function in RAM|How to place a function in RAM]] |
||
+ | **[[SEGGER Embedded_Studio#How to use an external toolchain with Embedded Studio|How to use an external toolchain with Embedded Studio]] |
||
*[[Porting from GCC to SEGGER Linker]] |
*[[Porting from GCC to SEGGER Linker]] |
||
+ | |||
+ | == SystemView == |
||
+ | * [[FreeRTOS with SystemView]] |
||
+ | * [[Use SystemView without RTOS]] |
||
+ | |||
+ | == Ozone == |
||
+ | * [[SEGGER Ozone]] |
||
+ | **[[SEGGER Ozone#Automated_test_example|Automated test example]] |
||
+ | **[[SEGGER Ozone#Dual_core_debugging_example_based_on_NXP_LPC4350|Dual core debugging example based on NXP LPC4350]] |
||
+ | **[[SEGGER Ozone#Start_debug_session_with_bootloader|Start debug session with bootloader]] |
||
+ | **[[SEGGER Ozone#Start_debug_session_with_bootloader|Watch window expression examples]] |
||
== Middleware == |
== Middleware == |
||
Line 324: | Line 360: | ||
== Miscellaneous == |
== Miscellaneous == |
||
− | |||
− | === Glossary / Definitions === |
||
− | * [[JTAG]] |
||
− | * [[SWD]] |
||
− | * [[SWO]] |
||
− | * [[ETB]] |
||
− | * [[ETM]] |
||
− | * [[TMC]] |
||
− | * [[MCU Security Options]] |
||
− | * [[J-Link software versioning]] |
||
− | |||
=== J-Link software === |
=== J-Link software === |
||
Line 341: | Line 366: | ||
* [[Using J-Link Script Files]] |
* [[Using J-Link Script Files]] |
||
* [[Using J-Link Command Strings]] |
* [[Using J-Link Command Strings]] |
||
− | * [[Read-Modify-Write Flash]] |
||
* [[Using J-Link VCOM functionality]] |
* [[Using J-Link VCOM functionality]] |
||
+ | * [[Using JLinkDevices.xml]] |
||
* [[J-Link Commander]] |
* [[J-Link Commander]] |
||
** [[J-Link_Commander#Perform flash download|Perform flash download]] |
** [[J-Link_Commander#Perform flash download|Perform flash download]] |
||
Line 350: | Line 375: | ||
* [[Memory accesses]] |
* [[Memory accesses]] |
||
* [[Setting up Ethernet interface]] |
* [[Setting up Ethernet interface]] |
||
+ | * [[CFI Flash]] |
||
=== CALLIOPE mini === |
=== CALLIOPE mini === |
||
Line 356: | Line 382: | ||
=== J-Flash === |
=== J-Flash === |
||
* [[CRC calculation]] |
* [[CRC calculation]] |
||
− | |||
− | === SystemView === |
||
− | * [[FreeRTOS with SystemView]] |
||
− | * [[Use SystemView without RTOS]] |
||
=== FAQ === |
=== FAQ === |
||
Line 371: | Line 393: | ||
* [[Unlock maximum SWO speed on SEGGER's high end debug probes]] |
* [[Unlock maximum SWO speed on SEGGER's high end debug probes]] |
||
* [[J-Trace vs. J-Trace PRO]] |
* [[J-Trace vs. J-Trace PRO]] |
||
+ | |||
+ | === Glossary / Definitions === |
||
+ | * [[JTAG]] |
||
+ | * [[SWD]] |
||
+ | * [[SWO]] |
||
+ | * [[ETB]] |
||
+ | * [[ETM]] |
||
+ | * [[TMC]] |
||
+ | * [[MCU Security Options]] |
||
+ | * [[J-Link software versioning]] |
Revision as of 13:39, 12 March 2019
Welcome to the SEGGER Wiki
Contents
- 1 Knowledge Base
- 2 Debug Probes - J-Link & J-Trace
- 2.1 J-Link
- 2.1.1 Software package components
- 2.1.2 IDE and Debugger specifics
- 2.1.3 J-Link model specifics
- 2.1.4 Extending device support
- 2.1.5 Troubleshooting
- 2.1.6 Device specifics
- 2.1.6.1 ARM
- 2.1.6.2 Ambiq Micro
- 2.1.6.3 Analog Devices
- 2.1.6.4 Atmel
- 2.1.6.5 Cypress
- 2.1.6.6 Dialog Semiconductor
- 2.1.6.7 Infineon
- 2.1.6.8 Intel
- 2.1.6.9 MediaTek
- 2.1.6.10 Microchip
- 2.1.6.11 Nordic Semi
- 2.1.6.12 NXP
- 2.1.6.13 Renesas
- 2.1.6.14 Silicon Labs
- 2.1.6.15 SiFive
- 2.1.6.16 ST
- 2.1.6.17 Syntacore
- 2.1.6.18 TI
- 2.1.6.19 Toshiba
- 2.1.6.20 Zilog
- 2.1.7 Evaluation board specifics
- 2.1.8 Flash programming
- 2.2 J-Trace
- 2.3 Getting Started with Various IDEs
- 2.1 J-Link
- 3 Embedded Studio
- 4 SystemView
- 5 Ozone
- 6 Middleware
- 7 Miscellaneous
Knowledge Base
The idea of the knowledge base is to explain terms often used in combination with Embedded Computing Systems, or "Embedded Systems", as they are usually referred to in our industry. In addition to that, we would like to be a useful resource to engineers, students and hobbyists programming Embedded Systems, typically microcontrollers, typically in C, C++ and some bits and pieces of Assembly language, by explaining things from a programmers angle and providing useful code examples.
Keep in mind, This is work in progress ... We plan to have a complete knowledge base around Embedded Systems in the near future
Debug Probes - J-Link & J-Trace
J-Link
Software package components
IDE and Debugger specifics
- TI Code Composer Studio
- IAR EWARM
- Keil MDK-ARM
- J-Link Commander
- Eclipse
- Atollic TrueSTUDIO
- Infineon DAVE 4
J-Link model specifics
- J-Link OB SAM3U NordicSemi
- J-Link-OB SAM3U
- J-Link-OB-RX621-ARM-SWD
- J-Link EDU Mini
- J-Trace PRO Cortex-M
- J-Trace PRO Cortex
Extending device support
Troubleshooting
- J-Link model specific
- J-Trace model specific
- Debug session does not start
- J-Link cannot connect to the CPU
- Could not open J-Link shared library
- J-Link shown as generic BULK device in Windows
- SPI Flash
- Unlimited Number of Breakpoints in Flash
- Debugging self-modifying code in flash
- Cannot update firmware of Flasher Portable
- Manual setup of JTAG chain
- Access to illegal addresses causes core to crash
- J-Link no USB enumeration
- J-Link LITE incorrectly shown as SAM-ICE
- Incorrect J-Link USB driver installed
- J-Link application not starting
Device specifics
ARM
Ambiq Micro
Analog Devices
Atmel
Cypress
Dialog Semiconductor
Infineon
Intel
MediaTek
Microchip
Nordic Semi
NXP
- S32Kxxx
- Kinetis Series Devices
- iMX Series Devices
- LPC Series Devices
Renesas
Silicon Labs
SiFive
ST
- Connecting to STM32 Nucleo boards
- Using SWO on STM327xxG evaluation boards
- Setting read out protection on STM32F0 devices
- Secured ST device detected
- STR91x
- STM32
Syntacore
TI
Toshiba
Zilog
Evaluation board specifics
ARM
Ambiq Micro
Adafruit
Atmel
Infineon
MediaTek
Microchip
Renesas
SiFive
Silicon Labs
Syntacore
TI
- LAUNCHXL CC2640R2
- LAUNCHXL CC2650
- CC1310 LaunchPad
- CC1350 LaunchPad
- CC3220 LaunchPad
- TM4C123G LaunchPad
NXP
- FRDM-KE16Z
- FRDM-KW41Z
- IMX6UL-EVK
- IMX6ULL-EVK
- LPCXpresso4337 V3
- LPCXpresso LPC1769
- LPCXpresso V2/V3 based boards
- TWR-KV58F220M
ST
- SPC560D-Discovery Evalboard
- STM3241G-EVAL
- STM32F746 Discovery
- STM32F769I EVAL
- STM32H743I-EVAL
- STM32L476 Discovery
- STM32L476 Eval
- STEVAL-FCU001V1
- NUCLEO-F070RB
Xilinx
Flash programming
J-Trace
- General information about tracing
- MTB specifics
- How to configure JLinkScript files to enable tracing
- Tracing on Atmel ATSAMA5D2
- Tracing on Atmel ATSAMD51
- Tracing on Atmel ATSAME54
- Tracing on Atmel ATSAME70
- Tracing on Atmel ATSAMV71
- Tracing on Infineon XMC4400 series MCUs
- Tracing on Infineon XMC4500 series MCUs
- Tracing on Nordic Semiconductor nRF52
- Tracing on NXP iMX RT1050 (iMX RT1050 Trace Reference Board)
- Tracing on NXP LPC1758
- Tracing on NXP LPC1768
- Tracing on NXP LPC1788
- Tracing on NXP LPC1857
- Tracing on NXP LPC4350
- Tracing on NXP LPC4357
- Tracing on NXP Kinetis MK21FN1M0
- Tracing on NXP Kinetis MK40
- Tracing on NXP Kinetis MK60N512
- Tracing on NXP Kinetis MK64FN1M0
- Tracing on NXP Kinetis MK66FN2M0 (SEGGER emPower Board)
- Tracing on NXP Kinetis MK70FN1M0
- Tracing on NXP Kinetis MK80FN2
- Tracing on NXP Kinetis MKL25
- Tracing on NXP Kinetis MKL82
- Tracing on NXP Kinetis MKV58F1M0
- Tracing on NXP Kinetis MKW24D512
- Tracing on NXP Kinetis MKW36A
- Tracing on NXP Kinetis KE1xZ
- Tracing on Renesas Synergy R7FS7G2
- Tracing on Renesas Synergy R7FS5D5
- Tracing on Renesas R7S721001WS (RZ/A1H)
- Tracing on Renesas R7S910017 (RZ/T1)
- Tracing on Silicon Labs EFM32GG11B
- Tracing on Silicon Labs EFM32GG990
- Tracing on Silicon Labs EFM32PG12
- Tracing on Silicon Labs EFR32MG12
- Tracing on Silicon Labs EZR32LG330
- Tracing on Silicon Labs EZR32WG330
- Tracing on ST STM32F107
- Tracing on ST STM32F207
- Tracing on ST STM32F303
- Tracing on ST STM32F407 (SEGGER Cortex-M Trace Reference Board)
- Tracing on ST STM32F417
- Tracing on ST STM32F429
- Tracing on ST STM32F437
- Tracing on ST STM32F439
- Tracing on ST STM32F446
- Tracing on ST STM32F746
- Tracing on ST STM32F756
- Tracing on ST STM32F767
- Tracing on ST STM32F769
- Tracing on ST STM32F779
- Tracing on ST STM32H743 (SEGGER STM32H7 Trace Reference Board)
- Tracing on ST STM32H743
- Tracing on ST STM32H753
- Tracing on ST STM32L476
- Tracing on ST STM32L4R
- Tracing on ST STM32L4S
- Tracing on ST STM32L152
- Tracing on TI MSP432E4
- Tracing on TI TM4C129
- Tracing on Toshiba TMPM370
- Tracing on Toshiba TMPM440
- Getting unknown addresses in instruction trace
Keil MDK
Getting Started with Various IDEs
Embedded Studio
- SEGGER Embedded Studio
- Nordic Semiconductor license
- ETB trace on NXP TWR-K65F
- How to port projects from IAR EWARM to SEGGER Embedded Studio
- How to configure Embedded Studio to use SWO
- VCS configuration
- Installation on newer Linux versions
- How to enable RTOS thread awareness
- How to place a function in RAM
- How to use an external toolchain with Embedded Studio
- Porting from GCC to SEGGER Linker
SystemView
Ozone
Middleware
Miscellaneous
J-Link software
- J-Link Software and Documentation Pack
- Enable J-Link log file
- Using J-Link Script Files
- Using J-Link Command Strings
- Using J-Link VCOM functionality
- Using JLinkDevices.xml
- J-Link Commander
- RTT
- Memory accesses
- Setting up Ethernet interface
- CFI Flash
CALLIOPE mini
J-Flash
FAQ
- Using Ethernet in TI's Code Composer Studio (CCS)
- Software and Hardware Features Overview
- Multiple J-Links at the same PC
- OpenOCD
- Using J-Link on VirtualBox under Ubuntu
- Flashing Cypress PSoC Creator output data files with J-Flash
- Programming External SPI Flashes
- Unlock maximum SWO speed on SEGGER's high end debug probes
- J-Trace vs. J-Trace PRO