Not on ALL 18F parts they're not, so be careful.Since all SFR's are located in the Access Bank
Not on ALL 18F parts they're not, so be careful.Since all SFR's are located in the Access Bank
Yes, many of the newer 3.3V J series (particularly those with USB and/or Ethernet) do have SFR's located in other than the Access Bank. IIRC, Charles uses a PIC18F8722 (or 8723) and in that case, all the SFR's are located in the Access Bank.
In any event, you have highlighted one of the main reasons PIC's (particularly the PIC16/18) are not my current choice of MCU - too many gotchas, Ram Banks, Code Pages, etc., although the PIC24/dsPIC are somewhat better in this respect. There is something to be said in having 4GB of linear addressing space for both code and data.![]()
Thank you all.
And about that linear addressing space and 4MB of FLASH:
While my coding abilities have not really progressed past the 18Fs, my hardware needs have.
I have an ARM9 development kit and I'm re-learning 'C' ...
Charles Linquist
Just thinking about the old R-M-W problem.
It would probably be better to ...Code:@ btg LATG,4
DT
In fact, that is what I wound up doing.
And Darrel, while I have your ear...
DT_Ints seems to screw up the ICD2 debugger. I get a "duplicate labels" error just past point where the int handler is inserted.
I seem to remember something about this in the MPASM manual, but can't find it right now. Is there some secret I need?
And, I'm assuming I can remove the 'Disable Debug' and 'Enable Debug' labels in DT_INTs18, correct?
Charles Linquist
Bookmarks