Search Results

Search results 1-20 of 28.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Dear Nino, I understand and get it to work with a little bit of try-error. Anyway, in the documentation there are more placement file templates mentioned then actually exist - or better say more than I can find. So I ask myself if either there are still some more templates somewhere (hard to find?) or the documentation is not in-line with the product. Best Regards Markus

  • Dear all, is there a possibility to tell the linker to link entire object files and/or lib files to a special memory section. I'm especially interested in putting them into ITCM memory. I'm able to do this on a function by function base and this works well. However, that is not very efficient and also is not working for library files. I'm currently using the GCC linker. However, I'm open to change to the SEGGER Linker if this will solve my question. Best Regards Markus

  • Dear all, from studio.segger.com/index.htm?ht…/arm_memory_map_files.htm I understand that there are several placement files provided. Actually I'm working mainly with a SAME70 device from Microchip and tried to setup for using the TCM memory. If I check the package directory I could only find flash_placement_2Flash_1RAM.xml. All the others are missing. I tried to create 'Generic Cortex-M', a STM32F7 and an NXP1050 device. All of them I know have TCM memory but the corresponding placement file wa…

  • Dear all, to my knowledge the support for regular expressions to gcc (C and C++ version) was supported a while ago. It just fits to my needs to use it in a project running on a Cortex M7 device. I use the latest version of SES. However, the regex.h cannot be included - simply because it is not part of the SES installation. Is this done by purpose? Can the header file and the functionality behind it added manually? Best Regards Markus

  • Dear all, I just setup a new Project in SES. For the first time I drag+drop ontents from previous projects - which is a great help for me. These Contents get marked with an Icon that I couldn't found in the SES Manual. It looks like the one in the attachment. For the moment I can see no problem in compiling the files marked with this Icon. From a previous post I got the Information that it may linked to a Version Control System. However, so far I did not add Version Control to the Project. So th…

  • Hi Yan, thanks for the quick reply. At the moment I'm not using any driver. My µC is a Atmel/Microchip SAME70. Currently I use a composite MSD/CDC setup build on the sources that are provided by Microchip. The MSD is connected to the µSD card (4 data lines). I gain about 9MByte/s upload speed. So your published 44.1MByte/s (or is it MBit/s ?) sounds promising to me and worth to migrate to your library. I will request an evaluation version of the SAMV7 driver on your website. It should be possibl…

  • Dear Forum, I read through the documentation of emUSB Device (UM09001.pdf) but couldn't find a note about using DMA. However, the given performance values in chapter 23.2. it looks impossible for me to gain without DMA. Can anyone point me how and where to link DMA to the emUSB Device library? Best Regards Markus

  • Dear all, I tried to use the SEGGER_SYSVIEW_PrintfHost() function. My understanding is that: unsigned int c = 10; SEGGER_SYSVIEW_PrintfHost("1: %d\n",c); should lead to an output in the terminal window like: 1: 10 However I always get: 1: %d So the formatting on the host seems not to work in my configuration. Did I need to define or compile additional RTT functionality to get it work? The examples that comes with SystemView seems not to use the formatting string. The define of SEGGER_SYSVIEW_PRI…

  • Dear all, I just found out that some defines for interrupts are missing in the file ATSAME70Q21_Vectors.s. The missing vectors are right after the PWM1 vector that I kept here for better orientation where I think definitions are missing. PWM1_IRQn = 60, /**< 60 SAME70Q21 Pulse Width Modulation 1 (PWM1) */ FPU_IRQn = 61, /**< 61 SAME70Q21 Floating Point Unit Registers (FPU) */ SDRAMC_IRQn = 62, /**< 62 SAME70Q21 SDRAM Controller (SDRAMC) */ RSWDT_IRQn = 63, /**< 63 SAME70Q21 Reinforced Safety Wat…

  • Hi Nino, thanks for the hint. I had a look into the documentation and have two questions. - Is there a possibility to generate also a .bin file as linker output? - Do I invoke the linker by choosing in the Option dialog box 'SEGGER' instead of 'GNU' and point to a linker script file with 'Additional Linker Options From File'? Best Regards Markus

  • Dear all, there was another thread about 10 months ago that was mentioning that the 'size' element of a memory segment is not working. For this there is a workaround mentioned. I found that : address_symbol:A symbolic name for the end address of the memory segment is also not working. There is also the possibility to work with the name of the segment as __<name>_segment_end__ . However, it would be nice to set a more independent variable name (that I use in my C-Program). Additionally I like to …

  • Dear all, I tried to use SWV on a SAME70 board together with JLINK. I start using a Keil MDK project. However, that doesn't work like it was expected. I reached the point where I can see the pin toggling on the SWO pin with respect to my printf commands and at least the timing seems to be OK (not so easy to measure on a 300MHz device). But nothing gets displayed in the corresponding Keil MDK window. Same happens if I try the same example with SES. My printf's get displayed in the 'Debug Terminal…

  • Solved?

    markuskrug - - SEGGER Embedded Studio related

    Post

    Dear Nino, thanks for taking care. I tried you project with the same result that I had before. I run it on the Xplained E70 board. The board itself works fine with any other code - beside printf(). The program generates a hard fault after the following call stack: main->printf->vsnprintf->__vfprintf/__vfprintf_int_nwp in this function the restore of the stack seems to be the problem because the hard fault is generated at the assembler line: pop.w {r4-r10, pc} that is located at address 0x400DDE …

  • Dear all, I'm experience a strange behavior that might be related to my limited knowledge. I use SES for a ATMEL SAME70 device. If I setup a new project without changing any project parameter I observe that within the first printf("Hello World") the application stops with a hard fault. If I step into the printf I can see that it crash within the assembler function __vfprintf_int_nwp at the assembler command: pop.w {r4-r10, pc} at address 0x400DC2 (should be the same address for every standard me…

  • Dear all, I played around with TCM on a SAME70 device. After a while I get it to work. During my experiments I came across the point to copy function code from the internal flash to the TCM memory. According to the Application Note AN44047 from Atmel/Microchip this needs to be done after the GPNVM bits are set according to the size of TCM memory you are requesting and after enabling the TCM in the System Control Block register. If you setup a project for a SAME70 device the thumb_crt0.s contains…

  • Hi, I tested the proposal and it looks to me it is not so easy to change the compiler version at least for the following reasons: - the naming in the official ARM GCC distribution is different from the one that is set in SES. In SES the compiler is called by cc1. In the official distribution it is something like arm-none-eabi-gcc or arm-none-eabi-gcc-x.y.z where xyz is the version number - I'm not an expert, but I assume it is not suffcient to change just the compiler binary. I guess some change…

  • Hello, it looks to me that SES is delivered with gcc6.3.1. The latest version that is available is gcc7.2.1. SES seems to organize the directory structure of the gcc toolchain a little bit different to the standard. Before I start to spend too much time in finding out how to adopt it to the SES structure I like to ask if someone already successfull upgrade the gcc toolchain or if there is a date when the newest version will be included in a new SES version. Best Regards Markus

  • Dear George, sorry for the late reply. I was a few days off. Thanks for the example. I will have a closer look and try to adopt it to my project tomorrow and Friday. I will let you know what happens. Best Regards Markus

  • Dear Nino, thanks for your answer. I will insert a small delay when I start integrating FreeRTOS to my project and test the issue again. I currently work on a SAME70 board that needs the entire 300MHz because of a lot of demanding workload. However, I guess in real-world applications it is not a big think because you don't use extensively the printf() function in real-time applications. Best Regards Markus

  • Dear George, you approach sounds quite sophisticated. It would be great if you can share some ideas and snippets. Best Regards Markus