06-03-2009, 12:21 AM
|
#1521 (permalink)
|
Moderate your Moderation.
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,919
Pasta - '96 Volkswagen Passat TDi 90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 Posts
|
Quote:
Originally Posted by Intrigued
29... 28... 27...
You guys may as well be working on HAL for all the help I could be. I guess I'll just stay up in the nosebleed section and watch with my binocs...
|
Hardware Abstraction Layer?... Just repair install... and then you're fine.
Unless you're talking about that computer in that one movie...
__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"
Last edited by Christ; 06-03-2009 at 12:32 AM..
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
06-03-2009, 08:51 AM
|
#1523 (permalink)
|
Losing the MISinformation
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393
Thanks: 15
Thanked 3 Times in 3 Posts
|
Quote:
Originally Posted by Christ
Hardware Abstraction Layer?... Just repair install... and then you're fine.
Unless you're talking about that computer in that one movie...
|
2001: A Space Odyssey
HAL 9000 ( Heuristically programmed ALgorithmic Computer)
NOT a one-letter shift from IBM...
Became operational on Jan 12, 1992 (1997 in the book)
One of the greatest movies of all time... until that last 10 minutes or so...
Can read your thoughts through your computer, and is glad you edited your remark...
__________________
The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
|
|
|
06-03-2009, 11:19 AM
|
#1524 (permalink)
|
Master EcoModder
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096
Thanks: 0
Thanked 17 Times in 14 Posts
|
Quote:
Originally Posted by motor_control
|
I have used this and it is spectacular. However, it is useless for analog stuff. It is best suited to digital timing analysis and logging communication over I2C, SPI, UART, etc, or watching parallel busses pass information.
Paul could use it to watch the UART, the PWM output from the cpu (NOT THE DRIVER) and the hardware current limit. That's about all.
|
|
|
06-03-2009, 12:30 PM
|
#1525 (permalink)
|
EcoModding Lurker
Join Date: Feb 2009
Location: MO
Posts: 37
Thanks: 0
Thanked 3 Times in 2 Posts
|
When will one of you electronics savants come up with an ILLOGIC ANALYZER and an interface to attach it to the female brain?
I have so many questions that such a device might help answer. So much that I don't understand. I know I'm not the only guy that would appreciate more precise understanding about how women think than the Magic 8 Ball can provide.
|
|
|
06-03-2009, 12:31 PM
|
#1526 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
Quote:
Originally Posted by MazdaMatt
Paul could use it to watch the UART
|
Well, he *could*, though I would strongly suggest a serial terminal program or serial device for watching the UART
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|
|
|
06-03-2009, 12:38 PM
|
#1527 (permalink)
|
Master EcoModder
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096
Thanks: 0
Thanked 17 Times in 14 Posts
|
Yes, he could - unless it wasn't working correctly. Then he'd need the logic analyzer or a scope to find out why. The logic analyzer has a nice feature called "automatic baud rate detection" that can give you a quick answer to dead com if you've made a simple divider mistake.
I have also used that personally to solve a UART problem - but it was between two electronic devices, rather than a board and a computer. There was a problem with the message encapsulation resulting in ignored messages and this tool quickly found that issue for me.
|
|
|
06-03-2009, 01:22 PM
|
#1528 (permalink)
|
EcoModding Lurker
Join Date: Apr 2009
Location: Oryeegone
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
|
Quote:
Originally Posted by slurryguy
When will one of you electronics savants come up with an ILLOGIC ANALYZER and an interface to attach it to the female brain?
I have so many questions that such a device might help answer. So much that I don't understand. I know I'm not the only guy that would appreciate more precise understanding about how women think than the Magic 8 Ball can provide.
|
You're facing a hopeless situation there, my friend.....I've determined that the female brain is wired such that 2 + 2 = 32.5 + "that time 6 years ago, when we were at that party and you humiliated me in front of my friends when you made that rude comment about the size of my butt during my pregnancy....you a-hole!"
See how simple it is? The term "logic" simply does not apply...
Just kidding ladies....I mean no offense to any female ecomodders out there. If you're an ecomodder your brains are obviously wired correctly.
Sorry - off thread....
Wherewolf
|
|
|
06-03-2009, 07:33 PM
|
#1529 (permalink)
|
PaulH
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
|
You guys are going to get me into trouble! Sabrina reads this sometimes! hahaha!
I'm ordering the parts for the power sections for the 3 controllers probably tomorrow. I just have to wait until the remaining money gets into the bank account from Paypal. Man, I sure love Paypal, and I'm not being sarcastic at all. The parts won't be here until after June 22, though! haha! Stupid Digikey is almost out of the mosfets again. They only have 11, and I need to order 25 to get the cheaper price, so they will get more on June 22.
Hey, the control boards should be to the engineer by tomorrow! ya!
Last edited by MPaulHolmes; 06-03-2009 at 08:18 PM..
|
|
|
06-04-2009, 12:17 AM
|
#1530 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
Paul, not sure if this is working yet, couple comments on the conversion:
/trunk/HighVoltageControllerRefactoredISRReorganized.c - Open ReVolt - Trac
Sorry, it's just an optimization though.
Calling ReadThrottle and ReadCurrent in ISR (ADC_vect) adds a bit of code to that interrupt handler. Might just update the raw current and throttlePos variables directly (like temperature) and have a void ReadThrottle(int16_t) that you pass tmpThrottle to after making a copy of it, but outside the cli block in main. Same for ReadCurrent. Can inline them too. Might call them ConvertThrottle and ConvertCurrent instead too.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|
|
|
|