How does ur programmed mc work as a stand alone system when not connected to the PC?

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

How does ur programmed mc work as a stand alone system when not connected to the PC?

3,753件の閲覧回数
vivek
Contributor II
Dear all,
 
I am a newbie to microcontrollers. So pardon me for being so dumb?
 
I hav successfully programmed the flash(MC68HC908MR32), degugged my code, step ran my code.... Its absolutely perfect.  
 
But I jus dont hav any idea on how my program will run when my microcontroller is  not connecting (communicating) to the pc.
 
How does it work as a stand alone real time system?
 
Its a very embarrasing situation where without even knowing on how my scheme would to work , I hav almost completed programming and debugging.
 
Waiting for a reply
 
Thanks and Regards
 
ViVek
 
 
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,033件の閲覧回数
peg
Senior Contributor IV
Hi Vivek,
Once you disconnect the MON08 adapter from your target board the microcontroller should no longer see the conditions necessary for monitor mode entry at power up. Most notably the high voltage on the IRQ pin! Now when you power up the micro it will be in user mode and start running from the address in the reset vector. Indeed if you have been doing a full chip simulation or an in-circuit-simulation while connected to the device it has almost been doing this already.
 
BR,
Peg
 
0 件の賞賛
返信

1,033件の閲覧回数
alex_spotw
Contributor III
Hi:

Once you have programmed the Flash, you microcontroller can run the program without being connected to the PC. You should not have any problem disconnecting the PC from yout target board, and letting it run to see.

Let us know1

Regards,

Alex
0 件の賞賛
返信