Quality RTOS & Embedded Software

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




Loading

FreeRTOS and -DUSE_AMP=1

Posted by razed11 on September 30, 2015

After quite a bit of debugging I found that FreeRTOS does not run with -DUSE_AMP. Our application requires this because we are running asymmetrically with Linux on the other CPU.

When this is set the RTOS tick is not called and delay functions do not work.


FreeRTOS and -DUSE_AMP=1

Posted by rtel on September 30, 2015

The demo applications in the FreeRTOS download are configured to use a single core. I beleive Xilinx provide AMP examples.


FreeRTOS and -DUSE_AMP=1

Posted by razed11 on September 30, 2015

This is using a single core. Linux uses Core 0 and we use Core 1.

How is Xilinx going to help solve this issue?


FreeRTOS and -DUSE_AMP=1

Posted by rtel on September 30, 2015

I'm afraid I don't understand what the problem is. The FreeRTOS code installs the tick handler, and its own vector table - I don't know how building it with -DUSE_AMP would effect how it works as there is nothing in the FreeRTOS code that uses that macro.


FreeRTOS and -DUSE_AMP=1

Posted by razed11 on September 30, 2015

I understand. I'm puzzled by this too. Would you mind taking a look? Just add -DUSE_AMP=1 in the extra compiler options for the core in the BSP .mss file with the simple example that uses two tasks using a queue. The "delay until" will not return and therefore does not post to the queue and nothing happens.


FreeRTOS and -DUSE_AMP=1

Posted by wonger on November 30, 2015

I'm running FreeRTOS with USE_AMP=1 and Linux on CPU0. I had to make some mods to the BSP generated with the Xilinx SDK though. This blog post and the person behind it helped me above all else, more so than official Xilinx documentation and support: http://henryomd.blogspot.com/2015/02/zynq-amp-linux-on-cpu0-and-bare-metal.html

It's not FreeRTOS specific, but it's about getting an AMP configuration running on the Zynq and everything still applies whether you're running FreeRTOS or a bare-metal application. After reading this blog post, everything in Xilinx's AMP related documents (UG978, XAPP1078 and XAPP1079) started making sense. After going through all that, I can provide more details if you still need it.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 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:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


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

Silicon Labs low power RTOS 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