Reply by Paul Curtis February 16, 20112011-02-16
On 16 Feb 2011, at 17:43, aamir shakoor wrote:

> Oooook,
>
> I am sorry I was so under-pressure that could not focus the real point of you.
> One more question, what if use the same C code and create a new project here would it make me get rid of contacting him back???
>
> Thanks

I don"t think so as you clearly do not have the files thst he used to build the project. As things are not running at the same rate it would be natural to assume that the startup code has been edited to change PLL settings. All you have is the standard startup code that will set the PLL up but possibly not the same frequency.

-- Paul

An Engineer's Guide to the LPC2100 Series

Reply by aamir shakoor February 16, 20112011-02-16
Oooook, 
I am sorry I was so under-pressure that could not focus the real point of you. One more question, what if use the same C code and create a new project here would it make me get rid of contacting him back???
Thanks

--- On Wed, 2/16/11, Paul Curtis wrote:

From: Paul Curtis
Subject: RE: [lpc2000] CrossWorks lpc2138 Project build
To: l...
Date: Wednesday, February 16, 2011, 9:09 AM

 

> I right clicked and imported all the system files in

> System Files Folder, and built the project "ARM flash

> release", No difference.

Of course not. I said:

> You (or more accurately, the person who provided you

> the project) can break the dependence on the package

> files by right clicking on the system files in the.

All you have done is copy the files from one place to another, you don't have the files that are quite probably different from the person who provided you the project. Like I said, read what I wrote.

You need to get the person who provided you with the project files to send you what he used to build it. What I described is how to bring those files in locally by the other developer, who must do it, not you.

--

Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk

SolderCore arriving Summer 2011! http://www.soldercore.com
Reply by Paul Curtis February 16, 20112011-02-16
> I right clicked and imported all the system files in
> System Files Folder, and built the project "ARM flash
> release", No difference.

Of course not. I said:

> You (or more accurately, the person who provided you
> the project) can break the dependence on the package
> files by right clicking on the system files in the.

All you have done is copy the files from one place to another, you don't have the files that are quite probably different from the person who provided you the project. Like I said, read what I wrote.

You need to get the person who provided you with the project files to send you what he used to build it. What I described is how to bring those files in locally by the other developer, who must do it, not you.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore arriving Summer 2011! http://www.soldercore.com

Reply by aamir shakoor February 16, 20112011-02-16
I right clicked and imported all the system files in System Files Folder, and built the project "ARM flash release", No difference.

--- On Wed, 2/16/11, Paul Curtis wrote:

From: Paul Curtis
Subject: RE: [lpc2000] CrossWorks lpc2138 Project build
To: l...
Date: Wednesday, February 16, 2011, 6:48 AM

 

> Hi all,

> I got a problem if some one could help pls.

> I got a project created by one company (although one guy works

> there), it is in crossworks IDE and lpc2138 processor. The hex

> file that is created by their system is 156 kb size. But when

> I build the same project (release configuration), the file is

> 177 kb size. Also the wake up (blink red led twice with a

> difference of 200 ms) signals this files give are faster then

> the hex created by their system. and the hex I create by

> building project in my system does not work.

> Please can some one tell what problem it could be (compiler options are

> inherited by the project).

If you were distributed with the correct project files and source files, and are using the same version of the compiler and libraries, the only difference can be the files that are installed as part of the package system or you are building in a different configuration.

You (or more accurately, the person who provided you the project) can break the dependence on the package files by right clicking on the system files in the System Files folder and Importing them. You can also right click on the project and import both the section placement and the memory map files which, again, breaks the dependence on the package files.

Some customers wish to do this so everything is all in the project directories, but then by breaking the ties to the package files they don't get updated memory maps, headers, or startup code when new packages are released by us.

Rgds,

--

Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk

SolderCore arriving Summer 2011! http://www.soldercore.com
Reply by Paul Curtis February 16, 20112011-02-16
> I broke the dependencies as per your sugestions

You didn't follow my instructions. What you did will make no difference. Re-read what I wrote and then do what I said to do.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore arriving Summer 2011! http://www.soldercore.com

Reply by aamir shakoor February 16, 20112011-02-16
Thanks for reply,I broke the dependencies as per your sugestions but same size of hex file, I also compare opening this file in bonary editor and its different from the one he built. What may be the difference in building configurations??? Are there more then one compiler versions in crossworks IDE? ans so with libraries? if I inherit the project properties even????

