freeRTOS code running on IMX6UL-EVK

atmaprakash1104 wrote on Wednesday, May 11, 2016:

Hi
I am new on the freeRTOS.I want to build freeRTOS source code for the im6ul(NXP) application processor.I am using NXP’s imx6ul-evk board for my development.I build CORTEX_A9_RZ_R7S72100_IAR_DS-5 demo code on IAR but debug controller is not comming on the main() function call.So plz tell me how can i build this code for imx6ul application processor.

Thanks in Advance
Atma

rtel wrote on Wednesday, May 11, 2016:

You are attempting to run code that targets a Renesas processor on an
NXP processor. While the ARM Cortex-A core might be the same between
the two processors, the peripherals, clocks, etc. will not be, and
therefore the start up code, initialisation code, etc. written for the
Renesas processor are not going to work on the NXP processor.

The first thing to do is create a simple hello world application for
your NXP processor and check that can be built, downloaded and executed
on the NXP processor before adding in any FreeRTOS code. Do you have
such a simple non-FreeRTOS project running yet?

atmaprakash1104 wrote on Thursday, May 12, 2016:

Hi,
Thank you very much for your instant reply.
I have printed hello world without usnig freeRTOS on imx6ul-evk board.But my question is how can i use freeRTOS codes for my processor.Please tell for my processor which freeRTOS demo code will be use.
Thanks
Atma

rtel wrote on Thursday, May 12, 2016:

The following links might help:

http://www.freertos.org/Creating-a-new-FreeRTOS-project.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html

Then, depending if the Cortex-A7 uses an ARM GIC or a proprietary
interrupt controller:

http://www.freertos.org/Using-FreeRTOS-on-Cortex-A-Embedded-Processors.html
http://www.freertos.org/Using-FreeRTOS-on-Cortex-A-proprietary-interrupt-controller.html

The port layer files you will need will be in
/FreeRTOS/Source/portable/[compiler]/ARM_CA9

Regards.

atmaprakash1104 wrote on Wednesday, May 18, 2016:

Hi
Thank you so much
i have tried all possibility what you told

i created new project according to http://www.freertos.org/Creating-a-new-FreeRTOS-project.html but unable to print a hello world.
I am attaching you my project (Tool used IAR Embedded Workspace 7.60) so please tell me where i am doing mistake.
i am using http://www.pezzino.ch/freertos-hello-world/ link to create the project but facing so many errors.

Thanks
Atma

davedoors wrote on Wednesday, May 18, 2016:

Do you have hello world working without the RTOS?