SAM7EX256 from Olimex run from flash ok, run from ram not ok

Hi all,

I’m new in playing with these toys so i post a question about this board.

After installing eclipse, ocd, and all other plug-ins that came with olimex cd, I’ve tried to run the application which makes a virtual com through usb port. I have compiled for flash (RUN_MODE=ROM_RUN), launch ocd (ARM-USB-OCD jtag) start debugging, everything is ok. So, for flash version I’m able to debug it , with 2 breakpoints only but it works.

Now I’m compiling for ram (RUN_MODE=RAM_RUN) and I follow the same steps. When I’m trying to debug it freezes at 31% or 36%. I must restart the board to try again.

Commands for init:

########################

target remote localhost:3333

monitor soft_reset_halt

monitor arm7_9 force_hw_bkpts enable

symbol-file main.out

thbreak main

continue

########################

Any help is welcome.

Thanks.

Nobody faced this problem?

When I launch debug process console displays the following:

source .gdbinit

target remote localhost:3333

0x001005d0 in ?? ()

monitor soft_reset_halt

symbol-file main.out

thbreak main

Hardware assisted breakpoint 1 at 0x200534: file main.c, line 62.

continue

and hangs here.