Ok, I will get my hands to work.
It seems like i will have to rewrite most of my code as i began to have problems just today before reading your post.
i will surely have all your answers in mind,
TX Again,
Yoshua
Ok, I will get my hands to work.
It seems like i will have to rewrite most of my code as i began to have problems just today before reading your post.
i will surely have all your answers in mind,
TX Again,
Yoshua
Even though the interrupts for 18F's are more complicated, do you plan on making the code work for them sometime in the future. I wish I was fortunate enough to know assembly as well as you do. I have been reading in the 18F datasheets and they say you can enable and disable the interrupt priority feature. Would disabling the priority make it more doable. Or if not, maybe something like setting all the interrupts to either high priority or to all low priority. Anything I can do to convince you to do take on the task for us![]()
Last edited by jheissjr; - 24th February 2006 at 08:34.
An exert from an 18F datasheet:
When the IPEN bit is cleared (default state), the interrupt priority feature is disabled and interrupts are compatible with PICmicro mid-range devices. In
Compatibility mode, the interrupt priority bits for each source have no effect. INTCON<6> is the PEIE bit, which enables/disables all peripheral interrupt sources. INTCON<7> is the GIE bit, which enables/disables all interrupt sources. All interrupts branch to address 000008h in Compatibility mode.
Last edited by jheissjr; - 24th February 2006 at 08:49.
Yes, you can make an 18F work like a 16F.
But why buy a Ferrari, if it comes with a 60mph governor?
Actually, I already have it working like that. But, I don't want to release a crippled version.
Patience.
<br>
DT
Hi Darrel, i certainly agree with your idea of using interrupts priority, but for the moment i would really find useful this system in 18F devices as i need for example more code (32K) or even the USB port.
My 16f877 is full even with the method of storing strings in the code space.
By the way, i am also looking to make my project to PRINT in a standard ASCII characters printer, can you give me any advice?, an easy link?. Thanks!!.
This might help with the printer part...
http://www.picbasic.co.uk/forum/showthread.php?t=218
<br>
DT
I would like to use the 18F because it has a large amount of RAM and code space. Other wise I agree, I would be using a 16F. Would you mind releasing the 'governed' version of what you have so far.
Bookmarks