Yahoo Groups archive

Lpc2000

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

Message

Re: Flash problem

2005-02-09 by mobilsiten

--- In lpc2000@yahoogroups.com, "Leighton Rowe" <leightonsrowe@y...> 
wrote:
> 
> > 	//Write
> > 	command[0] = 51;			// Command
> > 	command[1] = 0x0000E000; 	// Start adress
> > 	command[2] = source;		// Data
> > 	command[3] = 512;          // Size of data 512 | 1024 | 4096 
> | 8192	  	
> > 	command[4] = 60000;  		// System clock frekquency 
> in (CCLK) KHz
> 
> It looks like everything but the write command is ok. Just for 
> clarity, what you're using for the variable "source"?

source is a pointer to a char array with the data i want to write to 
the flash in this case the famous "Hello world" :-)

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.