Quality RTOS & Embedded Software

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




Loading

Sam7x256+olimex debugger+eclipse+gcc

Posted by Yiğit Karabulut on July 21, 2010
Hi

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
load
continue

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

Please help
Thanks

RE: Sam7x256+olimex debugger+eclipse+gcc

Posted by Yiğit Karabulut on July 21, 2010
Sorry.
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)

Thanks


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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