Hi Tom, The problem with the Keil development system and the LPC213x is that the Keil system doesn't know the LPC213x SFR's. That's why it's simulator threw a Data Abort, the SSP registers were outside its valid data area. I'm not sure where the Keil system gets the SFR def's from. The device database setup implies that it comes from the LPC213x.h header file. I've specified that as the register definition file for the 2138 in the device database, but that doesn't fix the problem. The workaround for now has been to forget the simulator. I've emailed their tech support but haven't had an answer yet. I'm interfaceing to an OmniVision 7146 CMOS Image Array. I think I have the SSP working now, but it needs a little more testing. My requirements are very simple. I poll the SSP for data until I receive a complete frame. There's no ISR. Regards, Dave --- In lpc2000@yahoogroups.com, "tkreyche" <tkreyche@w...> wrote: > > Dave, > > I've just spent a lot of time over the past two weeks working with > SSP on the Keil kit, interfacing it to a TI ADS1256 ADC. I've run > into a variety of weird problems and have plowed through some of > them, and have wasted a lot of time with issues just like this ;-) I > guess that's the learning curve. I am currently stuck on a problem > that's too complicated to describe quickly. Anyway, I'm interested in > corresponding with people doing similar SSP work. > > What are you interfacing with? > > Tom > > > --- In lpc2000@yahoogroups.com, "dsidlauskas1" <dsidlauskas@w...> > wrote: > > > > Woops! The problem is with the Keil Simulator, not the part or code. > > It runs fine on the hardware. > > > > Dave S. > > > > > > --- In lpc2000@yahoogroups.com, "dsidlauskas1" <dsidlauskas@w...> > wrote: > > > > > > This one instruction program creates a Data Abort when setting an > SSP > > > Register. Anyone know what's going on? > > >
Message
Re: 2138 Data Abort Loading SSP Reg
2005-01-25 by dsidlauskas1
Attachments
- No local attachments were found for this message.