Hello,

I have compiled a Windows CE 5.0 image that runs on IDE CF card.

I have added the following modules to Storage Devices

- ATAPI PCI/IDE Storage Block Driver
- Compact Flash/PC Card Storage Card (ATADISK)
- Promise Controller ATAPI Driver

and the following modules to Storage Manager

- CD/UDFS File system
- FAT File System
- Partition Driver
- Storage Manager Control Panel Applet

Now my Compact Flash card is NOT working correctly : the Windows OS
boots normally and no problems there, BUT the contents of the CF card is
not shown in Windows (/hard disk/ folder is not shown AND Storage
Manager does not have any hard disks installed).

I had built the same OS image with my previous laptop and it worked
perfectly with this configuration. However, since receiving a new laptop
I had to install Platform Builder again. Furthermore, I now use
Advantech PCM9375 BSP in Platform Builder (--> to get correct USB port
drivers).

If I only copy the previous nk.bin to the compact flash, it works ok and
the /hard disk/ folder is also visible.

How can this kind of problem be fixed?

Yours sincerely,

Marko

Re: Windows CE 5.0 IDE compact flash --> /hard disk/ not shown... by Bruce

Bruce
Thu Sep 27 08:23:33 CDT 2007

Did you say it is the *same* OS image, *BUT* you changed the BSP? I think
you need to explain that better.

You don't say anything about QFEs, are the two PCs at the same level?

If I am reading this correctly, which I certainly am not sure of, it looks
like you wrote a lot of information that doesn't really have anything to do
with the problem. As I read it, the problem is this: You started using a
new laptop *and* you changed to a new BSP, then the CF card stopped working.
Everything else explains why it worked before the changes. If I am
correct, then the first thing I would do is roll back to what worked, build
it on the first PC and test it, then move that to the new PC and test it,
the change the BSP.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Marko Turunen" <marko.turunen@savcor.com> wrote in message
news:fdg8l1$bq6$1@aioe.org...
> Hello,
>
> I have compiled a Windows CE 5.0 image that runs on IDE CF card.
>
> I have added the following modules to Storage Devices
>
> - ATAPI PCI/IDE Storage Block Driver
> - Compact Flash/PC Card Storage Card (ATADISK)
> - Promise Controller ATAPI Driver
>
> and the following modules to Storage Manager
>
> - CD/UDFS File system
> - FAT File System
> - Partition Driver
> - Storage Manager Control Panel Applet
>
> Now my Compact Flash card is NOT working correctly : the Windows OS boots
> normally and no problems there, BUT the contents of the CF card is not
> shown in Windows (/hard disk/ folder is not shown AND Storage Manager does
> not have any hard disks installed).
>
> I had built the same OS image with my previous laptop and it worked
> perfectly with this configuration. However, since receiving a new laptop I
> had to install Platform Builder again. Furthermore, I now use Advantech
> PCM9375 BSP in Platform Builder (--> to get correct USB port drivers).
>
> If I only copy the previous nk.bin to the compact flash, it works ok and
> the /hard disk/ folder is also visible.
>
> How can this kind of problem be fixed?
>
> Yours sincerely,
>
> Marko



Re: Windows CE 5.0 IDE compact flash --> /hard disk/ not shown... by Valter

Valter
Thu Sep 27 09:28:08 CDT 2007

Marko Turunen <marko.turunen@savcor.com> wrote in
news:fdg8l1$bq6$1@aioe.org:

> Hello,
>
> I have compiled a Windows CE 5.0 image that runs on IDE CF card.

If you got a CE 6.0 PB installed you can use its image diff tool to
compare the two images and check if some registry settings are
different (it may be that the platform.reg file of the new BSP
overrides some of the keys of the common files or that some of the
keys are missing). You can also compare the two reginit.ini files
generated during build using CSDiff or another file difference tool.
If the registry are the same, check that you installed the same QFEs
on both PCs and that you (or a co-worker, or a badly set-upped driver)
didn't made any change inside the WINCE\PUBLIC directory.




--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)

Re: Windows CE 5.0 IDE compact flash --> /hard disk/ not shown... by c_at_man

c_at_man
Thu Sep 27 14:06:46 CDT 2007

Hi,

sorry for the mixed up message, I had to write it in a hurry before
leaving the office to pick up my baby from the day care. Now I'm
writing this at home, my username may be different from the previous
post.

Before I was using a laptop with Platform Builder 5.0. I had made an
OS image (CE 5.0) that worked for our purposes correctly. I had
written down all the modules that I had included in the image as well
as any changes/additions in the source code and registry.

