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 / 8542
  Re: JRM code and Reset
 
Fred, Thanks for the info on how IC determines whether to auto-start a program or not. Based on your suggestions ---- I just finished downloading the open-source (free) version of IC. I had been running Newton Labs 3.1 and most recently 3.2. I (...) (22 years ago, 2-Jan-02, to lugnet.robotics.handyboard)
 
  Re: JRM code and Reset
 
Wow, What a bugger! This is one of the strangest cases I've seen. Works fine while connected, but not when reset. Works fine on my board either way. Memory and 68HC11 have been traded out. Scope shows no voltage drop at Mem-power durring reset. Both (...) (22 years ago, 2-Jan-02, to lugnet.robotics.handyboard)
 
  Re: JRM code and Reset
 
Since it seems like everything else has been checked, I have one other suggestion after looking at my pcode source. If the "start" button on the HB is pressed during power on, the autostart will be disabled. Has your hardware been hacked at all, (...) (22 years ago, 2-Jan-02, to lugnet.robotics.handyboard)
 
  Re: JRM code and Reset
 
Dan, Yes, I did cut the trace for external motor power. I know the HB and the motor power "+" sources are isolated because I not only checked with a VOM, but I removed the motor supply batteries and when I run my motor test program (remember, no (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: JRM code and Reset
 
Matt, The only mod I've made to my HB is to cut the motor power supply "+" trace and use a separate motor power supply. See my post/response to Dan for my explanation of that. After reading your START button question, I triple checked. I don't (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  main() Reset -- THE SAGA ENDS !! ---
 
Fellow Lugnuts, Doe anyone want to purchase a 74HC244 (U5) that "kinda works" ? YES, YES, believe it or not, U5 was my problem !! The mystery is not totally solved, because even using both a logic probe and an o-scope, I cannot see any indication (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: main() Reset -- THE SAGA ENDS !! ---
 
Awsome!!! Now we are expecting great things from you :-) -Dan (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: JRM code and Reset
 
John, I just did the same test, I think what Fred was saying is that IC sets the 0x8000 to accept a startup program if one is loaded. If I poke a 0 to that address then load any program it sets back to 1. I think he was wandering if your IC version (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  0x8000 and main()
 
Dan, Perhaps I'm misinterpreting what you mean by "a startup program". To me, a "startup program" means there is a file downloaded to the HB that contains a " main() " function, i.e., a function which will automatically be executed upon startup (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: 0x8000 and main()
 
John, I think it lies in the Pcode, in other words if the pcode sets the 0x8000 to 1 then any program loaded that has main() in it will auto run at startup. If the pcode does NOT set 0x8000 to 1 then no matter what you have loaded as a program it (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: 0x8000 and main()
 
I don't think this is quite it -- IC sets the byte if there's a main fcn. It also sets up some code so that main fcn gets run. Fred (...) (22 years ago, 3-Jan-02, to lugnet.robotics.handyboard)
 
  Re: 0x8000 and main()
 
Fred and Dan, For some reason, I'm apparently having trouble explaining my findings, doing something wrong -- or not understanding what Fred is telling me. Now that my HB runs " main() " functions just fine upon powerup reset, I did my experiment on (...) (22 years ago, 5-Jan-02, to lugnet.robotics.handyboard)
 
  Re: 0x8000 and main()
 
Fred, Dan, and Chuck, Thanks to an email from Chuck McManis (thanks, Chuck), I now have a better understanding of what's going on with respect to the main() function and memory location 0x8000. Chuck asked me if the main() function is executed after (...) (22 years ago, 6-Jan-02, to lugnet.robotics.handyboard)

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