|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
Here's an idea for someone with access to a 2006 controller: Try compiling your code for the PIC18F8520 instead of the PIC18F8722 and see if that cures the problem. It'll still run on the '8520, but I wonder if it might fix some of the problems (if it is truly a compiler bug, maybe it is restricted to the '8722 compiler). Just a hunch... ![]() |
|
#2
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
Greg |
|
#3
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Thanks to the Wayback Machine (www.archive.org), I was able to find the 2.42 upgrade file here:
http://ww1.microchip.com/downloads/e...oc/C18_242.zip Aha! I found the 2.44 upgrade file here: http://ww1.microchip.com/downloads/e...rade-v2_44.exe I found this interesting section in the Readme (emphasis mine): "The following parts have updates and/or corrections: 18F6520, 18F6620, 18F8520, and 18F8620" Also, it makes mention of the 18F8722 having a problem or two... ![]() Last edited by Eldarion : 06-03-2006 at 16:20. |
|
#4
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
Has anyone tried a master update in case some of the RCs have a corrupted master firmware? |
|
#5
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
|
|
#6
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
I asked IFI if they knew what master processor version was shipped but I haven't gotten a reply yet. Part of post to IFI new problem under gsmith last night... ******* I ran into a problem at the VCU regional starting last Friday where the communications between the OI and RC were getting corrupted. It looks like the data structure between the master processor and the OI is shifted by a byte or so. We are using the 2006 RC and OI received in the FIRST KOP. We have not re-flashed the master processor and I don’t know what firmware revision it is although I noticed that the date of the Frc_master_v12.bin file, the latest?, is 10/27/2005 so I assume we have the latest master code. ***** |
|
#7
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
|
|
#8
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
"2006 RC Code (zip,21-28-2006) Contains both Default/User and Master Code, contains new libraries below." Zip file. |
|
#9
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
![]() |
|
#10
|
|||||
|
|||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
I have a 2004 upgraded to a 2006 RC sitting at my house. I will try to get a battery and try to reproduce the results. Since we were also having similar problems through the day, I would be glad to test out anything suspectible. Please get in contact with me if you think you have a possible solution to this problem or a way to get there. I never spent time at NJ trying to correct the bug. I just replaced the battery. Thanks
-Bharat |
|
#11
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
IFI appears to be working on this, and has sent me an updated linker script which I am going to test to see if this corrects the issue. I'll let you know how testing turns out.
|
|
#12
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
-Kevin |
|
#13
|
|||
|
|||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
We were running our practice robot tonight and ran into a very similar problem. In the middle of running the robot manually, the inputs stopped working and the OI displayed 8.6v. After cycling power on the robot, it worked fine. Could this be another manifestation of this issue? We are using the 2005 controller and easyC.
|
|
#14
|
|||
|
|||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
I dont have our 2006 controller or any parts with me. But anyone who had this issue please post what you find after using this new linker script.
|
|
#15
|
||||
|
||||
|
Re: The 8.2 (or 8.3) Battery Voltage Bug
Quote:
As for 18f8722_2.44.lkr, if you try to use it as provided, you get a "Error - section '_entry_scn' type is non-overlay and absolute but occurs in more than one input file" from the linker, which requires that you comment out the first "FILE" line in the .lkr script. After that, IFI Loader won't upload it, giving an "invalid address : 0x20 (Correct Range: 0x800-0x7fff)" error. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading battery voltage in software | RbtGal1351 | Programming | 17 | 21-10-2007 13:07 |
| How to obtain battery voltage from within EasyC | DavidSJohnson | Programming | 2 | 14-02-2006 00:05 |
| battery voltage compensation | Rickertsen2 | Programming | 5 | 17-10-2005 22:12 |
| RC Circuits | Melissa Nute | Math and Science | 3 | 25-01-2004 05:02 |
| Battery Chargers | Neal Probert | Electrical | 46 | 16-02-2003 22:31 |