Search Results

Search results 1-20 of 23.

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

  • 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

  • Dear all, I use JLINK-EDU in preparation for a lecture that I plan to switch from a different JTAG interface to JLINK. In this context I start using EmbeddedStudio as well. In principle it worked for me. However, it seems to me that there are some issues with high resolution displays and dialogboxes. You find a picture about my issue in the attachment. I try to describe what is happening. The typical 'Term of use' comes up when I start EmbeddedStudio on a notebook that has a high resolution disp…

  • Dear all, I just start with EmbeddedStudio. While I was testing with the 'Hello World' example that seems to be created each time you setup a new project I find out that in the DebugTerminal only 64 iterations of the 'Hello World' is shown. As far as I understand the program code it should be 100 times. Can anyone explain it to me? Best Regards Markus

  • Dear all, anyone already tried to setup a TCM segment in the linker file and modified the startup code accordingly? Best Regards Markus

  • Hello everybody, I experienced the same problem. Does that mean the startup code needs to be modified to change the GPNVM bits? I would appreciate if someone can post a working example. Best Regards Markus

  • I tried the same with no success. However, I could not follow all the advises. So what I did is the following: In SEGGER_SYSVIEW_Config_FreeRTOS.c I add one line for a semaphore that I want to get displayed by its name instead of the address in the upper log window (that has in the headline 'Events' for the first column). /********************************************************************* * * _cbSendSystemDesc() * * Function description * Sends SystemView description strings. */ static void _…