steve_gulick
Posts: 31
Joined: Wed Jul 18, 2012 12:06 pm
Contact: Website

Bare Metal image capture

Wed Jul 18, 2012 12:14 pm

Hello - I'm interested in being able to capture images in a bare metal program as soon as possible after power on. Does anyone have an idea of the latency before the first frame would to accessible to the arm side?
Thanks

User avatar
Cycl0ne
Posts: 102
Joined: Mon Jun 25, 2012 8:03 am

Re: Bare Metal image capture

Wed Jul 18, 2012 2:30 pm

HI,

can you give more information? From where you want to take the capture? You are on baremetal = no graphics activated. so you activate the graphics card -> you get a framebuffer -> you can draw on it -> you can take a capture of it.

steve_gulick
Posts: 31
Joined: Wed Jul 18, 2012 12:06 pm
Contact: Website

Re: Bare Metal image capture

Wed Jul 18, 2012 2:46 pm

Hi Cycl0ne

No, I mean capturing images from the future 5MP camera via the GPU. I want to power up the raspberry pi based on an external trigger then start capturing images to memory and/or sd card with minimum delay

Thanks

User avatar
DexOS
Posts: 876
Joined: Wed May 16, 2012 6:32 pm
Contact: Website

Re: Bare Metal image capture

Wed Jul 18, 2012 3:07 pm

First you need a way for bare metal OS to access the future 5MP camera, so that depends on what info is released.
But i would say at a guess about two seconds.
Batteries not included, Some assembly required.

steve_gulick
Posts: 31
Joined: Wed Jul 18, 2012 12:06 pm
Contact: Website

Re: Bare Metal image capture

Thu Jul 19, 2012 2:24 am

I was hoping it would be more on the order of 200ms. Maybe there might be some tricks that could speed up the GPU's booting?

User avatar
Cycl0ne
Posts: 102
Joined: Mon Jun 25, 2012 8:03 am

Re: Bare Metal image capture

Thu Jul 19, 2012 8:14 am

Dont think so, the ARASAN(?) MMC Controller needs atleast 1sec for initialisation.

User avatar
DexOS
Posts: 876
Joined: Wed May 16, 2012 6:32 pm
Contact: Website

Re: Bare Metal image capture

Thu Jul 19, 2012 12:35 pm

steve_gulick wrote:I was hoping it would be more on the order of 200ms. Maybe there might be some tricks that could speed up the GPU's booting?
From boot you will not get that, but you could get that easy if you leave it running, but in a type of sleep mode.
Batteries not included, Some assembly required.

Return to “Bare metal, Assembly language”