Content originally posted in LPCWare by R2D2 on Fri Nov 01 12:05:43 MST 2013
So which file did you flash? pegoda3_fw.hex?
Your linker script is starting where?
Quote:
MEMORY
{
rom (rx) : ORIGIN = 0x00005000, LENGTH = 512K
ram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K
ram1(rwx) : ORIGIN = 0x2007C000, LENGTH = 16k
ram2(rwx) : ORIGIN = 0x20080000, LENGTH = 16k
}
That's obviously wrong. Flash is starting at ORIGIN = 0x00000000.
This is no LPCXpresso project, so I'm not sure what you are doing. (Would suggest to create a new LPCXpresso project and add required files there).
Anyway, if you flash this file the required vector table (starting at address 0) is empty and debugging will fail because LPC1768 will start in ISP mode without it....