Yahoo Groups archive

Lpc2000

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

Message

Flash access & bootloader question ?

2004-07-01 by Lasse Madsen

Just two quick questions.

The LPC2106 doesnt have an eeprom onboard, is it possible to access the
flash in regular operation or is it only when
the bootloader is enabled that this is possible (for instance)

flash unsigned char storage[50];
unsigned char some_stuff;

void main (void)
{
	while (1)
	{
	some_stuff = do_stuff();

		if ( some_stuff )
		{
		storage[0] = 1;
		some_stuff = 0;
		}
		else
		{
		storage[0] = 0;
		some_stuff = 0;
		}
	}
}

???

The Bootloader uses UART without the modem interface, can i connect this
uart to a Cygnal CP2101 seriel to USB converter
(this device only has a 512 byte buffer as far as i remember so what i dont
know is if the bootloader waits for some
character and then resumes operation like XON/XOFF sw flow control or if it
just bursts all the data out ?)

Best regards
Lasse Madsen

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.