Since receiving a new laptop - the old one broke down, so I cannot
access the old Platform Builder anymore, :-( - I installed the
Platform Builder 5.0 with all updates (I did this in early September).
I compiled the "same" (= same modules, same changes/updates as before)
OS image with the exception that I added support to USB ports.
However, the USB ports did not work at all in the image, BUT the /hard
disk/ folder was working correctly.

After this I received a BSP for Advantech PCM-9375 SBC (which gave me
correct USB drivers), installed it to Platform Builder and made a new
platform based on this BSP. Otherwise, the image is the same as
before. Now, the USB ports are working perfectly (USB mouse, USB card
reader and more important, USB touch screen are working). However,
the /hard disk/ folder is not shown in Explorer - this is kind of
important to our product, since all our software and data storage is
located there.

What I'm basically asking, what can cause this problem that the OS
boots normally from the CF, but the contents of the CF is not shown in
the Windows? By using the SAME CF card and the old nk.bin file, the /
hard disk/ is shown correctly, but the USB ports are - of course - not
working.

To be able to see the contents of the CF card in Windows, I suppose
the modules I mentioned in my first message are the required ones?

I'll try to roll back to previous versions to see, if that helps me to
build a working version. If so, how can I change the BSP of an
existing platform, OR do I have to build a totally new platform based
on the PCM-9375 BSP?

Unfortunately, I'm still quite a beginner at Platform Builder and
furthermore, I'm not a programmer (not C/C++) so I'm not able to make
any deep changes in the source codes on my own. So far I've been able
to build an OS image suitable for our purposes only by adding the
necessary modules to our image. I guess that the PB gives a lot more
options and choices to more professionals ;-)


Yours sincerely,

Marko

On Sep 27, 4:23 pm, "Bruce Eitman [eMVP]"
<beitman.nos...@applieddata.net.nospam> wrote:
> Did you say it is the *same* OS image, *BUT* you changed the BSP? I think
> you need to explain that better.
>
> You don't say anything about QFEs, are the two PCs at the same level?
>
> If I am reading this correctly, which I certainly am not sure of, it looks
> like you wrote a lot of information that doesn't really have anything to do
> with the problem. As I read it, the problem is this: You started using a
> new laptop *and* you changed to a new BSP, then the CF card stopped working.
> Everything else explains why it worked before the changes. If I am
> correct, then the first thing I would do is roll back to what worked, build
> it on the first PC and test it, then move that to the new PC and test it,
> the change the BSP.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> "Marko Turunen" <marko.turu...@savcor.com> wrote in message
>
> news:fdg8l1$bq6$1@aioe.org...
>
> > Hello,
>
> > I have compiled a Windows CE 5.0 image that runs on IDE CF card.
>
> > I have added the following modules to Storage Devices
>
> > - ATAPI PCI/IDE Storage Block Driver
> > - Compact Flash/PC Card Storage Card (ATADISK)
> > - Promise Controller ATAPI Driver
>
> > and the following modules to Storage Manager
>
> > - CD/UDFS File system
> > - FAT File System
> > - Partition Driver
> > - Storage Manager Control Panel Applet
>
> > Now my Compact Flash card is NOT working correctly : the Windows OS boots
> > normally and no problems there, BUT the contents of the CF card is not
> > shown in Windows (/hard disk/ folder is not shown AND Storage Manager does
> > not have any hard disks installed).
>
> > I had built the same OS image with my previous laptop and it worked
> > perfectly with this configuration. However, since receiving a new laptop I
> > had to install Platform Builder again. Furthermore, I now use Advantech
> > PCM9375 BSP in Platform Builder (--> to get correct USB port drivers).
>
> > If I only copy the previous nk.bin to the compact flash, it works ok and
> > the /hard disk/ folder is also visible.
>
> > How can this kind of problem be fixed?
>
> > Yours sincerely,
>
> > Marko



Re: Windows CE 5.0 IDE compact flash --> /hard disk/ not shown... by Remi

Remi
Thu Sep 27 14:48:18 CDT 2007

Hi,

> What I'm basically asking, what can cause this problem that the OS
> boots normally from the CF, but the contents of the CF is not shown in
> the Windows?

Something you have to feel is that the software used to load the OS image
into memory (the loader) is completely different from the software used to
read and write the disk/CF once the OS is up (the driver.) On x86 machines,
the loader usually works on top of existing BIOS code (i.e. INT13) in
real-mode, when the driver provides its own genuine code that runs in
protected-mode. General scheme is : 1) the loader read the entire OS image
from a disk file (NK.BIN) into RAM; 2) the loader "jumps to" the loaded
image and CE starts, initializes and so on.

For the problem you have, obviously, your "old" ATAPI driver is OK but the
one that comes with PCM-9375 BSP is not. You have to determine what is wrong
in the new configuration and the only clever way to do that is to build and
run a Debug image. If you plan to work seriously with this OS, this is
something you really have to deal with. Once you'll have a running trace of
the ATAPI driver initialization to give us, we'll probably be able to help
you.

Remi