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


Can not run FreeRTOS demo using DS-5 RTSM

Posted by Shibu kumar on September 10, 2013
I am new to FreeRTOS and trying to run the demo CORTEX_A9_RZ_R7S72100_IAR_DS-5 using DS-5 compiler and RTSM simulator (for Cortext A9). The code compiles properly and on trying to run, it reaches the initialization of interrupt vector table (in file vector_table.s). However, on trying to step through the code, it gives the following error.
! Stepping failed
! Failed to read 4 bytes from address S:0x20031958
! Memory read from model failed.

A screen shot is given below.

It seems that the loading has not been done to the correct address. The memory address 0x20031958 seems to be acquired from the file Debug/FreeRTOS_Demo.map, but it is generated by the compiler.

Any idea how I can get around this error and run the demo?

Thanks in advance,

Shibu kumar K B

RE: Can not run FreeRTOS demo using DS-5 RTSM

Posted by Richard on September 10, 2013
It doesn't sound like your problem is actually FreeRTOS related, but compile/link related. At the point in the code you get the issue the kernel is not actually running.

I would be very interested in getting a project running in RTSM because it will allow people to try the RZ port without needing any special hardware. The demo in the FreeRTOS download at the moment is configured to run on hardware that is not available to the general community.

Can you create a new "hello world" style project (without FreeRTOS) that runs in RTSM? Once that is running then the FreeRTOS files can be added in.


[ 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