Quality RTOS & Embedded Software

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


Loading

Application does not enter the main

Posted by vishav26 on January 18, 2018

Hi,

I am new to FreeRTOS and I created a Zynq application to send data to UDP socket. However, I observed that my application does not enter the main function (when I add a breakpoint at FreeRTOSIPInit(),the application does not stop at debug mode). Am I missing some configurations? I checked configASSERT() and it is defined as define configASSERT( ( x ) ) if( ( x ) == 0 ) vAssertCalled( FILE, LINE )

I am attaching my project files. Your feedback would be highly helpful. Thanks in advance


Application does not enter the main

Posted by richard_damon on January 18, 2018

My first though is that not getting to main at all indicates that either you are writting in C++, and some global constructor is hanging, or something is very fundamentally wrong with your setup and the run-time init code is crashing.

The first test is when the system doesn't get to main, stop the execution and see where the code is hung up and looking at the stack trace figure see if you can figure out what is wrong.

Attachments

UDP_SendData.zip (6092590 bytes)


[ 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.1 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.


Careers

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

Renesas

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