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 / 8522
8521  |  8523
Subject: 
Re: Reset & running Main ( )
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 30 Dec 2001 04:59:50 GMT
Viewed: 
4579 times
  
John,
Can you post a copy of your "Main()" file to the following site:
http://groups.yahoo.com/group/handyboard/
You will have to sign up with a yahoo account, but it is a lot easier to deal
with code problems and board problems on that forum.
-Dan




In lugnet.robotics.handyboard, John R. McDaniel writes:
> Dear "Group",
> 
> ....what are we?  Lugnetters? Lugheads? Lugnuts?
> 
> Regardless, I need some guidance on getting my Handyboard to run a
> downloaded Main( ) program upon powerup/reset.  Here are some facts
> regarding my problem.
> 
> 1. The Handyboard downloads the Pcode properly and the LCD displays the "IC
> v3.1 Handy Board 1.2" message plus a pulsing heartbeat.
> 
> 2. I can execute the various IC commands from my PC.... beep( ), read memory
> locations with peek( ), turn motors on and off, read Knob, etc.
> 
> 3. I can download a Main( ) program (filename jrm1.c) to the Handy Board and
> them make it run by typing " main ( )" on the PC.  I can unplug the serial
> cable and the Handy Board will continue to execute the " main( )" program
> sequences.
> 
> 4. I leave the serial cable plugged into the HB and I do not turn off the HB
> power switch.  If I quit IC (on the PC) and restart, then type " list
> files"(after the IC initialization process with the HB),  IC does not list
> my main( ) program (filename jrm1.c).  If I try to run my main( ) program
> (filename jrm1.c), IC displays "Function main undefined".
> 
> 5. I unplug the serial cable from the HB, turn off the HB power switch, and
> leave IC running on the PC.  Leave HB power off for 10 minutes.  Plug serial
> cable back into the HB and turn on the HB power switch.  Instead of
> executing my " main( )" program (filename jrm1.c), the LCD displays the "IC
> v3.1 Handy Board 1.2" message with heartbeat.  Now, type " main( )" on the
> PC and my "main( )" program (filename jrm1.c) runs properly.
> 
> 6.  I have oscilloscoped the 62256 RAM chip's MEM-PWR pin and see no
> interruption of power when the HB power switch is turned off and on.
> Operation of the DS1233 (and subsequent 74HC132 gates) seems correct at the
> 62256's "/E" pin (20).
> 
> 7.  The red LED11 PWR LED (led 11) "winks" upon reset and the the
> oscilloscope shows a normal reset waveform at pin 17 on the 68HC11.  Reset
> also seems to correctly influence the "/E" pin (20) on the 62256.
> 
> 8.  Before downloading any " main( )" program to the HB, using IC, I peek
> (49150) [$BFEE] and (49151) [$BFFF] and see a reset vector of $C500 which, I
> believe, is the location of IC on the HB.
> 
> If I download a " main( )" program to the HB and then peek (49150) and peek
> (49151) the reset vector has not changed.
> 
> 
> I'm about at wit's end trying to get my HB to run a " main( )" program upon
> powerup reset.  Can anyone suggest additonal tests I might perform or
> provide some insight on what I am overlooking/misunderstanding?
> 
> Any assistance is greatly appreciated.
> 
> Going crazy in Columbus......John



Message is in Reply To:
  Reset & running Main ( )
 
Dear "Group", ....what are we? Lugnetters? Lugheads? Lugnuts? Regardless, I need some guidance on getting my Handyboard to run a downloaded Main( ) program upon powerup/reset. Here are some facts regarding my problem. 1. The Handyboard downloads the (...) (25 years ago, 29-Dec-01, to lugnet.robotics.handyboard)

14 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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