Target is not running if I remove Debugger

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

Target is not running if I remove Debugger

ソリューションへジャンプ
1,477件の閲覧回数
AloysiusJegan
Contributor III

Hi,

 

I am using custom designed board with MCF52254. I'd downloaded a sample code to blink a LED in that board. As long as the debugger is available, I am getting the output. Once I remove the debugger from the board, application is not working.

 

Can anyone pls tell me, What might be the problem? Either Software configuration or anything do I need to change in hardware?

 

Thanks.

 

-AJ

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
705件の閲覧回数
AloysiusJegan
Contributor III

Hi CrasyCat,

 

Thanks for your info. It was very useful and the actual problem was some pull-ups were not given to the controller.

 

 

- Aloysius Jegan

http://www.aloysiusjegan.in

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
705件の閲覧回数
CrasyCat
Specialist III

Hello

 

Couple of questions here.

 

When you change from the debug to the stand alone version of your project did you pay attention to the following;

 

- Did you initialize the vector table and provide a correct reset vector at address 0x0000?

  The processor will retrieve the application start address and stack pointer after reset from address 0x00 and 0x04.

- Did you add code to initialize configuration registers in your application? While in debug  mode configuration registers are initialized in the .cfg file you have specified. You may need to set up the registers in your application for a proper setup.

- Do you have global variable declared with an initialization value in your application?

 

Generally speaking if you want to run a stand alone version of your application I would recommend you to use the INTERNAL_FLASH build target from your project to build the executable.

 

This build target takes care of the 3 item enumerated above.

 

 

 

CrasyCat

0 件の賞賛
返信
706件の閲覧回数
AloysiusJegan
Contributor III

Hi CrasyCat,

 

Thanks for your info. It was very useful and the actual problem was some pull-ups were not given to the controller.

 

 

- Aloysius Jegan

http://www.aloysiusjegan.in

0 件の賞賛
返信