To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 7022
7021  |  7023
Subject: 
Re: building a remote debugger for win32 -- need help
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 3 Nov 1999 02:21:51 GMT
Original-From: 
Charles Hacker <C.Hacker@mailbox.gu.edu#spamcake#.au>
Viewed: 
630 times
  
Hans,

What Christopher Prosserhas stated was correct, and this is exactly
what Vadim Gerasimov does in his HDBL windows program.

And it is also the technique used in my HB_Buffalo downloader program
for programming the HandyBoard with a Buffalo type machine code
monitor.
http://132.234.46.5/Programs/HBoard/Index.shtml

My downloader was written in Borland Delphi, yet I am familiar
with Borland-C.  I can thus help if needed.

I would be interested in seeing this project come about.  Keep us
posted!



Hi everybody,

As a part of a project at my university we're building a
crossdevelopment environment for the Windows environment. As a part of
this programming environment we want to build a remote debugger. So,
we will have to incorporate a downloader and a remote debugging
mechanism that works over the serial interface.
In the end we hope to have a fullblown Borland-C like programming
environment for the 68HC11, with both simulated debugging and remote
debugging. (Yup, we're ambitious:-))

And right at the beginning of all this i'm walking into problems. I
can't find anywhere in the extensive documentation that is available
on the web how to communicate with the 68hc11 over the serial line,
other than with Interactive C. This is not an option for us:-(.

So right now I'm writing a C++ object that will communicate with the
board. When instantiated it should install the talker that comes with
pcbug11 (talkeree.s19) on the board and then wait for commands that
are transmitted over the serial line.

Right now i've come as far as to open the serial comport on the pc to
talk to the board but i have no idea where to go from there. Can
anybody help me?

For the c++ literate, here's the interface of the C++ object:

class SerialCommunicator
{
public:
    SerialCommunicator(int port, int speed);
   //the constructor should automatically install the talker
    int open(); //opens the comport
    int close(); //closes the comport
    int read(); //should read from the serial line. Stores what it
                   //reads in private datamember Data
    int write(char *Data);//should send data to the board
    int readStatus(){ return status;}
    //this is just to keep the state
private:
    SerialCommunicator(SerialCommunicator &SC);
    // disables copyconstruction
    int portNr, comSpeed, status;//no comment needed
    char Data[255];//string in which to store data that comes
                            //from the serial connection
    HANDLE hCom; //win32 handle to a comport
    //below are other members needed by the win32 API
    DCB Dcb;
    COMMTIMEOUTS Timeouts;

};


Regards.
Hans


Charles Hacker
Lecturer in Electronics, Computing and Physics
School of Engineering
Griffith University - Gold Coast
PMB 50 Gold Coast Mail Centre
Southport Queensland 9726
Australia.
Email - C.Hacker@mailbox.gu.edu.au
Ph. (07) 5594 8670
Fax.(07) 5594 8065



Message has 1 Reply:
  Re: building a remote debugger for win32 -- need help
 
(...) Hmm so this means you have the source code somewhere? Is it in C? I don't know anything about Delphi so I'm affraid to look at your code:-) Maybe some of the other guys do, i'll ask around Hans <-- very interested in HBDL (25 years ago, 3-Nov-99, to lugnet.robotics.handyboard)

Message is in Reply To:
  building a remote debugger for win32 -- need help
 
Hi everybody, As a part of a project at my university we're building a crossdevelopment environment for the Windows environment. As a part of this programming environment we want to build a remote debugger. So, we will have to incorporate a (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)

11 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR