EmbeddedRelated.com
Forums

LPC2148 IAP snippet - Chapter 9

Started by Sutton Mehaffey July 14, 2009
Has anyone gotten the small IAP snippet of code to work from chapter 9 of the user's manual? I've tried issuing the 'Read Part ID Number' and I get 0x00000001 instead of the reading on page 307.

Sutton

An Engineer's Guide to the LPC2100 Series

There's an IAP example in http://jcwren.com/arm

--jc

On Tue, Jul 14, 2009 at 9:53 AM, Sutton Mehaffey wrote:

> Has anyone gotten the small IAP snippet of code to work from chapter 9 of
> the user's manual? I've tried issuing the 'Read Part ID Number' and I get
> 0x00000001 instead of the reading on page 307.
>
> Sutton
>
>
>


Found it. Where are your #defines located for iap.c? They are not in
iap.h. Like 'IAP_CMD_READPARTID'?

Sutton

J.C. Wren wrote:
>
> There's an IAP example in http://jcwren.com/arm --jc
>
> On Tue, Jul 14, 2009 at 9:53 AM, Sutton Mehaffey > > wrote:
>
> >
> >
> > Has anyone gotten the small IAP snippet of code to work from chapter 9 of
> > the user's manual? I've tried issuing the 'Read Part ID Number' and I get
> > 0x00000001 instead of the reading on page 307.
> >
> > Sutton
> >
> >
> >

--
Sutton Mehaffey
Lookout Portable Security
4040 Royal Dr.
Kennesaw, GA 30144
770-514-7999, 800-207-6269
Fax: 770-514-1285
http://www.lookoutportablesecurity.com
s...@lookoutportablesecurity.com

Is grep broken? :)

lpc214x.h

On Tue, Jul 14, 2009 at 10:27 AM, Sutton Mehaffey <
s...@lookoutportablesecurity.com> wrote:

> Found it. Where are your #defines located for iap.c? They are not in
> iap.h. Like 'IAP_CMD_READPARTID'?
>
> Sutton
>
> J.C. Wren wrote:
> >
> >
> >
> > There's an IAP example in http://jcwren.com/arm >
> > --jc
> >
> > On Tue, Jul 14, 2009 at 9:53 AM, Sutton Mehaffey
> > >> wrote:
> >
> > >
> > >
> > > Has anyone gotten the small IAP snippet of code to work from chapter 9
> of
> > > the user's manual? I've tried issuing the 'Read Part ID Number' and I
> get
> > > 0x00000001 instead of the reading on page 307.
> > >
> > > Sutton
> > >
> > >
> > >
> >
> >
> >
> > --
> Sutton Mehaffey
> Lookout Portable Security
> 4040 Royal Dr.
> Kennesaw, GA 30144
> 770-514-7999, 800-207-6269
> Fax: 770-514-1285
> http://www.lookoutportablesecurity.com
> s...@lookoutportablesecurity.com
>


Got it. I downloaded just the iap folder so that I wouldn't to download
stuff I didn't need. Thought the IAP defines would be defined locally.

J.C. Wren wrote:
>
> Is grep broken? :)
>
> lpc214x.h
>
> On Tue, Jul 14, 2009 at 10:27 AM, Sutton Mehaffey <
> s...@lookoutportablesecurity.com
> > wrote:
>
> >
> >
> > Found it. Where are your #defines located for iap.c? They are not in
> > iap.h. Like 'IAP_CMD_READPARTID'?
> >
> > Sutton
> >
> > J.C. Wren wrote:
> > >
> > >
> > >
> > > There's an IAP example in http://jcwren.com/arm
> >
> >
> > >
> > > --jc
> > >
> > > On Tue, Jul 14, 2009 at 9:53 AM, Sutton Mehaffey >
> > > >> wrote:
> > >
> > > >
> > > >
> > > > Has anyone gotten the small IAP snippet of code to work from
> chapter 9
> > of
> > > > the user's manual? I've tried issuing the 'Read Part ID Number' and I
> > get
> > > > 0x00000001 instead of the reading on page 307.
> > > >
> > > > Sutton
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> > --
> > Sutton Mehaffey
> > Lookout Portable Security
> > 4040 Royal Dr.
> > Kennesaw, GA 30144
> > 770-514-7999, 800-207-6269
> > Fax: 770-514-1285
> > http://www.lookoutportablesecurity.com
>
> > s...@lookoutportablesecurity.com
>
>
> >
> >
> >

--
Sutton Mehaffey
Lookout Portable Security
4040 Royal Dr.
Kennesaw, GA 30144
770-514-7999, 800-207-6269
Fax: 770-514-1285
http://www.lookoutportablesecurity.com
s...@lookoutportablesecurity.com