|
Steve Morris wrote:
> During initial debugging the LCD is available for debug output at
> the forth level even if I/O is hosed. I've debugged many a board with a
> couple
> of switches and a couple of LEDs, starting with the KIM-1. It's a lot
> better
> than no I/O. There was a life before gdb was available for remote debugging
>
> and someone has to bring up the gdb stub.
It's amazing, but I get all kinds of comments on how it's impossible to
debug systems like the RCX brick. I guess if you're used to deeply
embedded systems, figuring out how to let it tell you what's going on
is a big part of the magic...
> Assembler doesn't scare me and the h8 seems very simple. I also have
> your existing I/O code and legOS lnp-logical as working examples. I learn
> best from reading other peoples code. Writing assembler is easy. Making it
> work is the hard part. :-)
>
> gdb has an h8 simulater? That's a new one on me. If it is not hard to setup
Yup, I just downloaded a pre-built set of binaries for Windows from
Gavin's site. There are other pre-built binaries for Linux, but I don't have the
links handy.
> I'll probably have a primitive start for you to "desk check" in a couple of
> days,
> certainly by the weekend.
No hurry. Once again, Steve, thanks for making the effort, and for posting
this thread on the .pbforth group instead of private email. Having development
like this in the open is very productive...
Cheers,
Ralph Hempel - P.Eng
--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to: rhempel at bmts dot com
--------------------------------------------------------
|
|
Message has 1 Reply: | | Re: serial port interrupts
|
| (...) I'm not suggesting that it isn't hard. Compared to native debugging with printf and gdb in an emacs window it is quite hard. It's just that you build up a bag of tricks after a while or take up application development instead. :-) One of the (...) (25 years ago, 15-May-00, to lugnet.robotics.rcx.pbforth)
|
Message is in Reply To:
| | Re: serial port interrupts
|
| (...) Actually that's what I was intending but I couldn't remember the words at my keyboard. To make debugging easier I will use parallel words that can be merged in later. I was going to use the following debugging strategy: Put the isr init in a (...) (25 years ago, 15-May-00, to lugnet.robotics.rcx.pbforth)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|