Only one raw buffer.The camera is 16 megapixel so a raw image requires 24MB of memory.There is only 64MB of RAM in the camera, and once you take out all the memory needed by the firmware, it's unlikely there would be enough left for another raw buffer.
Well, it was worth asking (there could have been two). The reported free memory is tiny, under 900K.
According to rkomar's report it's possible to use CHDK without EXMEM on this camera (actually, it would be good if someone else could confirm this and we could get rid of the forced EXMEM configuration for good - CHDK should not cause potential JPEG corruption...).In an EXMEM-less configuration, it should be possible to use EXMEM memory (edit: as statically allocated memory), at least the amount shown in platform/a4000/sub/.../makefile.inc EXMEM_BUFFER_SIZE + EXMEM_HEAP_SKIP. The upper part (length = EXMEM_HEAP_SKIP) of the EXMEM area can however get corrupted (not sure when, maybe during video recording?), so tests are required.
If I don't put CHDK in EXMEM, if I'm following this right, it looks like I'd have a little less than 4MB of working space using the 101b firmware.
I don't think corruption would be much of an issue for my use, because I'd really just be using the extra memory for time-domain compression of a (potentially infinite) sequence of raw captures to be sent to a host computer via USB. In other words, there really wouldn't be anything but unsaved raw capture and USB traffic going on while I need the space to remain uncorrupted.In fact, the EXMEM_HEAP_SKIP area by itself is nearly 3MB, so if I could just use that, perhaps I wouldn't even need to move CHDK out of EXMEM? Would that be likely to work?
I'd just set a pointer to the base address of that region (what would that be?)
I'll post a build of CHDK without exmem. If you can report the free memory using this build, that would be appreciated. The default autobuild really shouldn't corrupt jpegs...
Started by capebio
General Discussion and Assistance
Started by Mulledy
Started by capebio
Started by achinz
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by manoweb
« 1 2 »