 | Discussion Forum |  |
|
|
ST10 and monitor in ROMNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Ulf Sass Posted 7-Feb-2003 11:57 GMT Toolset C166 |  ST10 and monitor in ROM Ulf Sass 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
| | Read-Only Author Ulf Sass Posted 7-Feb-2003 14:17 GMT Toolset C166 |  RE: ST10 and monitor in ROM Ulf Sass Found my mistake: In Options for Target of the application I had to DESELECT "Use on chip ROM". But why???
Ulf | | Read-Only Author Mike Kleshov Posted 7-Feb-2003 14:47 GMT Toolset C166 |  RE: ST10 and monitor in ROM Mike Kleshov But why???
Build your application with 'Use On-Chip ROM' selected and deselected. Compare genereted MAP files. Whatever is different might be the reason.
- Mike | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|