Hi I'm just wondering why my project can not be started anymore. I just added some files on CPP sources to a pure C project.
Now I made some interface functions so the C code is able to call some of the CPP functions. But as I now load the project in the debugger it says constantly processor in reset or a reset occured on the target system. See pics.
The Reset vector is in both working and not working program mapped to the same address... 00200031 ResetISR
Additionally the Loader of the Debugger posts this message:
why is there suddenly some code which is mapped to an uncorrect memory section?
I just found out that the program starts to work uncorrectly on file boot.asm line 211
;*------------------------------------------------------
;* Perform all the required initializations when
;* _system_pre_init() returns non-zero:
;* - Process BINIT Table
;* - Perform C auto initialization
;* - Call global constructors
;*------------------------------------------------------
BL PRE_INIT_RTN
CMP R0, #0
BEQ bypass_auto_init
BL AUTO_INIT_RTN
bypass_auto_init:
This line is BL AUTO_INIT_RTN seems to be that the constuructor of a global class instance is called there, but it is mapped maybe to a not working area...
It does not return on the new code from that line, in the old code it just goes on to bypass_auto_init (label)


