Quality RTOS & Embedded Software

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


Invalid opcode 0xffff at address 0x003322

Posted by Pascal Jean on November 13, 2005
I use FreeRTOS to produce a robot (mavrix).
I use a ATMEGA128 and AVR Studio 4.12rc1
I created a small very simple demonstration to play of the music.
In the task which plays the music, the call with xTaskGetTickCount starts an error of AVRSTUDIO:
AVR Simulator: Invalid opcode 0xffff at address 0x003322
I suspect a overflow of pile (Richard put 112233 at the end of the stack) but even by increasing the size of that does not change anything. If you have an idea, I am interested... Thank you.

RE: Invalid opcode 0xffff at address 0x003322

Posted by Nobody/Anonymous on November 14, 2005
Very likely a stack overflow. Can you look in the stack when the error occurs? You should be able to do this from within AVRStudio when the probelm happens.

[ 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