Reply by Ico January 16, 20062006-01-16
Hello Boki,

Please, *please* quote the appropriate part of the message you are
replying to. Read http://cfaj.freeshell.org/google/ why you should
be doing this.

bokiteam@ms21.hinet.net wrote:

> but, there are no too many similar data ...
We might be able to help you with this, but you still have to provide some details for that. What kind of project are you working on, what processor are you using, how much RAM/ROM/FLAST/etc is available there, what data are you trying to store, etc etc
> and I have to program the algorithm first, and it also occupy memory, > am I right? :)
Ofcourse, but there's different kinds of memory; since we do not know anything about your platform, we can not give you any hints on decreasing code or data size. If you want help, tell us more. -- :wq ^X^Cy^K^X^C^C^C^C
Reply by January 15, 20062006-01-15
Hi All,

I foudn the chip provides programmer to use a function to allocate a
memory block and return a pointer, when I got a pointer, I don't know
how to assign variable continually,

/* GetPointer(T) is a function that allocate memory size (T) and return
the pointer(byte) */
ex:
Now, I have to assign data as:

unsigned char *A = 0;
A = (unsigned char *)GetPointer(255);

A[0]=123;
A[1]=312;
...
...
A[255]=xxx;

Is that the only way?
Thank you very much for your kindly advice!

Best regards,
Boki.

Reply by January 15, 20062006-01-15
In fact, it is not a MCU.

it is a RF CHIP, and can run C language.

Best regards,
Boki.

Reply by January 15, 20062006-01-15
but, there are no too many  similar data ...

and I have to program the algorithm first, and it also occupy memory,
am I right?  :)

Best regards,
Boki.

Reply by January 15, 20062006-01-15
Clear procedure to improve problem.

Thanks a lot.

Best regards,
Boki.

Reply by Frank Bemelman January 14, 20062006-01-14
<bokiteam@ms21.hinet.net> schreef in bericht
news:1137146111.892412.248370@g49g2000cwa.googlegroups.com...
> Hi All, > > My MCU can't support me to declare large enough memory to store my byte > arrary data, what can I do?
That's always the problem with arrary data. It's too much and it don't fit. -- Thanks, Frank. (remove 'q' and '.invalid' when replying by email)
Reply by rTrenado January 14, 20062006-01-14
Well, you could use brute force!

martin griffith wrote:
> On Fri, 13 Jan 2006 09:36:23 -0500, in comp.arch.embedded Spehro > Pefhany <speffSNIP@interlogDOTyou.knowwhat> wrote: > > >On 13 Jan 2006 01:55:11 -0800, the renowned bokiteam@ms21.hinet.net > >wrote: > > > >>Hi All, > >> > >>My MCU can't support me to declare large enough memory to store my byte > >>arrary data, what can I do? > >> > >>Could you please advice? > >> > >>Thank you very much! > >> > >>Best regards, > >>Boki. > > > >Ah, the ever-cryptic Boki strikes again. Details? > > > > > >Best regards, > >Spehro Pefhany > Always a challenge....... > > > martin
Reply by martin griffith January 13, 20062006-01-13
On Fri, 13 Jan 2006 09:36:23 -0500, in comp.arch.embedded Spehro
Pefhany <speffSNIP@interlogDOTyou.knowwhat> wrote:

>On 13 Jan 2006 01:55:11 -0800, the renowned bokiteam@ms21.hinet.net >wrote: > >>Hi All, >> >>My MCU can't support me to declare large enough memory to store my byte >>arrary data, what can I do? >> >>Could you please advice? >> >>Thank you very much! >> >>Best regards, >>Boki. > >Ah, the ever-cryptic Boki strikes again. Details? > > >Best regards, >Spehro Pefhany
Always a challenge....... martin
Reply by Mike Harrison January 13, 20062006-01-13
On Fri, 13 Jan 2006 12:14:33 +0100, Rene Tschaggelar <none@none.net> wrote:

>bokiteam@ms21.hinet.net wrote: > >> Hi All, >> >> My MCU can't support me to declare large enough memory to store my byte >> arrary data, what can I do?
Figure out how much memory you need before choosing the micro.
Reply by Grant Edwards January 13, 20062006-01-13
On 2006-01-13, bokiteam@ms21.hinet.net <bokiteam@ms21.hinet.net> wrote:

> My MCU can't support me to declare large enough memory to > store my byte arrary data, what can I do?
Hire somebody with a clue. -- Grant Edwards grante Yow! I feel partially at hydrogenated! visi.com