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 FreeRTOS Labs Training




Last site update Oct 5 2014

Loading

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
Ken,

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'.

Regards,
John

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
Hi,

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-2013 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.