Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which processor to program for on Pocket PC

Status
Not open for further replies.

TonyScarpelli

Programmer
Jan 23, 2003
361
US
I'm creating an application in VB .NET and am making a CAB file for use on a Pocket PC.

When ready to deploy the .NET program to a Pocket PC a number of CAB files are produced. The results are for multiple processors, including one for the ARM and one for the ARM4.

For the iPaq h2200 Pocket PC, which contains an "Intel(R) PXA255" processor, it's based on the ARM instruction set, I guess.

I can't seem to determing which processor, ARM, or ARM4 should I be programming for?

Amyone know?

Thanks

Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
Hi,
I may be wrong but why can't you just do this
/QRarch{4|5}[T]
Which should compile for all three target architectures
 
When the Cab files are created there are six of them, one for each of a number of processor. I.e. MyProg_ARM.CAB, MyProg_ARM4.CAB, MyProg_MIPS.CAB, etc.

Only one of them is going to the device, and I'll be loading it on about 12 devices for use by my technicians. It has to be for that device.

But I don't know whether the device requires an ARM or ARM4 file. I just don't know which of these two files goes on my device with a PXA255 processor, and no one seems to have an answer, not even the forum people at HP.

I might just have to load both and see which one doesn't work.

Thanks.


Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
I loaded both the ARM and ARM4 CAB files onto the PXA255 Pocket PC. (HP iPaq h2200)

Both seemed to work, neither complained they shouldn'g be there, but I didn't do an extensive test.

I'm going with further testing using the ARM4 CAB file since that seems to be the latest version.

There is a walkthrough in the .NET help file that explains how to create and install the CAB files, but you have to know which processor is on your device.

There are also instructions in this walkthrough on how to change the .inf and .bat files produced so that you can customize the installed CAB file. I also modified the .inf file to only produce the single CAB file for ARM4. So I don't have to have multiple CAB files cluttering up the directory.

Hope this helps.

CU all


Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
I dont know if Im just talking bull here :)
But when i debug my application on the ppc (ipaq6340)
i get this message in the output/build

'Connected to Pocket PC Device (Pocket PC) running on ARMV4.

Is it VS that checks with my device what processor im running on? In that case this should be a valid way of determing which cab you should use.

- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Thanks, I'll check for that.

I don't recall ever seeing that message anywhere. It could be how I have some of my screens set. I'm usually watching the PPC screen to see if the application loaded, or, because of the abount of time it takes to get it on the device, I'm watching the TV set. <g>

I'll keep an eye out for it, though.

CU


Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
Thanks, SMURF75.

You're right. It's in the Build window, which I ususally have closed. There it was, "... running on ARMV4."

Learn something new every day.

Thanks again.

CU


Tony Scarpelli
Clinical Engineering Dept.
Maine Medical Center
Portland, Maine 04102
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top