|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Problem with the 2005 controller
The code has certainly no problem because it worked on the 2006 controller. I'll try to tether it to see if it helps. Another thing I noticed was that when I pressed the RESET button, it was as if I pressed the PROG button, meaning that the controller was initialized after I pressed RESET
|
|
#2
|
|||||
|
|||||
|
Re: Problem with the 2005 controller
Quote:
From the Using_Last_Years_FRC.txt file included with the 2006 default code: Code:
To compile this project to work with your 2005 FRC (18F8520) system do the following:
1. Select the correct device from the MPLAB IDE.
Configure->Select Device->PIC18F8520
2. Replace the library file with the appropriate one.
Remove the FRC_Library.lib file and replace it with FRC_Library_8520.lib
or
Remove the FRC_alltimers.lib file and replace it with FRC_alltimers_8520.lib
3. Remove the 18f8722.lkr file and replace it with the 18f8520.lkr file
4. Rebuild your project and download the HEX file to your controller.
|
|
#3
|
||||
|
||||
|
Re: Problem with the 2005 controller
This might be the solution to my problem. I'll do that on Sunday when I get to see the controller again.
Thanks. |
|
#4
|
|||
|
|||
|
Re: Problem with the 2005 controller
Yes today i had the same situation! .. thats what i thought... something wrong with the MPLAB hex file created.. worked with other controllers but that 1
![]() |
|
#5
|
||||
|
||||
|
Re: Problem with the 2005 controller
I switched the files, but still, it didn't make any change. The controller still seemed to be stuck and the LEDs weren't blinking. Do you know what could possibly cause it?
|
|
#6
|
|||||
|
|||||
|
Re: Problem with the 2005 controller
Tether the RC and OI. Plug the OI into the wall. Download the default code. Check the OI dashboard (set OI to RC mode). Does the 2005 default code work? Do any errors appear on the dashboard?
If that works, try again with your program recompiled for 2005. Does your code work? Do any errors appear on the dashboard? Is it just me, or does this seem to be a recurring problem? |
|
#7
|
||||
|
||||
|
Re: Problem with the 2005 controller
Also you might want to try a master reset. This disables the user processor and allows you to download programs in the event of a problem preventing the user processor from accepting downloads normally. If you can't get the light out of program mode you could have this issue.
Hold down both RESET and PROG buttons for ten seconds. Then release RESET and hold PROG for another ten seconds, then release. It should result in a power light, and an orange program light and nothing else. I think. It's been a while, if that doesn't work, trying releasing PROG after ten seconds and holding RESET for ten more, it's one of those two I think ![]() |
|
#8
|
||||
|
||||
|
Re: Problem with the 2005 controller
Quote:
I pressed RESET and PROG for 10 sec and than continued to press RESET for 10 more and than all the LEDs returned to blink normally. Thanks, Guy |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with the battery charger | Lightposter | Electrical | 4 | 19-01-2006 10:39 |
| problem with the default code | MarkVH | Programming | 7 | 28-01-2005 00:04 |
| Problem with Lowering the Bar | Kevin Kolodziej | General Forum | 14 | 12-01-2004 21:58 |
| Problem with interrupts on the PIC | Mike Betts | Programming | 7 | 16-12-2003 21:26 |
| The problem with scouting... | archiver | 2001 | 10 | 23-06-2002 23:49 |