EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC210x Timer1 help

Started by Jason November 10, 2010
Hi Michael,

With all due respect, I have to disagree with you. Your comment leads me to
believe that you don't understand who Paul is in this context. This is not, for
him, an abstract or trivial concern. Possibly, like most people, you've never
tried to start a business and don't fully understand just how hard you have to
work, the risks you have to take, the years of earning far less than you could
in a secure job, and the personal hardships that result from that lifestyle.
Just for a moment, I ask you to put yourself in his shoes. You go through all
that, then, you find that people are not just stealing the fruits of your long
labors, but, are getting together and comparing notes on how best to steal from
you. And, they're doing it in a public forum so that anyone with a search
engine can also learn how to do so with minimal effort. These thieves are
stealing Paul's life's work and threatening his ongoing livelihood. His concern
in this regard is not childish. The concern of other members of this group is
similarly not childish. Many of their livelihoods are threatened by the same
unethical predations. If there is any place in the world where Paul and Rowley
are entitled to expect unqualified support with regards to piracy, it is here in
this professional community.

If that's not enough, then, here's a very practical consideration. If people
like Paul can't earn a living doing what they do, then, you and I will be stuck
writing our own tools. I don't use Crossworks either, but the principle applies
to every piece of software we might have a use for. Software thieves are
parasites, and we, collectively, are the host. I sincerely hope that Atomsoft
will step up and take the simple step of proving that the software isn't stolen,
just, as he claims, mis-registered. Failing that, if he's willing to make his
copy legal, then, I would argue in favor of rehabilitation. Everyone makes
mistakes and he should be given a way to make it right and be forgiven. If he's
not willing to do any of that, then, he deserves whatever he gets and a bit of
public humiliation seems like a rather small penalty.

Thank you,
Norman

________________________________
From: Michael Frazier
To: "l..."
Sent: Fri, November 12, 2010 7:55:23 AM
Subject: RE: [lpc2000] Re: LPC210x Timer1 help

Wow…I’m glad I don’t use this software…This is not the place for this childish
arguing!

________________________________

From:l... [mailto:l...] On Behalf Of Paul
Curtis
Sent: Friday, November 12, 2010 8:35 AM
To: l...
Subject: RE: [lpc2000] Re: LPC210x Timer1 help

Hi,

> > I guess, as he sells software, he wants to have an eye on possible
pirates
> > and key-generators to fix his license handling.
>
> Makes sense. But i bought crossworks under my wifes name since i didnt
have
> a credit card or paypal at the time.

Then we should have an executed personal license agreement from you?

> > > Are you too stupid to help me that you try to ruin my name?
> >
> > Ouch, are you asking Paul ?
>
> Yes. But i think i was too harsh there and sorry about that

In which case, make sure that the license is in your name. Is it?

> > > There is no proof that is me.
> >
> > But good circumstantial evidence.
>
> What ever happened to innocent until proven guilty? Heh

Always willing to be put straight.

> > > I cant even see that guys email address. I bet you have to register to
> see it.
> >
> > Well, I guess Paul can easily check that you have a valid license. And
if
> > so, he sure owes you an excuse.
>
> I dont even care just dont put my name on warez.

...in which case, get your license sorted out. Just send me an e-mail with
the product key you have and we'll update our records. Simple.

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

An Engineer's Guide to the LPC2100 Series

Il 12/11/2010 18.04, Norman Felder ha scritto:
> Hi Michael,
>
> With all due respect, I have to disagree with you. Your comment leads me[..]
great reply Norman.

--

Ciao, Dario
--
Cyberdyne









Hello Norman,



Friday, November 12, 2010, 5:04:34 PM, you wrote:





If that's not enough, then, here's a very practical consideration.  If people like Paul can't earn a living doing what they do, then, you and I will be stuck writing our own tools.  I don't use Crossworks either, but the principle applies to every piece of software we might have a use for.  Software thieves are parasites, and we, collectively, are the host.  I sincerely hope that Atomsoft will step up and take the simple step of proving that the software isn't stolen, just, as he claims, mis-registered.  Failing that, if he's willing to make his copy legal, then, I would argue in favor of rehabilitation.  Everyone makes mistakes and he should be given a way to make it right and be forgiven.  If he's not willing to do any of that, then, he deserves whatever he gets and a bit of public humiliation seems like a rather small penalty.




Myself and Jason are working through his issues off-list.  I think rehabilitation is on the cards.  I'm sure there will be more later, but for now let me work through it.  I have to applaud the fact that Jason did take up my offer.  :-)



The thing that irritates like hell is that, in many cases, rather than make a simple request to us to obtain a valid license by donation, somebody feels the need to just take or keep on evaluating.  ["I need another evaluation because I'm using your compiler to complete my thesis" is a classic.]  There are so many cases where we have donated licenses and hardware to people who claim they can't even afford the cost of a personal license. 



You should remember that RAL is more than just me; sure, I do a lot of the talking and "social networking" through mailing lists, but I can't build things alone, and Michael and Jon don't do much interacting here.  We're a nice, solid company with solid financials and have weathered the recent turmoil without so much as a bump--for which we're thankful.



I've said it before, but I might as well say it again: the reason for the Personal License and the reason for giving away small tokens that don't cost us much to people willing to learn and really use comes down to the way that I was treated when I started learning to program.  I was granted access to and trusted with machines I and my family could never afford, and for that I am thankful.  Neil Hewitt, wherever you are now, I still owe you more than a pint.



