Go to Post Those poor suckers on the West coast get three hours LESS sleep than we do afterward. Anyone else glad to see that crate go every year, regardless of what's in it? - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-01-2006, 22:39
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Exclamation PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Aha! I think I'm the first to notice this (no hits on a CDF search), so here goes... I now believe:

*** The 2006 Robot Controller has a new MPU, the PIC18F8722. ***

When compared to the PIC18F8520:
- FOUR times the program memory
... 128Kb (65K single-word instructions) vs 32Kb (16K single word instr)
- *Slightly* more SRAM
... 3936 bytes, vs 2048 in the 18F8520

In addition (I'm not sure if this matters, but it might to USART users):
- two EUSARTs (vs two USARTS, see spec sheets for differences)
- There are 2 CCP and 3 ECCP (vs 5 CCP only) PWM channels.
- Same amount of EEPROM, A/D, timers

You can look up both spec sheets at Microchip's Data Sheet Finder page:
http://microchip.com/stellent/idcplg...GE&nodeId=2046

Bottom line: MUCH bigger programs (FOUR times larger), and a tad
more RAM space! <yahoo!>

In addition, there is a new IFI loader (V12, vs V10) to support this on
the RC page that you'll need to download:
- http://www.ifirobotics.com/rc.shtml
> IFI_Loader v1.0.12 (zip, 1-3-2006)
> Must be used with the 2006 Robot Controller
> http://www.ifirobotics.com/docs/ifi-loader-v1-0-12.zip

FYI, This is how I figured it out... the INI file in the ZIP showed
PIC18F8722 support was added (over V10's "PIC18F442 & 18F8520
only" support.)

This probably means the KoP will have a new CBOT compiler this
year, to target the 18F8722.

I made a call, and heard rumor that the 18F8520 is no longer
in production (unverified), which would support a need to change
the MPU in the RC anyway. Given IFI's statement that you MUST
use the V12 loader for the 2006 controller, I'm pretty sure I'm right
about this.

Comments? Verification (or denials)?

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #2   Spotlight this post!  
Unread 05-01-2006, 22:48
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

What is a CBOT compiler?
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #3   Spotlight this post!  
Unread 05-01-2006, 22:53
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by phrontist
What is a CBOT compiler?
What IFI calls their KoP distribution of the Microchip C compiler for the PIC18F series MPUs. Needed to compile your C source robot control programs into a form capable of downloading into the robot controller.

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #4   Spotlight this post!  
Unread 05-01-2006, 22:54
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by kmcclary
There are 2 CCP and 3 ECCP (vs 5 CCP only) PWM channels.
So does this mean we have less PWMs?

Too bad it's not any faster
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #5   Spotlight this post!  
Unread 05-01-2006, 22:56
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by kmcclary
What IFI calls their KoP distribution of the Microchip C compiler for the PIC18F series MPUs. Needed to compile your C source robot control programs into a form capable of downloading into the robot controller.

- Keith
Ah, I never noticed they called it that.

You theory is intruiging, but there is always the possibility that one of the other IFI systems (Issac?) is moving to that MPU.

Still, here's hoping it happens!
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #6   Spotlight this post!  
Unread 05-01-2006, 23:01
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by phrontist
You theory is intruiging, but there is always the possibility that one of the other IFI systems (Issac?) is moving to that MPU.
Just out of curiosity, what chip do the VEX kits use? I have heard that the upgraded loader was changed simply so that VEX kits were supported.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #7   Spotlight this post!  
Unread 05-01-2006, 23:06
1075master's Avatar
1075master 1075master is offline
SLEEP IS POINTLESS!!!
AKA: John Nelson
FRC #1075 (Sinclair Sprockets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Whitby
Posts: 54
1075master is an unknown quantity at this point
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by kmcclary
What IFI calls their KoP distribution of the Microchip C compiler for the PIC18F series MPUs. Needed to compile your C source robot control programs into a form capable of downloading into the robot controller.

- Keith
could this maybe explain my problem trying to open hex files in the new ifi loader?? could hex be changed to something else??
__________________
2004 && 2006
-driver,head design, head build, secondary programmer

year >= 2007 && year <= 2009
-mentor in every aspect
  #8   Spotlight this post!  
Unread 05-01-2006, 23:16
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,383
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by Eldarion
Just out of curiosity, what chip do the VEX kits use? I have heard that the upgraded loader was changed simply so that VEX kits were supported.
2005 IFI RC and Vex both use the same PIC 18F8520.
The IFI Loader version 1-0-10 works with the 2005 IFI RC (not sure about 2004 RC). Version 1-0-11 was created to work with Vex but also works with 2005 RC.
It sounds like version 1-0-12 works with the 2006 RC. I hope it is backward compatible with Vex and 2005 and 2004 RC's. That way we will only need one version of the IFI Loader on our PC/Laptops.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #9   Spotlight this post!  
Unread 05-01-2006, 23:36
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

I see there are 2 SPI - I2c moduals. This could open up many new devices.
  #10   Spotlight this post!  
Unread 06-01-2006, 00:04
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by Eldarion
So does this mean we have less PWMs?

Too bad it's not any faster
If this device was to be in the 06 RC, it wouldn't matter. The PWM's we use are generated by software and not by the CCP module.
  #11   Spotlight this post!  
Unread 06-01-2006, 00:08
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by BrianBSL
If this device was to be in the 06 RC, it wouldn't matter. The PWM's we use are generated by software and not by the CCP module.
Except PWMs 13-16, which could be user generated. They weren't used much, though, as an interrupt intensive code could really mess them.

If this rumor is true - and it certainly looks like it, great catch - this is an amazing thing, four times more program memory will probably be more than enough for our needs (or will it? ).
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
  #12   Spotlight this post!  
Unread 06-01-2006, 20:51
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

If this is truly our new chip, I am going to make a prediction that the scripting language will return and be waayy more powerful than last year.
__________________
http://www.mikesorrenti.com/
  #13   Spotlight this post!  
Unread 06-01-2006, 22:38
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by Manoel
Except PWMs 13-16, which could be user generated. They weren't used much, though, as an interrupt intensive code could really mess them.

If this rumor is true - and it certainly looks like it, great catch - this is an amazing thing, four times more program memory will probably be more than enough for our needs (or will it? ).
Hey Manoel! Long time no chat... Thanks. I was pretty excited to catch this one.

Let's hit all questions at once...

Number of PWMs - This doesn't affect the I/O at all.
IMHO, the best use of this upgrade would be for swapping out
the robot program MPU, enlarging storage space for the robot
program itself.

Besides, I was under the impression that most (if not all) of the PWMs
were done by the *other* processor in the RC (or did they do away
with the two processor design and simply load up the one MPU
with more tasks? I haven't had time to delve into the new design
as much as the old one. Been too busy starting teams...)

Backward compatibility - YES. The 1-0-12 loader simply
ADDS support for the 18F8722. IOW, this is *in addition* to the
other two, so this one loader should take care of the Vex and
2005 RC as well.

Opening hex file problem - No clue. It shouldn't affect it
(famous last words), but I haven't had time to install and run
the new loader yet myself to check it.

Scripting languages - Good question. Also, I'm wondering if this
will affect the new CoreChart graphical programming at all.
But I really feel that if we're getting into THAT this year, the
company SHOULD have been brought into the loop on this change.

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #14   Spotlight this post!  
Unread 06-01-2006, 23:12
Chaychay Chaychay is offline
Registered User
AKA: Jay Shah
FRC #0610 (Crescent Robotics)
Team Role: College Student
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Toronto, Ontario
Posts: 48
Chaychay is on a distinguished road
Send a message via MSN to Chaychay
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

remeber how Kevin Waston kept hinting last year regarding "trig functions"....especially in his scripts. Maybe this new MCU has enough "power" to give us all the trig we need for angles and such, making autonomous much easier
  #15   Spotlight this post!  
Unread 06-01-2006, 23:44
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: PIC18F8722 - New 2006 RC MPU, 4x more program memory!

Quote:
Originally Posted by Chaychay
remeber how Kevin Waston kept hinting last year regarding "trig functions"....especially in his scripts. Maybe this new MCU has enough "power" to give us all the trig we need for angles and such, making autonomous much easier
But you NEVER want to use trancendental functions directly, especially not inside a loop. It is actually industry standard programming practice to use a lookup table when speed is most important.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing available program memory DanDon Programming 21 30-05-2005 17:00
program memory Chris Bright Programming 1 25-01-2005 08:54
how to add steps in the provided encoder program for the edu Zaramel2002 Programming 3 11-02-2004 08:35
Anyone looking for more program space? archiver 2001 13 24-06-2002 02:20


All times are GMT -5. The time now is 23:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi