Quality RTOS & Embedded Software

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


FreeRTOS_Plus_TCP_and_FAT_Zynq_SDK data abort in release mode.

Posted by wzengerle on June 19, 2018

Hi Again. I'm using a MicroZed board, I have my own HW and BSP projects - I've got the FTP server from the FreeRTOSPlusTCPandFATZynqSDK up and going in debug mode. The issue I'm having seems to be from the FAT subsytem if I try and change it over to release mode. It's OK as long as I only use the ram disk, but if I have an SDCard inserted, soon after I start the program (using the debugger) it traps to a data abort from inside FFMount(); I think it's from the memcpy after the /* FAT32 */ comment, but it could be in one of the preceding lines (some time after 1422, since I'm in release mode, it has clearly been reordered somewhat). The SD card is in fact formatted fat32, and it's a single 8GB partition. It works in debug mode, I've transferred files to and from. Release mode optimization -O2 with -g for debug info. I even tried defining SIMPLEMEMCPY 1 to no advantage (which makes me think it is either not the memcpy or that memcpy isn't actually being linked). The data abort status register is 0x00000001 (data alignment) but the data abort status register is 0 so not too much help there. [ I've had a lot of issues with gcc and cortex-a9 embedded and alignment data faults ]

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

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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo & Nuvoton Cortex-M23 demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

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

Cadence Tensilica Cortes

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