LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I have the OM13098 development board and would like to run the FreeRTOS. Attached is my FreeRTOSConfig.h file. A few architecture parameters do not seem to be defined anywhere (SRAMsegmentstart[],…). I am using the simple “lpcxpresso54628lwiptcpecho_bm” in MCUXpresso v10.3.1. It works fine when the RTOS is disabled, but fails to run using the RTOS. Any help would be appreciated…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

Here is how I defined the missing architecture parameters: SRAM/FLASH segment start/end arrays priviledged data statr/end and function end

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

Sorry – I’m not sure ow the SRAMsegementstart[] variable relates to FreeRTOS. Are you using a memory protected port which needs to know where the privileged and unprivileged data must be put? Does not look so from the name. Also I don’t know what “fails” – linking, booting, soak test, or something else?

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I chose the simplest heap(1)… and a Cortex M GCC port since I couldn’t find an NXP specific port… I’m using NXP’s MCUXpresso IDE which uses that compiler.. I set up for dynamic allocation… but I’m open to idea’s…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

sorry for the multiple posts..

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

Defining these attributes allows the system to compile… but the system locks up when creating a task never gets to starting the scheduler…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

Where are those attributes used in the code? They are not something we have in our versions of the code. Can you step into the function that creates a task to see where it locks up. For example, do you have configASSERT() defined (recommended) and if so you may just be sat in a failed assert.

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

I don’t need protected memory… but using it would be great… I don’t get an assertion? stepping into task creation just hangs? I assume it’s either the wrong port.. Or bad memory assignment…

LPC54628 – How do you setup FreeRTOS for the OM13098 dev board?

What does ‘just hangs’ mean? What is the processor actually doing? Which port files did you use?