GRANULARITY OF THE NAND?


FOR THE LAST TIME:

 YOU ARE not ALLOCATING MEMORY IN THE NAND FLASH!
 YOU ARE NOT ALLOCATING MEMORY IN THE NAND FLASH!
 YOU ARE NOT ALLOCATION MEMORY IN THE NAND FLASH!


am i getting through?



----
Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Mar 10, 2009 at 8:59 AM, Darren <[email protected]> wrote:
> Hello and thanks for responses,
>
> at the moment the function that inits the global list items and variables is 
> storing around 50 * 20 strings, the chunk is allocated at application startup 
> and is set at 8kb (8192) as there was mention somewhere of granularity of the 
> nand.
>
> therefore is not writing outside the malloc.
>
> When the pointer being used to store either the locked MemHandle or the 
> MemPtr is displayed as a 4 byte numeral (in other words the address location) 
> after being declared and also just before the items are written to the chunk, 
> they are the same.
>
>
> Still have not found a solution. The desk accessory cannot use globals, as no 
> desk accessories can, although there are a few methods around this, Ftr 
> memory, prefs, a typedefed global struct, etc.
>
> something like so :
> in included header
>
> typedef struct psuedo_globals {
>  // form
>  Int16 X;
>  Int16 Y;
>  Int16 W;
>  Int16 H;
>
>  // pen detection
>  RectangleType P[MaxPenDetectAreas];
>
>  // DeskHandler
>  Coord x_DIFF; // form move coords
>  Coord y_DIFF;
>  Coord x_STRT;
>  Coord y_STRT;
>  Coord x_SAV;
>  Coord y_SAV;
>
>  // etc., etc...
>
>  }psuedo_globals;
>
>
>
> then in the main.c for the desk accessory would be something like:
>
>
> //  •••••••••••• •••••••••••• ••••••••••••
> //start
> Int8 start(void){Deskmain(); return 0x00;
>

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to