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


Sam7x256+olimex debugger+eclipse+gcc

Posted by Yiğit Karabulut on July 21, 2010

I try to start demo but after the vTaskStartScheduler function, i get data abort in debug mode, i didn't change anything in demo project,
i use James P. Lynch tutorial, yagarto and zylin cdt,
my debug gdb commands;

monitor soft_reset_halt
monitor arm core_state arm
monitor gdb_breakpoint_override hard
monitor mww 0xffffff60 0x00320100
monitor mww 0xfffffd44 0xa0008000
monitor mww 0xfffffc20 0xa0000601
monitor sleep 100
monitor mww 0xfffffd08 0xa5000401
monitor mww 0xfffffc2c 0x00480a0e
monitor sleep 200
monitor mww 0xfffffc30 0x7
monitor sleep 100
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed
set remote memory-read-packet-size 1024
set remote memory-read-packet-size fixed
monitor mww 0xfffffd00 0xa5000004
monitor mww 0xffffff00 0x01
monitor reg pc 0x00000000

also i try GDB hardware debugging but in freertos site three is no instruction about debug configuration.

Please help

RE: Sam7x256+olimex debugger+eclipse+gcc

Posted by Yiğit Karabulut on July 21, 2010
I forget to tell. Before sam7 get in vTaskStartScheduler , it's in supervisor mode .
Also i figure something, Data abort came after it just exited in portRestore_Context(),;

memory read caused data abort (address: 0x11111111, size: 0x1, count: 0x3)

when it get in prvHighestPriorityPeekTask(), it's in system mode
After some couple of tests, now I'm get same data abort all time;

memory read caused data abort (address: 0x060605fe, size: 0x1, count: 0x2)


[ 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