View Single Post
  #3   Spotlight this post!  
Unread 20-02-2008, 15:52
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Power Up Code Error / System Crash

Quote:
There's a ton of extra initialization on a cold boot.
Could you be more specific? On a cold reboot (power up) and upon a reset, the processor vectors through 0x0000 - the reset vector - and then does:

Code:
_entry    -> jumps to  _startup
_startup -> sets up stack/frame pointers
                 calls clear ram memory routine to zero in all ram banks (except for F00-F5F)
                 calls _do_cinit which initalizes all ram locations to user declared defaults
                 calls main
main
:
.

}
It should be the same for a cold boot vs reset as it executes the same code?

Last edited by dcbrown : 20-02-2008 at 15:54.