Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

FreeRTOS and Kinetis KL46 (KDS)

Posted by williamjsell on June 25, 2015

Well despite all my best efforts, I am now convinced that the port of FreeRTOS with ProcessorExpert is not correct. I could go into the gruesome details of what I am seeing, but I would rather just poll the community and ask if anyone has had better success with using FreeRTOS with KDS? I have tons of experience with FreeRTOS and I know the kernel is fine, it is widely deployed. I also think I know what I am doing with implementing a FreeRTOS-base program. But when a task variable is getting corrupted by merely the action of passing it via a queue, and I have the task stack depth to 2K with hardly any deep calls, something ain't right. The tasks I have do not do anything, but receive this message and pass it along. I am actually at a lost to the cause, but all ideas welcome....


FreeRTOS and Kinetis KL46 (KDS)

Posted by rtel on June 25, 2015

Erich, who knows most about the processor expert, is at the Freescale Technology Forum this week, so I'm going to have to start with some more basic questions:

Which version of FreeRTOS is it using (the comments at the top of each FreeRTOS source file will tell you that)?

Does the FreeRTOSConfig.h file you are using have configASSERT() defined?

The reason for asking these questions first is the number of configurations errors configASSERT() will catch depends on the FreeRTOS version.

Regards.


FreeRTOS and Kinetis KL46 (KDS)

Posted by williamjsell on June 25, 2015

Sorry I have been very frustrated with this dev env. that I forgot my normal details: FreeRTOS Version : 8.0.1 configAssert has been defined heap size set to 16384 total number of task allowed : 8 total defined 3 with configMINIMALSTACKSIZE at 128 total queues defined 2 with depth of about 5 small elements memory allocation scheme is heap_1.c running KDS 3.0.0 on Win7 using tickless idle mode as we are sleeping the processor until it is woken up with an accelerometer generated interrupt. there are a few FreeRTOS timers in use and one mutex.


FreeRTOS and Kinetis KL46 (KDS)

Posted by xz8987f on June 25, 2015

Hi William, I see that you have posted the same question to the Freescale Forum. I will follow-up there, as I believe you might not have set the interrupt priorities correctly or there might be an undetected stack overflow.

Erich


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists