View Full Version : PBP, 16F1827, FSR, and Error 113
RussMartin
- 24th February 2010, 21:42
I've looked at several discussions/comments about Error 113, but haven't yet found one that applies.
At compile, I get:
Error[113]c:\ff501\ccf717~1.asm 295 : Symbol not previously defined (FSR)
Error[113]c:\ff501\ccf717~1.asm 324 : Symbol not previously defined (FSR)
I made the corrections at http://www.picbasic.co.uk/forum/showthread.php?t=12628 and don't think I overlooked anything.
I am using DT_INTS.
The original PBP application ran on a 16F88.
ScaleRobotics
- 24th February 2010, 21:51
The 16f88 has a single FSR register. The PIC16F1827 has FSR0 and FSR1 registers.
RussMartin
- 24th February 2010, 22:03
The 16f88 has a single FSR register. The PIC16F1827 has FSR0 and FSR1 registers.
Yes, I see that in the 1827 manual.
Where do I look to diagnose the cause of the message and solve the problem?
RussMartin
- 24th February 2010, 22:12
Okay.
As an experiment, I commented out everything having to do with the interrupts: Both "includes", the associated ASM block, and both the enable and disable commands ('@').
It now compiles with no errors.
It won't run, of course, because I need the INT_INT.
Darrel, can you chime in on this one, please?
Darrel Taylor
- 24th February 2010, 22:13
Russ,
Are you using DT_INTS-14 version 1.0?
http://www.darreltaylor.com/DT_INTS-14/intro2.html
File is at the bottom of the page.
It was updated for the 16F1 chips, and adds many INT sources.
<br>
RussMartin
- 24th February 2010, 22:24
Are you using DT_INTS-14 version 1.0?
DOH! My "favorites" link still brings up the old page. I did look . . . apparently not well enough.
Thanks!
Darrel Taylor
- 24th February 2010, 22:48
Yeah ... sorry.
I haven't updated the main page yet, because I've received ZERO feedback from the people that I know downloaded it.
I could assume that means it worked for them, or they would have complained.
But until I get some idea if there's problems, I don't want that to be the file everyone downloads their first time.
Love to know how you get along with it.
Thanks,
RussMartin
- 24th February 2010, 23:59
If my "blinky" is any indication, it works fine for INT_INT, which is the only one I'm using at the moment. I also tested it (INT_INT) in the full program, and it is working, both on the output and driving a "heartbeat" indicator at the same time. (It's a zero-crossing detector.)
The rest of the program is problematic. As I mentioned, it worked on the 16F88, but only one channel works correctly on the 16F1827. I have to assume I have overlooked something in terms of managing and/or definining pins/ports, since each channel's code is identical.
I may be yelling for help yet this evening.
Darrel Taylor
- 25th February 2010, 01:15
If my "blinky" is any indication, it works fine for INT_INT, ...
That's a start. :)
Thanks!
I may be yelling for help yet this evening.
OK.
Don't forget ...
ANSELA = 0
ANSELB = 0
<br>
RussMartin
- 26th February 2010, 00:32
I'll be working with TMR1 and IOC interrupts during the next few/several days (going back to the "reverse Simon says" project) and will let you know how those fare. NRN.
ScaleRobotics
- 27th February 2010, 06:04
I haven't updated the main page yet, because I've received ZERO feedback from the people that I know downloaded it.
Darrel, your interrupt version 1.00 gets a thumbs up from me. I have only tried a few different types of interrupts with it, but it works great.
ShoKre
- 13th January 2014, 09:04
post deleted
wrong treed
i fond problem,
my wrong file name save
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.