Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


FreeRTOS runs LPC2388 but not LPC2368

Posted by Ken Mosher on July 15, 2009
Hope someone can help? We have a small project running with FreeRTOS 5.4.0 and the GNU Toolchain for ARM (GCC). The project is just a skeleton right now which provides a serial console, some CAN stuff, some LCD output, etc. We are using two MCB2300 Kiel boards ... one with a 2388 and the other with a 2368. The 2388 board runs fine. The same code crashes immediately on the 2368 board (exactly the same .hex file) as soon as it tries to call xQueueCreate (or XTaskCreate if we comment out the queuecreate) in the main.c after startup/initialization successfully. The two processors ought to be basically identical! Any clues from the gurus? THANKS!

RE: FreeRTOS runs LPC2388 but not LPC2368

Posted by John W. on July 15, 2009

The 2388 has about 40KB or so more of RAM than the 2368 - check the return value of xQueueCreate and spin when it fails.

You may have to reduce your heap allocation, min. stack size, and possibly queue sizes to get it to 'fit'.


RE: FreeRTOS runs LPC2388 but not LPC2368

Posted by Ken Mosher on July 16, 2009
Thanks for the response!

I'll look through that ... my underlying assumption was that the 2388/68 were basically identical except for the pin package and the fact that the 2388 support OTG USB. We'll comb over the specs again and adjust some stuff and see what happens. THANKS!

RE: FreeRTOS runs LPC2388 but not LPC2368

Posted by Giuseppe Albano on September 22, 2009

I don't know what the problem is. But I'm trying to get freeRTOS running on my LPC2388. I also use GCC ARM but can't get the code to compile. Could you send me startup.s compile_batch file and the link file to giuseppe@layers.be. Just to get freeRTOS running.

Thank you in advance.

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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


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

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

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner