cancel
Showing results for 
Search instead for 
Did you mean: 

GCC Vectors in RAM

Posted on December 03, 2006 at 18:57

GCC Vectors in RAM

3 REPLIES 3
Posted on December 01, 2006 at 05:26

Hi,

first of all I'm a newbie so be patient with me. My problem is the following:

I'm using a STR710-EVAL board and I'm trying to port the Freertos to it. I have loaded my program in ram 0x20000000 and I have remapped the memory to Ram. whenever I get a SWI the next I see in my GDB is that the pc = 0x08 and everything crashes. I recognize that this is the address of my Exception handler for SWI but the address should be 0x200000018 where the code is located??????

What is happenning.

peterwrigley9
Associate II
Posted on December 01, 2006 at 10:37

Hi gea,

Program a simple jump table to RAM at address 0. Program this into Flash. When your interrupts fire, they will be redirected to your code in RAM.

sjo
Associate II
Posted on December 03, 2006 at 18:57

This is based on an older version (v3.20) - not got round to updating yet (busy with str9). But is quite simple todo.

It uses the Anglia IDEaliST toolchain (gcc based).

Regards

sjo

________________

Attachments :

FreeRTOS.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtEn&d=%2Fa%2F0X0000000aKd%2FTsNxxtZj68SJcuO21yGHUWRdCNyLc_bdlJEEXtchroU&asPdf=false