You Are Here:

Community: Developer Discussion Boards

#1 Old 如何开发console程序? - 2003-05-09, 09:45

Join Date: Apr 2003
Posts: 6
geraldfan
Offline
Registered User
程序在cell phone上运行,在PC上输入,和显示。how to?
Reply With Quote

#2 Old 2003-05-09, 11:11

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

If you build your program using commands, and launch the emulator in MS DOS box, you will not be able to see the running of the program.

In order to run a console application, please do the following things:

1) Generate a makefile for VC++.

bldmake bldfiles
abld makefile vc6

2) Launch VC IDE, and choose "File\Open Workspace" to load the project. Press "Ctrl + F5", you will be able to see the running of the console application.

In order to run the application onto a target device, you may probably need to have a file browser to launch it after you have deployed it.

Hope this helps!

Liuxg
Froum Nokia
Reply With Quote

#3 Old will this C syntax be supported in Symbian? - 2003-05-14, 02:41

Join Date: Apr 2003
Posts: 6
geraldfan
Offline
Registered User
Hi, Liu

Thank you very much for your kindly answer.
I have a program with this C function, will it work in Symbian?
Any more configuration needed to program?

Also, May you provide me your email account? (to gerald.fan@intel.com )

thanks a lot!

/*===============================================================*/
void writef( ADDRESS add, DATA data )
{
/* write to non-cache address space ALWAYS */
volatile DATA *cp = (DATA*) (add | 0xF0000000L);

*cp = data;
}

/*==============================================================
===============================================================*/
DATA readf( ADDRESS add )
{
DATA data;
volatile DATA *cp = (DATA*) add;
data = (DATA) *cp;

return (data);
}
Reply With Quote

#4 Old 2003-05-14, 05:47

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

From programming point of view, there should be no problem for you to program it in that way. If I understand correctly, you want to test hardware using the functions.

On ARM, all those I/O address spaces are memory mapped I/Os. Memory controller design is also invovled in the hardware design. Physicall address of the memory or I/O may not appear to be the same as the ones in the user space. There is a mapping between them.

By the way, normally, we do not communicate with developers via email since we want to developers to come to this discussion board to share ideas. I will try my best to help all of you! I am sorry for any inconvenience caused!

Hope this helps you!

Liuxg
Forum Nokia
Reply With Quote

#5 Old 2003-05-14, 05:56

Join Date: Apr 2003
Posts: 6
geraldfan
Offline
Registered User
yes. you are right.
we are testing intel devices on Nokia cell phone.

to enable our program successfully run on series60. We have to have a special OS (MMU spcially programmed with protection removed), yes?

May we get help from this forum? If not, what are the alternate options for us?

regards.
gerald
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia