Quality RTOS & Embedded Software
About   Contact   Support   FAQ

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

Last site update June 02 2015

Embedded TCP/IP stack for RTOS advert


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2015 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 - New Book Edition!

Receive a complimentary pre-release pdf of our up-coming book "Mastering the FreeRTOS Real Time Kernel, a Hands-On Tutorial Guide" with every purchased copy of the existing "Using the FreeRTOS Real Time Kernel" book.

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

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