--- In , "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" :-) |
Re: Flash problem
Started by ●February 8, 2005
Reply by ●February 9, 20052005-02-09
Reply by ●February 10, 20052005-02-10
Ah, finally its solved. Thanks for all the help! --- In , "mobilsiten" <petertholander@h...> wrote: > > --- In , "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" :-) |