Search Results

Search results 1-20 of 379.

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

  • Hi, As described, Semihosting is handled by the debugger, in this case GDB/GDB Server. Therefore the actual implementation and available commands as well as the expected target behavior is dependent on the debugger. The J-Link User Guide describes the common available Semihosting commands in general. For GDB Server SYS_RENAME and SYS_REMOVE are disabled for security reasons. You could otherwise, intended or not intended, severely mess up the debugger host. In the GDB Server you should have seen …

  • Hi, Your idea is going into the right direction. Embedded Studio has two types of configurations: Public Configurations, which are the build configurations you can select and Private Configurations, which can only be inherited by Public Configurations. In your case you would want the private configurations Debug, Release, CortexM0 and CortexM3 and the public configurations Debug M0 (inherits Debug and CortexM0), Debug M3 (inherits Debug and CortexM3), Release M0, and Release M3. What probably we…

  • Hi, With emBuild it is not possible to add preprocessor definitions, you can only modify them. But that seems to be what you will need. In the project options preprocessor definitions add APP_VER=$(EXT_APP_VER) and then call embuild -config "Release" -D EXT_APP_VER="b92662f" E:\corp\Code\buildDir\app\app.emProject That will resolve $(EXT_APP_VER) to "b92662f" and you can use it through APP_VER in your application. Regards Johannes

  • Hi Markus, The crt0 is the generic memory initialization that is independent from hardware. Before _start is called, the Reset_Handler will call system initialization, and, if defined, memory initialization. This is the target-specific part where you can enable and configure TCM. Source Code (17 lines) Regards Johannes

  • Hi, Simply select the memory area you want to copy with your cursor and press Ctrl-C. (Like with standard text) Regards Johannes

  • Hi, The memory content can only be exported as text or binary data. You can add the floats that you want to export to the Watches and then copy that to the clipboard/a file with the rightmost buttons on the watch window. For plain export of just the float values you will need to convert the watches content or the memory dump externally. Regards Johannes

  • Hi, The libraries that you try to link come from the newlib standard library. Embedded Studio instead includes its own standard library that is much more optimized for small micros. How did you create the project? Did you use the Nordic SDK examples? The documentation of the Nordic SDK also describes how to flash the softdevice. Maybe have a look at it or search the Nordic forums. You can specify the softdevice hex as an additional loader file that is loaded with the application on debug start. …

  • Hi, OpenOCD cannot be used by Embedded Studio. It directly communicates with J-Link. J-Link does not natively support ESP32. Instead the support seems to have been added to OpenOCD itself, which then uses low-level JTAG sequences. Regards Johannes

  • Hi Matthew, Embedded Studio currently only supports some generic templates that can be entered through the menu (Edit -> Templates) or through code completion suggestions. Custom templates are already on our list for improvements. This would enable you to create whole comment blocks with one shortcut. Dynamic input of function name and parameters into the comment is not supported. We will also add file templates for new files to the wishlist. There are no 3rd party plugins for ES, but you can ca…

  • Hi,Quote: “Project Options -> Linker -> Entry Point” Regards Johannes

  • Hi, Thanks for the detailed explanation. I got your point, and you are right, it is mostly a philosophical issue. But that does not mean we can't change it. We probably will not switch to the Eclipse way of filesystem oriented organization. But we might add improvements to enable you to better work on the filesystem level. Regards Johannes

  • Hi Pablo, did you make sure that the tick frequency in the SystemView configuration is correct? Do you change the system frequency at run time? When the configured frequency is incorrect, you will get wrong timings. The timer interrupt frequency should not change during run time. If it does although the system frequency does not change, something more is wrong. Regards Johannes

  • Hi, Thank you for the feedback. Much appreciated. Let me explain the project management a bit. Embedded Studio has been designed to be as flexible as possible and to fit most user's needs, providing the most capable options to create manage and develop your projects. The Project Manager features two options to manage your project sources: 1. Virtual folders: Folders in an Embedded Studio project are virtual, i.e. they do not need to reflect the actual file system. You can create as many virtual …

  • Hi, Quote: “ Does 'based' mean you have adopted/modified/improved that library? ” Yes. STLPort is not maintained anymore, last release is from 2008. Its standard is C++98. We added some features and compatibility changes for later C++ standards to the library in ES. Plan is to come up with a new C++ library with a current C++ standard, but there is no immediate schedule, yet. The compilers in ES support up to C++14 now. Regards Johannes

  • Hi, There are no limitations other than the general ones for Embedded Studio. That is you may not use the Embedded Studio library for commercial use without purchase of a commercial license. Embedded Studio also includes a C++ library built for embedded systems, currently based on STLPort. The libraries are not available with full debug info but as optimized object code only. There are no hidden costs, such as royalties or software rental fees. Embedded Studio licenses are perpetual. You purchas…

  • Hi, The technical features of Embedded Studio are all the same for free and commercial licenses. You download the exact same setup in both cases. There are no technical limitations with the free licenses. The major point is: Without a paid license you may not use Embedded Studio for commercial development. We encourage hobbyists and students to start development of embedded systems. To start with Embedded Studio is therefore kept simple. You can directly download and install it without registrat…

  • Hi, SystemView has only been used with CCS in combination with embOS, therefore the default combination used the embOS locking mechanism. Replacing it with a definition like this should work: C Source Code (13 lines) Regards Johannes

  • Hi, Of course your wav file should not overwrite any other part of your system, so you would usually place it after your applicaiton code. Since you are probably going to access it from your application, you should know where to put it. Correct, you add it as Additional Load File[1], set the type to bin and enter the start address where to load it. Regards Johannes

  • Hi, Regarding ID_BASE it is okay to not call SEGGER_SYSVIEW_SetRAMBase or to call it with 0 as base. In your recording the start of the SystemInit task is not recorded. Therefore SystemView does not know in which context the system currently executes. We might improve this behavior to let the system record its current context on start of recording. It might be possible that FreeRTOS does not create a task run event when the scheduler is started, but I did not verify this. What you can try is cal…

  • Hi, SEGGER_SYSVIEW_X_GetTimestamp() will be called in the recording function called by SEGGER_SYSVIEW_Record*(). You do not have to modify them. If the recording shows only one cycle, make sure that the implementation of SEGGER_SYSVIEW_X_GetTimestamp() does work. Refer to the sample configurations given for the various supported systems. Regards Johannes