Re: [Flashforth-devel] FlashForth
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2012-09-15 16:30:03
|
Thanks Mike, WRT your questions. 1) I have only used the ASM30 and C30 suites. The MPLAB project files tool paths may not agree with your installation. Or was it some othet problem with ASM30 ? 2) I never quite figured what the Microchip logic is for defining the processor family macros. I have noticed the same behaviour as you. 3) There could be a config option for selecting the OPERATOR UART. The Atmega FF has that. 4) It would be possible to use EEPROM emulation or external EEPROM for those 18F parts which do not have EEPROM. I actually did a version for FF3.x with EEPROM emulation but it was never quite finalized. If you want, you could ship a container of wine to me, hi, hi. And finally, please join and post to the mailing list. It spreads the information better. Its been very quiet on the mailing list. I assume there are no problems, or nobody is using FlashForth. 73s de Mikael On 15.9.2012 2:03, Mike Miller wrote: > Mikael, > > Thank you for creating FlashForth. > > I was delighted to find your FlashForth, as I find that PIC assembly is > tedious, and the C is worse. > I have used Forth for many years. I used FIG Forth (68HC11) and > Win32Forth (PC) extensively in a commercial winery system I designed in > the '80s and 90s. > > I have brought FlashForth up on the Microchip Explorer 16 development > board with the PIC24FJ128GA010. > I had issues getting it to work. Now that I do have it working, perhaps > my experience will be useful for others. > > 1) It was not clear which assembler to use. After experimentation, it > became apparent that one must use the XC16 suite, NOT the ASM30 suite. > 2) There is a problem with the includes, we think it is in the Microchip > XC16 assembler. With the PIC24FJ128GA010 selected, the code loads > p24f_cinfig.inc, instead of the p24fj_config expected. This occurred > under both MPLAB 8.87 anf MPLABX 1.3. It caused a lot of frustration > trying to change serial ports until it was figured out. > 3) For others trying to load on the Explorer 16, the following changes > are required: > A) In the file p24f_config.inc > 1) change the config lines to read: > config __CONFIG2, 0x7B7E > config __CONFIG1, 0x3F3F > 2) Remove the ; before the .equ BAURATE2 line, as we will be > using UART2 > 3) change the .equ PFLASH to 0x2000 for 8K of RAM > B) In the file ff.s WARMLIT area, change the reference to TX1 to > TX2, RX1 to RX2, and RX1Q to RX2Q > > I also brought FlashForth up on the PIC18F4510, which has no EEPROM. Of > course, it cannot write to the dictionary. Is it possible to run > FlashForth in a PIC18F by disabling EEPROM in the code? > > Again, thanks! > > 73, > > Mike Miller WB6TMH > Moon Valley Circuits > mi...@mo... > http://www.moonvalleycircuits.com/ > (707) 996-4157 > 12350 Maple Glen Rd. > Glen Ellen, CA 95442 USA > |