Wednesday, October 18th 2017, 1:57am UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 360.

Friday, October 13th 2017, 9:23am

Author: SEGGER - Johannes

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

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

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

Monday, October 9th 2017, 1:35pm

Author: SEGGER - Johannes

"invalid packet received" error in SystemView 2.50

Hi, Did you make sure that SEGGER_RTT_MAX_INTERRUPT_PRIORITY is defined according to your system configuration to mask all interrupts that produce SystemView events? Regards Johannes

Monday, October 9th 2017, 1:34pm

Author: SEGGER - Johannes

Cortex M0+ NoOS Port Read Active Interrupt ID

Hi, You are right, Cortex-M0+ devices do not have the ICSR[VECTACTIVE] bits implemented. Instead you can read the active vector from the IPSR, best implemented in a user-provided function SEGGER_SYSVIEW_X_GetInterruptId(): C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 /********************************************************************* * * SEGGER_SYSVIEW_X_GetInterruptId() * * Function description * Return the currently active interrupt Id, * which i...

Monday, October 9th 2017, 1:16pm

Author: SEGGER - Johannes

[solved] Does recording of 'Middleware Events' work in Post Mortem mode?

Hi, You are correct, it does work in post mortem mode because the middleware info is periodically written to the buffer. Please make sure that the buffer is large enough to hold the full system and middleware information (and of course enough events for your analysis). Regards Johannes

Monday, October 9th 2017, 1:14pm

Author: SEGGER - Johannes

[Solved] Again - or still: Failed to start recording. RTT Control Block not found.

Hi Marcus, In general there should not be a problem, as with STM32F4 devices even auto detection should work. So if the control block cannot be found there seems to be an issue with your setup. It is correct that J-Link Commander does not give an output, neither will RTT Client if you do not do any prontf output viar RTT. Do you run SystemView stand-alone or is there any other connection to J-Link, e.g. a debug session, open? Did you select the device in the SystemView configuration dialog? Does...

Wednesday, September 27th 2017, 4:21pm

Author: SEGGER - Johannes

How get value of a pointer in a variable in Ozone script

Hi, Yes, it is possible with this command: C/C++ Source code 1 var = Elf.GetExprValue("&variable"); Regards Johannes

Wednesday, July 12th 2017, 2:16pm

Author: SEGGER - Johannes

Ozone multi-step multiple elf load

Hi, To just load the second file without reset, you can use File.Load() instead of File.Open() and Debug.Download(). Best regards Johannes

Monday, July 10th 2017, 2:11pm

Author: SEGGER - Johannes

Installation of Ozone on new computer crashes when attempting to view FreeRTOS threads

Hi, The FreeRTOS plugin in general works, so we would need more information to analyze the problem. Are you using the 64-bit or 32-bit version? Which version of FreeRTOS do you use? Would it be possible to provide your application elf file? Do you use a standard eval board or custom hardware? Could you provide a Ozone log file of a crashed session? (start Ozone with --logfile=<PathToLogfile>) Best regards Johannes

Thursday, June 22nd 2017, 11:47am

Author: SEGGER - Johannes

SystemView and freeRTOS

Hi, Regarding the 0 timestamps: This can happen when the DWT unit is not enabled. On Cortex-M3/4 the timestamp is generated from the DWT->CYCCNT, so the cycle counter needs to be enabled and to do this the DWT needs to be enabled as well. This is usually done by the debugger, but can also be done by the application. if ((CoreDebug->DEMCR & CoreDebug_DEMCR_TRCENA_Msk) == 0) { CoreDebug->DEMCR |= 1 << CoreDebug_DEMCR_TRCENA_Pos; // Enable DWT in DEMCR if not done, yet. } DWT->CTRL |= 1 << DWT_CTRL...

Wednesday, June 21st 2017, 4:55pm

Author: SEGGER - Johannes

Guidance on adding / using custom events

Hi, Sorry for the delay in response. Filter on specific API events from the OS or other modules can now be set with SystemView PRO. Otherwise it is only possible to show all or no API functions at all. The module description looks correct so far. In addition to M=<ModuleName> you can optionally add V=<VersionNumber>, other parameters are not supported. With module name and version number it is possible to load a description file to not need to describe all functions in the module description (an...

Wednesday, June 21st 2017, 4:46pm

Author: SEGGER - Johannes

System View - J-Link Library not found

Hi, SystemView loads the most recent J-Link Software. If you have a restricted account and installed the J-Link Software with administrator credentials, it can happen, that the registry path to the J-Link software is not added to your users HKEY. The easiest solution is to copy the J-Link DLL into the SystemView installation directory. For more information, have a look at https://wiki.segger.com/Could_not_open_J-Link_shared_library Best regards Johannes

Wednesday, June 21st 2017, 4:41pm

Author: SEGGER - Johannes

Help with SystemView

Hi, Sorry for the late reply. Can you check that your target application is still running after you connected SystemView or called SEGGER_SYSVIEW_Start(). This issue is most commonly caused by a crash of the target application, for example because your stack sizes are too small. Best regards Johannes

Wednesday, June 21st 2017, 4:36pm

Author: SEGGER - Johannes

SystemView and variable CPU clock

Hi, Please excuse the delay in response. It is not possible to use SystemView with variable timestamp frequency, so you will need to provide a fixed frequency for the timestamp even when the CPU speed changes. In SEGGER_SYSVIEW_Conf.h SEGGER_SYSVIEW_GET_TIMESTAMP() is defined as simply returning the Cortex-M cycle counter. You can change this to call SEGGER_SYSVIEW_X_GetTimestamp() instead and implement this function in your application. You can for example use the SysTick timer as shown in SEGG...

Wednesday, June 21st 2017, 4:25pm

Author: SEGGER - Johannes

ISR Number meaning

Hi, Thanks for the positive feedback, please excuse the delay. The interrupt ID used by SystemView is for Cortex-M devices the interrupt vector index, as read from the ICSR. Refer to SEGGER_SYSVIEW_GET_INTERRUPT_ID in SEGGER_SYSVIEW_Conf.h The first 16 indices are the generic Cortex-M vectors, followed by the target-specific vectors. So it is correct that device-specific interrupt 3 is recorded as 19. If SEGGER_SYSVIEW_RecordEnterISR() is called from the application code no interrupt is active, ...

Wednesday, June 21st 2017, 3:59pm

Author: SEGGER - Johannes

SystemView and freeRTOS

Hi, Thanks for the positive feedback. You are right, in the SystemView FreeRTOS interface task information is only added or updated, but not removed. We will add this to the interface. find attached a preliminary version. Does this work for you? Regarding timestamps, the only reason why timestamps could be 0 is, when the timestamp configuration is not part of the recording. In the SystemView configuration make sure that SEGGER_SYSVIEW_SYNC_PERIOD_SHIFT fits with your SystemView buffer size. Try ...

Wednesday, June 21st 2017, 3:15pm

Author: SEGGER - Johannes

SystemViewer can't find RTT Control Block unless debug session is in progress

Hi, If you select just a generic core, such as Cortex-M3, J-Link will usually be able to connect to your device. But to auto-detect the RTT Control Block, J-Link needs to know where the RAM is located. Therefore you need to either select your specific device (recommended) or specify the control block address or search range. For flash programming the same applies, the J-Link needs to know which device it is connected to. And for some devices special handling is necessary. So overall it is always...

Monday, June 19th 2017, 6:26pm

Author: SEGGER - Johannes

V250 no longer works

Hello, Thank you for the report. You are right, SystemView V2.50 currently needs the J-Link library to check for SystemView PRO licenses on connected J-Links. Since it should not be required to have the J-Link software installed, we will add a check for library presence before the license check. So with the upcoming version you should be able to use SystemView again without the J-Link Software. Best regards Johannes

Thursday, April 27th 2017, 11:04am

Author: SEGGER - Johannes

Ozone Window Configuration [Linux]

Hi Maxime, Thanks for the feedback. Ozone should save window size and location and in general this does work. Which Linux do you use? Is ~/.config/SEGGER/Ozone.conf present on your system? Best regards Johannes