Monday, February 26th 2018, 12:24am UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 377.

Thursday, February 1st 2018, 10:00am

Author: SEGGER - Johannes

EMBuild -D option

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

Thursday, January 4th 2018, 11:16am

Author: SEGGER - Johannes

[SOLVED] possible missing code in thumb_crt0.s if using TCM

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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Reset_Handler: #ifndef NO_STACK_INIT /* Initialise main stack */ ldr r0, =STACK_INIT_VAL bic r0, #0x7 mov sp, r0 #endif #ifndef NO_SYSTEM_INIT /* Initialise system *...

Thursday, January 4th 2018, 11:11am

Author: SEGGER - Johannes

[ABANDONED] How to dump float/int values from the memory?

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

Tuesday, January 2nd 2018, 10:38am

Author: SEGGER - Johannes

[ABANDONED] How to dump float/int values from the memory?

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

Tuesday, January 2nd 2018, 10:32am

Author: SEGGER - Johannes

[SOLVED] Toolchain - Linker Problem

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. ...

Tuesday, January 2nd 2018, 10:26am

Author: SEGGER - Johannes

[SOLVED] ESP32 Development

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

Tuesday, January 2nd 2018, 10:14am

Author: SEGGER - Johannes

[SOLVED] Comment block template available when creating new C C++ source files?

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...

Tuesday, January 2nd 2018, 9:55am

Author: SEGGER - Johannes

[SOLVED] reset_handler

Hi, Quoted Project Options -> Linker -> Entry Point Regards Johannes

Tuesday, January 2nd 2018, 9:52am

Author: SEGGER - Johannes

[SOLVED] Feedback on SES

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

Friday, December 22nd 2017, 3:33pm

Author: SEGGER - Johannes

[SOLVED] Systick ISR frequency

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

Friday, December 22nd 2017, 2:48pm

Author: SEGGER - Johannes

[SOLVED] Feedback on SES

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 ...

Wednesday, December 13th 2017, 11:07am

Author: SEGGER - Johannes

[SOLVED] any difference to "free" vs licensed SES?

Hi, Quoted 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

Tuesday, December 12th 2017, 10:15am

Author: SEGGER - Johannes

[SOLVED] any difference to "free" vs licensed SES?

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...

Friday, December 8th 2017, 9:31am

Author: SEGGER - Johannes

[SOLVED] any difference to "free" vs licensed SES?

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...

Friday, October 27th 2017, 1:33pm

Author: SEGGER - Johannes

[SOLVED] SystemView In No OS mode in CCS for Tiva

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/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 ... #elif (defined (__TI_ARM_V7M3__) || defined (__TI_ARM_V7M4__)) #ifndef SEGGER_RTT_MAX_INTERRUPT_PRIORITY #define SEGGER_RTT_MAX_INTERRUPT_PRIORITY (0x20) #endif #define SEGGER_RTT_LOCK() { \ unsigned int LockState; \ LockState = _set_interrupt_priority(SEG...

Thursday, October 19th 2017, 3:22pm

Author: SEGGER - Johannes

[SOLVED] How to make the linker write binary values in a flash memory using SES

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

Thursday, October 19th 2017, 3:18pm

Author: SEGGER - Johannes

[SOLVED] SystemView inconsistencies or newbie question?

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...

Friday, October 13th 2017, 9:23am

Author: SEGGER - Johannes

[SOLVED] Cortex M0+ NoOS Port Read Active Interrupt ID

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

Friday, October 13th 2017, 9:19am

Author: SEGGER - Johannes

[SOLVED] SystemView inconsistencies or newbie question?

Hi, Thanks for the explanation. Would it be possible to get a recording of the behavior you described? That would allow a better analysis of what might go wrong. If you get duplicated or invalid events this indicates that your system is not behaving correctly or that the SystemView data cannot correctly be read. Could it be possible that you use low-power modes (call WFI) in your application? This would also explain why you cannot connect with SystemView while the system is running. Regards Joha...

Wednesday, October 11th 2017, 11:33am

Author: SEGGER - Johannes

[SOLVED] Cortex M0+ NoOS Port Read Active Interrupt ID

Hi, Keil does not support extended assembler syntax. Instead you can use something like this: C/C++ Source code 1 2 3 4 U32 SEGGER_SYSVIEW_X_GetInterruptId(void) { register U32 IPSR __asm("ipsr"); return(IPSR); } Regards Johannes