This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ST10 and monitor in ROM

I'm trying to get the monitor work with a ST10F168 board:
256kB internal Flash 0h..7FFFh,18000..4FFFFh
256kB RAM, CS1, Adresslines (A0)A1..A17
It works fine with the monitor in RAM but not with monitor in ROM.
Monitor configuration:
DATA_START 0BA600h (at the end of RAM)
CODE_START 0h (start of ROM)
VECTAB 80000h (start of RAM)

ADDRESS1 80000h
RANGE1 256K (80000h..BFFFFh)

With the STF10 FLASHER I got the monitor into the ROM.
Then I created a small application (Hello world) with:
Options for Target
ROM Start 80000h Size 20000h
RAM Start A0000h Size 20000h
Reserve: 08H-0BH,0ACH-0AFH,0xBA600-0xBFFFF
VECTAB 80000h

The application programm was loading into the RAM, but after RUN it crashes.
What could be wrong? Especially I don't understand what really happens if the monitor is in ROM (VECTAB?). The manual is'n very clear to me.
Is the Start167.a66 used?

In the discussiun forum I found an article of Daniel Vetter about monitor in ROM,
but there was only external RAM and FlashROM.

Thanks for all hints and have a nice weekend!

Ulf