i need to change the starting location of my pgm frm 00h to say,400h..i followed the steps as per mentioned in.... http://www.keil.com/support/docs/189.htm i can see the changed starting location in the memory map file...but when i try to implemnt it on hardware,i get no output probably bcos da execution begins at 00h only...pls help...
Again, how did you think that the processor - ie, the silicon chip - would know that?
Remember, you are writing for simple embedded microcontroller - you don't have an operating system to do this stuff for you!
8051 Basics: www.8052.com/.../120112 http://www.8052.com/tutorial
Books: http://www.keil.com/books/
"nw wat do i do so that the processor will jump to a the start of my code?"
Please try to take care to write complete words.
If you need to ask that question, then why are you messing about with changing the start address of your code anyhow??
Exactly:
why are you messing about with changing the start address of your code anyhow??
i'm trying to write a bootloader code...i've got some other application that starts from 00h...at power on,if i press 'space bar' thrice,i need the processor to jump to another location,ie 400h
Sounds like you need to do some basic study on bootloaders, then!
If you're trying to write a bootloader, you should understand that it's the bootloader that runs from the hardware reset vector, and it's the bootloader that manages the jump to the application - yes?
nop..this is like a software upgrade...during the power on,the normal application starts running at hardware reset vector,ie,00h...if i press the 'space bar' thrice,i need the code at boot vector address to execute...the boot vector address has the code for a software upgrade....
Wrong!
At power up, you need the Bootloader to start. It is the bootloader which decides whether to run the "normal" application or, on the 3 spaces, go into "software update" mode...