Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

LPC2294 GNUARM load script

2005-04-28 by deunhido

I've got an Olimex LPC-H2294 and I can't get anything to run. I've
tried a number of "blinking led" projects and nothing works. I've
tried to modify LPC21xx load scripts for the 256K flash and 16K ram
and changed assembly and C files toflip the 0x40000000 GPIO port and
it still won't blink!

Is there something wrong with the link script below? I usually get a
"File compare failed" when I do a Compare Flash against the same file
I just uploaded. This doesn't happen with the Olimex file, though.

Thanks,
Brian

SECTIONS
{
	.text 0x0 : {			/* Real text segment */
		_text = .;		/* Text and read-only data */
		*(.text)
		. = ALIGN(4);
		_etext = .;		/* End of text section */
	}

	.data 0x40000000 : {
		__data_start = .;
		*(.data)
		. = ALIGN(4);
		_edata = .;
	}

	.bss : {
		__bss_start = .;	/* BSS */
		*(.bss)
		. = ALIGN(4);
		_end = .;
	}

	.stack 0x40004000 : {
		__stack = .;		/* STACK */
	}
}

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.