Re: Stupid question about adding an application to an OS design
- From: "Dean Ramsier" <ramsiernospam@xxxxxxxxxx>
- Date: Thu, 29 May 2008 10:21:56 -0400
If it was listed in the MODULES section, then it was included via a .bib
file and is in the image. When you created the project, it also created a
bib file. Look in that bib file (or ce.bib) and see if the application is
set to be hidden (NK SH for example).
--
Dean Ramsier - eMVP
BSQUARE Corporation
"Selin Metin" <nospams@xxxxxxxxx> wrote in message
news:OA4OutYwIHA.3384@xxxxxxxxxxxxxxxxxxxxxxx
Hi All,
I have a stupid question about adding an application to my OS design in
WCE 6.0. I made an OS design by using most of the default values. Now I
simply want to add a "Hello World" application to this OS design and then
debug it. What I have done so far is:
- I started a new OS design project. Chose my settings and built the
solution. I downloaded the image to the target device and it worked.
- Then I created a new subproject and set it as a simple "Hello World"
application. I only changed the code part to write "hello world" 3 times
on the screen.
- I chose "Build All Subprojects" from the Build menu. No errors.
- When I tried to place a breakpoint on the MyHello.cpp file, the
breakpoint symbol is a red circle with an exclamation symbol in it (I
guess showing that it could not be instantiated)
- I rebuilt the solution (assuming that this will put the application into
the image)
- I ran viewbin tool ("viewbin -toc nk.bin") and verified that MyHello.exe
is in the modules section of the image file in the FLATRELEASEDIR.
- I downloaded the image again to run & debug the application.
And...
- No MyHello.exe under windows directory of the target device!!!
- If I explicitly write in the project.bib file the path of the
application file on my host pc
(MyHello.exe "D:\something\MyHello.exe" NK),
then I can see the file under windows directory of the target device.
And unfortunately I can't use Remote Tools or Run Program from the Target
menu. The connectivity settings only show Default CE Device and I cannot
connect to this device. (I'm using phyCORE i.MX31 with WinCE SDK, so I'm
using their bootloader and I don't know what's exactly in it yet).
I also wathed Mike Hall's tutorial "Introdution To Platform Builder With
CE6 Beta" which simply shows the OS design and subproject creation as I
did. I had experience with WCE 4.X before, but getting VS environment and
WCE6.0 modifications has driven me crazy this week. I will really
appreciate any kind of help here.
Thanks in advance.
Selin
selinATheitec
.
- Follow-Ups:
- Re: Stupid question about adding an application to an OS design
- From: Tom Gensel (eMVP)
- Re: Stupid question about adding an application to an OS design
- References:
- Stupid question about adding an application to an OS design
- From: Selin Metin
- Stupid question about adding an application to an OS design
- Prev by Date: Re: ASP server-side reading UTF-8 XML file on WinCE 6
- Next by Date: Re: update OS on custom device
- Previous by thread: Stupid question about adding an application to an OS design
- Next by thread: Re: Stupid question about adding an application to an OS design
- Index(es):
Relevant Pages
|