mini2440 Button Control

PhillipMorris
Hello,

inside the .bin file that I flashed to my mini2440 I found
a folder with some demo apps.
One of them is in picture below :

http://www.eyegps.gr/images/buttons.png

After all the wiring, this app is working proving that all my connections
are OK.

Does anybody know where can I find the source code of this app ?
I want to use the buttons of mini2440 but I dont know the way.
I am using Visual Studio 2005/2008 with VB.NET

Thanks

davef
All these applications are closed source, according to several previous
posts.

PhillipMorris
Several previous posts ?
This forum or somewhere else ?

...and I thought friendlyarm was an open project.

Either way, thanks for your answer.

asdf
The FriendlyARM examples from Qtopia and WinCE are closed-source.

http://www.friendlyarm.net/forum/topic/1589
http://www.friendlyarm.net/forum/topic/1152

PhillipMorris
OK, got it.

domodom
Hello PhillipMorris, 
On my website
(http://www.domodom.fr/spip/A-GPIO-driver-for-mini2440.html?lang=en), you
can find a gpio driver and some samples to use it (c#, vb.net and c++). It
is pretty the same mecanism, with available source code.
Domodom

PhillipMorris
Hello Domodom,
I have already tested an image of WinCE with your driver build in.
Everything is working perfect and I thank you for it.
Without your help, mini2440 would be useless for me.
It is obvious though that this button application is NOT using your gpio
driver. So, I was wondering if there is another way to handle buttons.
That's all.

My new problem now is that I cannot change the bootlogo image.
Do you know I way to put it directly to the image ?
Or I have to do it only with DNW.exe ?

domodom
Hello, 
Ok for the gpio, i understand. One day, when i have time, i will update my
driver to add a missing functionnality : the possibility to manage the
inputs with interrupts. I wrote and test a first version, but i don't have
time for the moment to finish it to publish it.
Concerning the bootlogo image, is it not possible with DNW and the
bootloader ? (via the bootloader menu ?). I never done that...
domodom

PhillipMorris
Thanks for your answer.
I finally did it by using an application that I found called
StartLogoMaker.
It produces a StartLogo.c file generated from a bmp/jpeg.
I just replaced this file with the one inside the BSP of WinCE and rebuild
the image nk.bin
Now I have a mini2440 with my brand on it.

My new problem is that the screen is closing after a while (like a
screensaver) and I have to touch on it again. How do I disable this ?