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 / *6889 (-10)
  Re: Time available during 1 kHz system interrupt?
 
The controls are spread across a couple of files, mainly in libhb.c we get /* pulse width modulation control: if off, all motors run at full speed if on, speed bytes are used to determine motor speed */ void system_pwm_on() {bit_set(0x39, (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Time available during 1 kHz system interrupt?
 
(...) Mostly PWM will get jerkier. If you sit to long in there and the motors happen to be 'on' then you can go faster than you would like :-) You also "lose time" in the sense that msleep is no longer accurate so there are issues with tasks that (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Time available during 1 kHz system interrupt?
 
Interesting discussion but it raises a few more questions. Are there any (bad) side effects when user code that is inserted in the ISR takes longer to execute than the 1 msec interrupt cycle. From experience it appears that the ISR runs on the next (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Help needed reviving my HB
 
Hello, Sorry, I made a mistake. "74HC244 was dead" should be read as "74HC373 was dead" This is the one soldered on the board directly without socket. It is located underneath the SRAM. Removing all ICs except 74HC132, 62256 SRAM, and MC68HC11 CPU (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Help needed reviving my HB
 
Hello Edward and everyone, There are several causes that the Handyboard won't boot. 1) 62256 SRAM was dea 2) 74HC244 was dead 3) The Handyboard cannot put into bootstrap mode You can try to do the followings: Removes all the ICs on Handyboard except (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Help needed reviving my HB
 
Hi Everybody, Ensio, I'm having a very similyar problem, but with an interesting twist! Check this out! I still don't have any idea what is going on here... None of these have expansion cards. I have 5 HB's from when this robotics class was taught 2 (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Time available during 1 kHz system interrupt?
 
Hi Greg, It all depends. Various features of the HB can be turned on and off to change the amount of work done in the main ISR. By default the code uses 300ms to execute. The file lib_hb.c provides the following: /***...***/ /*** System Interrupt (...) (25 years ago, 2-Nov-99, to lugnet.robotics.handyboard)
 
  Another Question About making .icb's
 
Hey Group, I'm currently trying to get assembly files to work with my HB, i've discovered that the exe I need; as11_hb.exe only runs on UNIX, so you have to use (URL) to assemble the files, which I might say is a little inconvenient. So, where can I (...) (25 years ago, 1-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Does ic 3.1 really works properly?
 
(...) Looks like it's time for my advertisement: Download HC11 patches for the GCC-2.8.1 compiler from my web page: www.eskimo.com/~archer or from ftp.eskimo.com/u/a/archer. They're GPL'ed, so they're free. Also on my home page is a link to the (...) (25 years ago, 1-Nov-99, to lugnet.robotics.handyboard)
 
  Re: Time available during 1 kHz system interrupt?
 
Greg, As much as you want. Your program is executed until it is finished, then the system interrupt routines follow, and run until they are finished. Good Luck, Gary Livick (...) (25 years ago, 1-Nov-99, to lugnet.robotics.handyboard)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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