Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


AVR128n 256n Port

Posted by DaveH on March 28, 2007
FYI - I just ported FreeRTOS to the ATMega2561. I had previously ported it to the ATMega128 and figured this port would be simple. What I didn't realize is that these newer processors push 3 bytes onto the stack for a Call subroutine. That means that pxPortInitialiseStack() in port.c has to be modified to put an extra byte on the stack for each task. This took a bit of debugging since I hadn't read the entire 449 page manual.


RE: AVR128n 256n Port

Posted by Nobody/Anonymous on April 12, 2007
Have you already modified the code? I´m having problems with my ATMEGA162, vTaskDelay and vTaskDelayUntil don´t work, the processor hangs itself. I think I have the same problem.

RE: AVR128n 256n Port

Posted by embeddedc on April 12, 2007
See https://sourceforge.net/forum/message.php?msg_id=4256666 for a reply to your other post.

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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner