Generally, if it needs to be updated you don't want it
in FLASH to begin with.

If this is an occaisional requirement (e.g. sales data
that you update once a month) then you can do something
like this: Copy the database in question to RAM, perform your
updates, copy it back to the FLASH.

Even if you used an API to write to the FLASH yourself, you would
not be able to do so on a single-record basis.  The FLASH EEPROM
architecture only allows relatively large blocks to be written to at a time,
which is why the utilities deal with large-scale objects (i.e. complete
databases).

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!

Prasad wrote in message <[EMAIL PROTECTED]>...
>
>Ya. Exactly. I am using FlashPro. I moved some databases to Flash. I am
able
>to read the records in flash. I would like to update the database which are
>in Flash. One way i am doing is getting the header in to RAM databse and
>update. In this way i have to read RAM database whenever i tried to access
>the records in flash. Is there any better way to do this kinda stuff.
>
>thanks a lot
>Prasad
>----- Original Message -----
>From: Logie Urqhart <[EMAIL PROTECTED]>
>To: Palm Developer Forum <[email protected]>
>Sent: Wednesday, June 21, 2000 8:07 PM
>Subject: RE: ROM based records
>
>
>> I think Prasad is looking along the lines of using a third pary software
>> (e.g FlashPro) to format the spare space in the flash rom , and then
using
>> the API to read and write to a database that is stored in the formated
>space
>> in the flash rom.
>>
>> FYI FlashPro is made by TRG, search for FlashPro on palm geat or palm
>> central.
>>
>>
>> Logie
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Behalf Of Brian
>> Mathis
>> Sent: 21 June 2000 15:27
>> To: Palm Developer Forum
>> Subject: Re: ROM based records
>>
>>
>> On Wed, 21 Jun 2000, Prasad wrote:
>> >
>> > Hi all
>> > How to write data in to ROM based records(non movable chunk)
>> >
>> > thanks
>> > Prasad
>>
>> You can't write to ROM.  ROM means "Read Only Memory".  It's physically
>> impossible to do so.
>>
>> --
>> Brian Mathis
>> Direct Edge
>> http://www.directedge.com
>>
>>
>> --
>> For information on using the Palm Developer Forums, or to unsubscribe,
>> please see http://www.palmos.com/dev/tech/support/forums/
>>
>> --
>> For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
>
>
>





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

Reply via email to