View Full Version : Blinking Red Light
teh_pwnerer795
20-12-2006, 22:18
Hey,
Code uploads, and works without the camera code..... on the other hand... when the camera code is added.... it'll upload and the program state will blink as well on the I/O...it will flash red on code error.... any hints on why this is happening??:)
Ps... controller is either 2005, 2006.... doesnt say on controller
you need to find out which controller it is, the camera code uses some libraries that need to be correct for the PIC inside, try reading the txt file included about using a previous years RC and see if that works.
teh_pwnerer795
20-12-2006, 22:58
you need to find out which controller it is, the camera code uses some libraries that need to be correct for the PIC inside, try reading the txt file included about using a previous years RC and see if that works.
Yes i think that will work cuz i just uploaded the old 2005 code ... and it works with the camera and everything.... thanxs for the help:)
When you run IFI Loader and do a Controller Verify it should tell you what controller it is.
teh_pwnerer795
21-12-2006, 17:17
When you run IFI Loader and do a Controller Verify it should tell you what controller it is.
Ye i do that but it doesnt say wat it is..... it just says version and FRC
also i keep getting this error'
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - processor types do not agree across all input files.
Errors : 1
BUILD FAILED: Thu Dec 21 17:14:28 2006
Did you follow all the instructions on using last years RC as I'm pretty sure that you have an 05?
teh_pwnerer795
21-12-2006, 22:16
Did you follow all the instructions on using last years RC as I'm pretty sure that you have an 05?
Mostly likely that i do. do u have the txt file that explains how to change the linker files or w.e? plz and thxs:)
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.
There you go
teh_pwnerer795
21-12-2006, 23:13
There you go
awesome thxs alot:)
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.