It has been already two months after the Feb 2016 release, and so much things are going on, so a new release was overdue. Today I have released a new version of the McuOnEclipse components on SourceForge with the following main changes and features:
- Kinetis SDK v2 with Processor Expert: Now many components can be used even with the Kinetis SDK v2.0 even with the Kinetis SDK not having Processor Expert included.
- Updated Segger SystemViewer to v2.32a with post-mortem and static buffer support
- Updated Segger RTT to v5.10u and fixed an issue with interrupts on Cortex-M4
- FreeRTOS Thread Awareness with OpenOCD
See readme on SourceForge for the full history.
The Segger SystemViewer has been updated to version v3.32a. The interface exposes now the printf() function:
Previously the RTT was using the FreeRTOS critical section calls if FreeRTOS was used. This could cause issues if Segger RTT calls were used from an interrupt context. Now it is using its own critical section handling and masks interrupts up configMAX_SYSCALL_INTERRUPT_PRIORITY.
If FreeRTOS is used, then the Segger RTT ‘max blocked interrupt level’ setting is ignored and the RTOS blocked interrupt level is used instead.
The SystemViewer has been updated to v2.32a which includes static buffer and post mortem tracing (see https://www.segger.com/systemview.html).
With Post Mortem it is possible to attach to a crashed system and find out what it was doing as last thing.
With static buffers the amount of stack space needed is reduced, and it is using a global memory buffer instead.
FreeRTOS and Thread Debugging in Eclipse
The RTOS has been patched to allow thread aware debugging in Eclipse and to show the tasks in the Eclipse debug view:
This deserves its own article, so hopefully I can post the tutorial on that one soon.
Kinetis SDK v2 Support
As the NXP Kinetis SDK does not include any Processor Expert support, I was looking into ways how to continue to use the McuOnEclipse components with the Kinetis SDK v2.x.
For this, many of the components have now a reference to the Kinetis SDK component:
With using newer components, you might be asked to add the Kinetis SDK component to your project and specify that in the component settings. That change is backwards compatible, so you can open ‘newer’ projects with ‘older’ versions of the components. But using the new components might mean that you need to update your project component settings.
Inside the Kinetis SDK component there is now a setting to specify the SDK to be used for the project:
With this, it is now possible for some components to create code for the Kinetis SDK v2.x:
For example I can now use the LED component and others with the Kinetis SDK 🙂
The functionality is still ‘experimental’, so I will continue to work on that support. And this feature alone probably deserves an article on its own :-).
This release comes with a set of bug fixes and new features, and can be installed over an existing component installation. With the added support for the Kinetis SDK v2.0 existing projects needs to update the settings which should be be very easy. I plan to write follow-up articles about the FreeRTOS thread debugging in Eclipse plus how to use the new concept and components with the Kinetis SDK v2.0.
Happy Updating 🙂
- SourceForge site: https://sourceforge.net/projects/mcuoneclipse/
- Installing the components: https://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/
- Segger SystemViewer: https://www.segger.com/systemview.html