Currently I'm reading the file from FTP . The read file is first stored in the RAM. The file in the RAM memory is then written into the nand flash memory. But currently I have to get a bigger file and the RAM size is not sufficient. So can you please suggest some options to write directly to flash without copying it to RAM.
Solved! Go to Solution.
Hi Carlos,
Our [bootloader + application] has 8 MB as the rbin size. Currently we are trying to add a 13 MB external s19 to the rbin
as a tfsdata. During compilation we get the following error on the code warrior(10.6.4).
">### Error: Out of memory ###
Errors caused tool to abort." in the compiler.
We tried increasing the heap size for eclipse to 768M from 512M [Default]. Still we get the same error.
Old Configuration-
-vmargs
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
After resizing-
-vmargs
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Xms768m
-Xmx768m
-XX:MaxPermSize=768m
Regards,
Sumish George Cherian,
Software Engineer
Hi George,
Could you tell us which CodeWarrior version are you using?
Thanks in advance!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Carlos,
Codewarrior version is 10.6
On 23 May 2016 20:01, "Carlos_Mendoza" <admin@community.freescale.com>
Hi George,
Thanks for your response, is your project a bareboard project or are you using MQX?
Best Regards!
Carlos Mendoza
Technical Support Engineer
Carlos,
Its mqx. Chip is coldfire mcf54416
On 23 May 2016 20:15, "Carlos_Mendoza" <admin@community.freescale.com>
Hi George,
Apologies for the delay.
Are you using a MQX example project as base for your project? Could you share your project so we can review your implementation?
Thanks in advance!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Hi Carlos,
I'm not using mqx example project. So I'm not able to share the project.
I have another question. I'm trying to include an external executable S19 file (of another processor) to be part of mcf54416 executable.The idea is to retrieve the external executable file on bootup and store it in nand for later consumption. Since the external executable is a large file( around 13 MB) we are including the zipped or tar version of the file. Are there any api's to unzip or un- tar the file in runtime on the controller.
Regards ,
Sumish George Cherian,
Software Engineer
Hi George,
Unfortunately the MQX filesystem does not support the zip/unzip functionality, but you could also take a look to the links provided by my colleague on the following thread:
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
Hi Carlos,
Our [bootloader + application] has 8 MB as the rbin size. Currently we are trying to add a 13 MB external s19 to the rbin
as a tfsdata. During compilation we get the following error on the code warrior(10.6.4).
">### Error: Out of memory ###
Errors caused tool to abort." in the compiler.
We tried increasing the heap size for eclipse to 768M from 512M [Default]. Still we get the same error.
Old Configuration-
-vmargs
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
After resizing-
-vmargs
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Xms768m
-Xmx768m
-XX:MaxPermSize=768m
Regards,
Sumish George Cherian,
Software Engineer