hello, i have opened LPC4357 controller example project from "C:\Keil\ARM\Boards\Keil\MCB4300\Blinky\". i cofigured it in simulator mode and when i enter into simulation mode my code is not going to main function instead it is pointing to 0x0 memory location where no code is written..even i configured IROM1 as 0x1A000000 with size 0x8000 (i.e onchip Flash memory)and RAM1 0x10000000 and size 0x8000 correctly but i am unable to execute the code..could any one of you please suggest me should i need to change any thing to run it from main function.please try to help me out from this its really very urgent for me
Thanks in advance
Best regards Cva
hello Per Westermark, thanks for the reply.as you said my controller chip supports boot modes with external pins but to change Program Counter should i need to change .init file? where can i get that .imit file for internal flash memory?
Thanks and Best regards Cva
The Keil debugger supports the use of an ini file.
Look at the project options, under the Debug tab.
For example how to use - look at any of the sample applications installed with the tools, that happens to have a RAM target. They make use of a ini file that specifically makes the processor jump to the start of RAM, since there is no code at the bottom of the flash where the processor would normally start, at the reset vector.
Note that only a few examples have configurations to support a RAM target, so you might have to browse around a bit.
i heared that the controller LPC4357 doesn't support simulation mode.to check the results for this controller we must and should have hardware how far is it true? after i added .ini file with specified PC also, my program ia not going to main routine instead is it pointing to 0x0 location.