1
NXPTM LPC2XXX and LPC17XX / Re: Ethernet boot-loader for the LPC23XX
« on: April 04, 2008, 06:24:13 AM »
Hi Mark, thanks for turning me on to this great new (to me anyway) forum ! (through LPC2000 Yahoo)
Could you possibly find out where all the time is being spent by taking a spare I/O pin,
and setting it high when you go into a section of code and reset it low when it leaves
that section and look at it with a scope ? Then, when you're satisfied that one particular
part of code isn't the bottleneck, put the pin toggling somewhere else and look again.
This is one trick I use for just this kind of thing. i.e., is it the programming ? Filling
the buffer through the ethernet ? erasing ? Some weird loop you didn't think about
before ? I sometimes find very weird and unexpected reasons for things to not work by
this method.
I'm JUST now (today in fact) starting to learn about the LPC23XX series after using
the LPC2103 and LPC214X parts for a while now.
good luck.
boB
Could you possibly find out where all the time is being spent by taking a spare I/O pin,
and setting it high when you go into a section of code and reset it low when it leaves
that section and look at it with a scope ? Then, when you're satisfied that one particular
part of code isn't the bottleneck, put the pin toggling somewhere else and look again.
This is one trick I use for just this kind of thing. i.e., is it the programming ? Filling
the buffer through the ethernet ? erasing ? Some weird loop you didn't think about
before ? I sometimes find very weird and unexpected reasons for things to not work by
this method.
I'm JUST now (today in fact) starting to learn about the LPC23XX series after using
the LPC2103 and LPC214X parts for a while now.
good luck.
boB