Topic : st7 reset vector

Forum : ST7/STM8

Original Post
Post Information Post
June 24, 2014 - 12:15am
Guest

hi,
I have a problem for portability from cosmic to Raisonance regarding the interrupt vectors. I do not know how to initialize the reset vector.
The compiler compiles the file correctly but starting the debug an error message appears on the pointer reset.
I enclose the code for the interrupt vectors:

# Include

Replies
Post Information Post
+1
0
-1
June 24, 2014 - 9:09am
Raisonance Support Team

Hello,
Could you, please, send the error code?
Thank you.

Best regards,

+1
0
-1
June 24, 2014 - 1:50pm
Guest

Hello,
The error message is: "unable to read the reset vector", in fact when debugging the start address is 0 instead of 1000.
The problem for me is that the reset vector is not initialized but do not know the syntax to do this, and the documentation I have not found anything.
thanks

+1
0
-1
June 25, 2014 - 9:19am
Raisonance Support Team

Hello,
Did you read the application note regarding porting cosmic to Raisonance (page 17)?
You can find this documentation at http://support-raisonance.com/extranet/tools/index.php?param=tool__id__11

Best regards,

+1
0
-1
June 25, 2014 - 11:17am
Guest

hello,
I solved the problem: the compiler was configured for another family of microcontrollers (STM8) and I use the ST7 family.
I wanted to ask another question: when compiling code shows a warning C165 relative to an array of 200 bytes which I have assigned to the address 200
(at 0x200 Datatemp unsigned char [200];).
If I remove "at 0x200," appears in the error message
ADDRESS SPACE OVERFLOW
  _ ERROR107: ADDRESS SPACE OVERFLOW
  -SEGMENT:? ED0? MAIN (MAIN)
thanks