Can anyone say me please . Why when i add C file to project created im MDK lite ARM micro vision .LPC2378 NXP Phillips board, code starting run from c file. Code ignore LPC2300.s bootloader file and start from not relevant place - c source file. If it is a bug or i need change something in setting?? Thanks
If I start run code as it wrote in original boot loader file LPC2300.s code start not from Vectors. So I wrote directive ENTRY just after AREA RESET, CODE, READONLY ARM ENTRY and before
Vectors LDR PC, Reset_Addr LDR PC, Undef_Addr
And code now start correctly. But after I Add some c file to project .compile result - No errors Start debug and code start from 0x0 of c file not boot loader. precisely from __main: 0x00000000 EB000000 BL __scatterload(0x00000008) 0x00000004 EB000024 BL __rt_entry(0x0000009C) Obviously map file is changed. My question what I need to change in setting for start from proper place - boot loader file ?? Thanks