While I'm not sure about the (non)existence of the 1M limit on .prc files, 
you might try putting the flash image in a separate database rather than 
in the .prc file itself.  This has the added benefit that you can 
change/upgrade the flash image without changing out programs, and could 
even support housing multiple flash images on the same Palm device, 
assuming there is sufficient memory, of course.

Hope that helps,
-Thomee-

In article <58331@palm-dev-forum>, [EMAIL PROTECTED] says...
> 
> 
> Hi,
> 
> I am writing an app which would upgrade the software of a device that
> attaches to the Palm serial port.
> 
> As the PRC file contains the FLASH image of the device to be upgraded, the
> size of the prc file is bound to be more than 1 Mbytes. I got to the point
> where I have a multi-segmented project.
> 
> It all works fine for anything that results in a less than 1 Mbytes prc
> file. However, incorporating any more segments that would push the PRC file
> beyond 1 Mbytes results in an error form the PalmRez post linker:
> 
> "   Link Error   : Unexpected Error #32. Bad size for resource file
>     Total: 1 errors encountered. Compilation halted    "
> 
> On the Palm Developer Forum I saw the following:
> 
> "   There is no 1Meg limit on the size of a .prc file.  Whatever problems 
>     you are having are due to something else.-- Keith Rollin
>     -- Palm OS Emulator engineer   "
> 
> Is the 1 Meg prc file limitation is a problem in the CodeWarrior PalmRez
> post linker?
> Can you suggest any solution or workaround?
> 
> Cheers,
> 
> Firas
> 
> 
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to