what is this?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

what is this?

1,308件の閲覧回数
roberto_m
Contributor III

What is the procedure that was called before main? (see the attached image)

Thank you.

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,070件の閲覧回数
roberto_m
Contributor III

any ideas?

0 件の賞賛
返信

1,070件の閲覧回数
J2MEJediMaster
Specialist I

It is probably the startup code that executes prior to invoking main() and establishes the C run-time environment.

 

---Tom

0 件の賞賛
返信

1,070件の閲覧回数
roberto_m
Contributor III

Hi,

thank you. But why this startup code have always a different address?

Roberto

0 件の賞賛
返信

1,070件の閲覧回数
bigmac
Specialist III

Hello Roberto,

 

If you examine the map file for the project, this will indicate where the startup code is located.  If using a standart .PRM file, this will normally be near the start of the ROM segment.

 

The following process works with earlier versions of CW, but I am not sure about later versions.  Whilst in debug mode, reset the MCU.  The PC should then point to the beginning of the startup code.  Single stepping of the startup code can then take place.

 

Regards,

Mac

 

0 件の賞賛
返信