Anybody can think this is a load of old tosh from a sentimental man on the verge of senility.  That is as may be, but hey, we've got to do something with our lives.  And right now, I'm doing more floating point maths, tinkering with the CrossWorks register window to make it smooth as silk, and have an illicit affair with TCP/IP and SolderCore in the evenings.



-- Paul.











__._,_.___






stime89602633













__,_._,___
Hello Paul,

> Anybody can think this is a load of old tosh from a sentimental man
> on the verge of senility.

That'd be me.

:-)

Paul - you are demonstrating that you are a man of significant
character. If you had come back to this list and said something to the
effect of "I told you so" about Jason, it would have been what most
would expect. But you have turned the other cheek and are now working
to help Jason. I hope he realizes he is working with the best.

Jason: I hope you skip getting the next Call of Duty-like game, or
stop subscribing to Xbox live and float some of that coin to Rowley.
Invest in your future.

Hi Paul,

Thanks for the update.

Myself and Jason are working through his issues off-list. I think
rehabilitation is on the cards. I'm sure there will be more later, but for now
let me work through it. I have to applaud the fact that Jason did take up my
offer. :-)
I'm very glad to hear that. That's the best possible outcome. It would have
taken guts for Jason to make contact with you after all that. It's commendable
that he did. If you and he can reach a satisfactory resolution, then, I think
that should conclude the matter and Jason should be welcome to participate in
this group. There's nothing to be gained by shunning someone who has made
amends for their mistakes, and, judging by what Google has shown me of Atomsoft,
he will likely have a lot to contribute in years to come.

You should remember that RAL is more than just me; sure, I do a lot of the
talking and "social networking" through mailing lists, but I can't build things
alone, and Michael and Jon don't do much interacting here.
My apologies to Michael and Jon. I didn't mean to marginalize you in any way.
I simply didn't know any better.

...and have an illicit affair with TCP/IP and SolderCore in the evenings.

Do enjoy your illicit affair.
Norman
Myself and Jason have come to a pretty good put-it-all-to-bed arrangement.
He comes out of it pretty well. :-)

Regards,

-- Paul.

From: l... [mailto:l...] On Behalf Of
Norman Felder
Sent: 13 November 2010 04:49
To: l...
Subject: Re: [lpc2000] Re: LPC210x Timer1 help

Hi Paul,

Thanks for the update.

Myself and Jason are working through his issues off-list. I think
rehabilitation is on the cards. I'm sure there will be more later, but for
now let me work through it. I have to applaud the fact that Jason did take
up my offer. :-)
At 04:35 AM 11/17/2010, you wrote:

>Myself and Jason have come to a pretty good put-it-all-to-bed
>arrangement. He comes out of it pretty well. :-)
>
>Regards,
>
>-- Paul.
>

That's good that things are on the up and up now, I looked him up on
Google and he is very active with all sorts of projects.
Cecil
k5nwa
< www.softrockradio.org > < www.qrpradio.com >
< http://parts.softrockradio.org/ >

Never take life seriously. Nobody gets out alive anyway.

Thanks a bunch Paul. Ill be sure to spread the word that RA and its employees are great people and have some of the best tools around.

I just want to say thanks for all you have done. You inspired me and many people to do right and help out, and also to helped countless people to create tons of devices using your soft/hardware tools.

Thanks again and i hope i can help and provide as much as possible to this and any other community.

--- In l..., "Paul Curtis" wrote:
>
> Myself and Jason have come to a pretty good put-it-all-to-bed arrangement.
> He comes out of it pretty well. :-)
>
>
>
> Regards,
>
>
>
> -- Paul.
>
>
>
>
>

Ok to bring this back to topic now here is my code to make the Timer1 work at full speed.
Ok to bring this back to topic now here is my code to make the Timer1 work at full speed.

void InitTimer1(void)
{
/* Initialize Timer 1 */
T1TCR=0x0;
T1TC=0x0;
T1PR=0x0;
T1PC=0x0;
/* Set the match value in the match register */
T1MR0P;
/* Reset and interrupt on match */
T1MCR=0x3;
/* Initialize VIC */
VICIntSelect=0x20; /* Timer 1 selected as FIQ */
VICIntEnable= 0x20; /*Timer 1 interrupt enabled*/
}
//Can be used like:
T1MR0 = 0x25000000; //Desired match (500ms here @ 50mhz)
T1TCR=0x1; //Turn on TIMER1
while((T1IR & 0x01)==0)
{
//Do something while waiting for timeout or result.
}
T1IR |= 0x01; //Clear Flag
T1TCR=0x0; //Turn OFF Timer1

Or Nicer view here:
http://pastebin.com/WNP7N9Mh

Ok to bring this back to topic now here is my code to make the Timer1 work at
full speed.
Ok to bring this back to topic now here is my code to make the Timer1 work at
full speed.

void InitTimer1(void)
{
/* Initialize Timer 1 */
T1TCR=0x0;
T1TC=0x0;
T1PR=0x0;
T1PC=0x0;
/* Set the match value in the match register */
T1MR0P;
/* Reset and interrupt on match */
T1MCR=0x3;
/* Initialize VIC */
VICIntSelect=0x20; /* Timer 1 selected as FIQ */
VICIntEnable= 0x20; /*Timer 1 interrupt enabled*/
}
//Can be used like:
T1MR0 = 0x25000000; //Desired match (500ms here @ 50mhz)
T1TCR=0x1; //Turn on TIMER1
while((T1IR & 0x01)==0)
{
//Do something while waiting for timeout or result.
}
T1IR |= 0x01; //Clear Flag
T1TCR=0x0; //Turn OFF Timer1

Or Nicer view here:
http://pastebin.com/wMqSb95h


The 2024 Embedded Online Conference