Hi David, 1. It should be an easy exercise to turn USART1 into your AmForth speaking port.
2. Most of us, I guess, download/upload snapshots as you do even with a single board since when messing up things using MARKER to backtrack usually doesn't work and recompiling everything to get back where you were... simply takes too long. 3. When having multiple boards that's not even a question. I got so tired replugging my JTAG pod to resurrect the BOOFA project https://github.com/wexi/boofa.git and patched AmForth to make it compatible. Matthias considers it a hack but I am patient :-) Cheers, Enoch. David Wallis <inshallah...@gmail.com> writes: > Just solved a problem that's been ticking over in the back of my mind for > weeks, and that has a blindingly obvious solution. Apologies if this is > what people are doing routinely, but it didn't occur to me straight away > and might be useful to someone else. > > My problem was that I use an ATmega644p chip with 2 uarts. I have a device > connected to uart1 and an XBee radio on uart0. I interact with forth on > uart0. I have a development board with the XBee connection socketed, and > I've made an adapter with an XBee footprint and an FTDI USB chip. If I want > to talk to forth, I unplug the XBee and plug in my special USB adapter. The > problem is that once the radio is soldered directly on to the PCB I can no > longer talk to forth or upload new forth code. Unsoldering the XBee is also > not easy. > > I have been trying to think of a way of uploading my forth code via the > ICSP socket on my PCB, and wondered if it was possible to make a new forth > distribution with all my forth words and turnkey included. > > Of course, the solution is so blindingly obvious that I didn't think of it > at first. I just programmed my development board with all my software and > turnkey, and read the contents of the flash and eeprom, to files. It is > then possible to flash the hard soldered boards with the code from my > development board. I've tested it and it works fine, but you seem to have > to write the flash first. > > Again, apologies if this is obvious or already somewhere in the > documentation, but I didn't think of it for ages... > > David. > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel