![]() ![]() Note: We may add support for non supported targets on demand. Source code which uses it must be updated to be compiled with Embedded Studio V5.1 Compilers and Debuggers/Emulators supported by Tessy Table A :: 1-2 supported targets since Tessy v _Compiler ARM CCS (Texas Instruments) Codewarrior (Freescale) Crossview (Tasking) C-Spy (IAR) Fastview (PLS) HEW (Renesas) HighTec GNU (HighTec)* HiTOP (Hitex) MULTI 2000 (Green Hills) ADS Arm ARM RVDS Analog Devices Blackfin Cosmic HCS12 HCS08 S12X ST7 DiabData PPC5xx Fujitsu FFMC16 FFMC32 GNU Arm PPC Green Hills V850 x86 HighTec Tricore HI-TECH PIC16 PIC18 IAR 78K0 ARM AVR dspic H8S M16C M32C MSP430 HC12 PIC18 R32C V850 MPLAB (MICROCHIP)* Flex (Noral) PD 30/308 (Renesas) Phyton PICE-MC SingleStep (Windriver) SM78K0(S)/ID78K0(S)(NEC) SMPlus V850 (NEC) Softune (Fujitsu) STVD7 (ST Microelectr.) TRACE32 (Lauterbach) UDE (PLS) Visual DSP (Analog Devices) Wind River Workbench µvision (Keil) winidea (isystem) > Table A :: 2-2 DocRev currently supported by Tessy new or updated * These targets do not provide interactive debugger functionality while running Tessy tests. Older versions of GCC and clang supported both.Ĭlang-11 and segger-cc 11 (as included in Embedded Studio V5.20) do not support the use of '$' anymore. While '$' is used in i386 asm, the arm assembly syntax only defines the use of '#'. Some legacy code used '$' instead of '#' for immediate values in inline assembly. This error message is rather cryptic, but its reason and solution is as follows: PLEASE submit a bug report to and include the crash backtrace, preprocessed source, and associated run script.Ġ. :2:2: note: instantiated into assembly here SEGGER_RTT_Conf.h:158:73: note: expanded from macro 'SEGGER_RTT_LOCK' SEGGER_RTT.c:730:3: error: unsupported relocation on symbol :1:2: error: unsupported relocation on symbol Troubleshooting Error: unsupported relocation on symbol When using an assembler project with the new linker script file make sure the following file is also included in your project /samples/SEGGER_crtinit.s You can find both files under /source in the ES installation folder. For this simply update the files thumb_crt0.s or crt0.s, depending on the CPU architecture used in your project. If you have an old project that still uses the GNU linker other steps are necessary.Īs explained above the heap init must be done so functions like malloc can be used. ![]() Make sure this is done after setting up heap. Initialize by symbol _SEGGER_init_heap // Call constructors for global objects which need to be constructed before reaching main (if any). The most important change is that the following two lines need to be added to the initialization block: The new linker script can be found under /samples/SEGGER_Flash.icf if you are using a Flash based project or /samples/SEGGER_RAM.icf if RAM based. ![]() If you are using RTT sources in your application, make sure the SEGGER_RTT_Syscalls_.c file is removed.Īlso make sure to set the correct I/O type for your project in project setting Library I/O. To use the new SEGGER run time library the following project option must be set: Code->Library->Run Time Library->SEGGER Additionally set the project option "Starting Stack Pointer Value" to _stack_end_. For this simply edit the Startup.s file as explained in the sources comments. But if you would like to set up a RAM debug project you can set it manually. Note: Generally the initial stack pointer is not set as this is usually done by the hardware. Note: The preprocessor define MEMORY_INIT has changed to _MEMORY_INIT. Note: When setting up a RAM debug config with the sources provided via CPU support packages please note that the preprocessor define for the VTOR config has changed to _VTOR_CONFIG. You can find the latest version of this file in your Embedded Studio installation folder under /samples/Cortex_M_Startup.s and /samples/SEGGER_THUMB_Startup.s
0 Comments
Leave a Reply. |