Reply by Martin Griffith February 29, 20082008-02-29
On Fri, 29 Feb 2008 09:10:21 -0800 (PST), in comp.arch.embedded Ed
Prochak <edprochak@gmail.com> wrote:

>On Feb 29, 11:32 am, Martin Griffith <mart_in_med...@yah00.es> wrote: >> Just been handed a possible job that requires a encoder IC to be set >> up via SPI, about 20 r/w 8 bit registers. I'm going to use a 8052 >> with a 2 line LCD that's memory mapped, just because I have a couple >> of boards lying around >> >> I'll add a few buttons, but I was wondering if there is any neat way >> of organising the code (in C ) to play around with the registers >> while prototyping ( mucking around, really) >> >> martin > >You could write up a little interpreter/debugger to do it. > Ed
I was thinking of using the UART and terraterm to show the status of all the registers, in 0/1 and the LCD for some sort of menu martin
Reply by Ed Prochak February 29, 20082008-02-29
On Feb 29, 11:32 am, Martin Griffith <mart_in_med...@yah00.es> wrote:
> Just been handed a possible job that requires a encoder IC to be set > up via SPI, about 20 r/w 8 bit registers. I'm going to use a 8052 > with a 2 line LCD that's memory mapped, just because I have a couple > of boards lying around > > I'll add a few buttons, but I was wondering if there is any neat way > of organising the code (in C ) to play around with the registers > while prototyping ( mucking around, really) > > martin
You could write up a little interpreter/debugger to do it. Ed
Reply by Martin Griffith February 29, 20082008-02-29
Just been handed a possible job that requires a  encoder IC to be set
up via SPI, about 20  r/w 8 bit registers. I'm going to use a 8052
with a  2 line LCD that's memory mapped, just because I have a couple
of boards lying around

I'll add a few buttons, but I was wondering if there is any neat way
of organising the code (in  C ) to play around with the registers
while prototyping ( mucking around, really)


martin