RGDS
--- On Wed, 2/16/11, Paul Curtis wrote:

From: Paul Curtis
Subject: RE: [lpc2000] CrossWorks lpc2138 Project build
To: l...
Date: Wednesday, February 16, 2011, 6:48 AM

 

> Hi all,

> I got a problem if some one could help pls.

> I got a project created by one company (although one guy works

> there), it is in crossworks IDE and lpc2138 processor. The hex

> file that is created by their system is 156 kb size. But when

> I build the same project (release configuration), the file is

> 177 kb size. Also the wake up (blink red led twice with a

> difference of 200 ms) signals this files give are faster then

> the hex created by their system. and the hex I create by

> building project in my system does not work.

> Please can some one tell what problem it could be (compiler options are

> inherited by the project).

If you were distributed with the correct project files and source files, and are using the same version of the compiler and libraries, the only difference can be the files that are installed as part of the package system or you are building in a different configuration.

You (or more accurately, the person who provided you the project) can break the dependence on the package files by right clicking on the system files in the System Files folder and Importing them. You can also right click on the project and import both the section placement and the memory map files which, again, breaks the dependence on the package files.

Some customers wish to do this so everything is all in the project directories, but then by breaking the ties to the package files they don't get updated memory maps, headers, or startup code when new packages are released by us.

Rgds,

--

Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk

SolderCore arriving Summer 2011! http://www.soldercore.com
Reply by Paul Curtis February 16, 20112011-02-16
> Hi all,
> I got a problem if some one could help pls.
> I got a project created by one company (although one guy works
> there), it is in crossworks IDE and lpc2138 processor. The hex
> file that is created by their system is 156 kb size. But when
> I build the same project (release configuration), the file is
> 177 kb size. Also the wake up (blink red led twice with a
> difference of 200 ms) signals this files give are faster then
> the hex created by their system. and the hex I create by
> building project in my system does not work.
> Please can some one tell what problem it could be (compiler options are
> inherited by the project).

If you were distributed with the correct project files and source files, and are using the same version of the compiler and libraries, the only difference can be the files that are installed as part of the package system or you are building in a different configuration.

You (or more accurately, the person who provided you the project) can break the dependence on the package files by right clicking on the system files in the System Files folder and Importing them. You can also right click on the project and import both the section placement and the memory map files which, again, breaks the dependence on the package files.

Some customers wish to do this so everything is all in the project directories, but then by breaking the ties to the package files they don't get updated memory maps, headers, or startup code when new packages are released by us.

Rgds,

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
SolderCore arriving Summer 2011! http://www.soldercore.com

Reply by aamir shakoor February 16, 20112011-02-16
Hi all,I got a problem if some one could help pls.I got a project created by one company (although one guy works there), it is in crossworks IDE and lpc2138 processor. The hex file that is created by their system is 156 kb size. But when I build the same project (release configuration), the file is 177 kb size. Also the wake up (blink red led twice with a difference of 200 ms) signals this files give are faster then the hex created by their system. and the hex I create by building project in my system does not work.Please can some one tell what problem it could be (compiler options are inherited by the project). 
Best regards,Aami

--- On Sun, 2/13/11, boB G wrote:

From: boB G
Subject: [lpc2000] Re: USB Class Suggestion
To: l...
Date: Sunday, February 13, 2011, 8:52 PM

 

--- In l..., Xiaofan Chen wrote:

>

> On Mon, Feb 14, 2011 at 9:06 AM, boB G wrote:

>

> > Now I am seeing that on...

> >

> > http://msdn.microsoft.com/en-us/library/ff538820.aspx

> >

> > That the CDC class driver for Vista, server 2008 and Windows 7 is Usb8023.sys

>

> That one is for different CDC sub-class. There are many sub-classes

> within the CDC class.

>

> >   That is different than usbser.sys for xp that I use.

>

> usbser.sys is for CDC-ACM. It is in Win2k/XP/Vista/7.

Hey ! Maybe it is as simple as the same usbser.sys from XP will

not work for vista and win 7 !!

Maybe that's been the problem all along.

Haven't tried usbser.sys from the win 7 disk itself yet !

Thx for the ideas !

boB

It is

> actually available for Win98SE/ME as well. But there are

> quite some problems associated with the driver so that

> USB to Serial Converter IC vendors like FTDI/Prolific/Silabs

> do not use CDC-ACM class but use a custom class

> and develop their own drivers.

>

>

> --

> Xiaofan

>