User Tools

Site Tools


en:projects:4e4th:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:projects:4e4th:start [2018-05-12 12:10] – [Programmer] mkaen:projects:4e4th:start [2018-05-12 23:45] mka
Line 1: Line 1:
-====== 4E4th ====== +====== 4E4th -  the New Version 2018 ====== 
  
-4E4th is a small Forth running on TI's **LaunchPad**, residing inside the MSP430G2553.+4E4th is a small Forth running on TI's **LaunchPad**, residing inside the MSP430G2553 Flash memory.
  
-Communication with the 4E4th works with its line editoraccessed by a terminal  emulator. +Communication with the 4E4th works with its line editor accessed by a terminal  emulator. 
  
 4E4th((4e4th05a May 2018)) is based on MSP430 CamelForth version 0.5a written by B. J. Rodriguez for the TI MSP430G2553 Launchpad board. http://www.camelforth.com/  4E4th((4e4th05a May 2018)) is based on MSP430 CamelForth version 0.5a written by B. J. Rodriguez for the TI MSP430G2553 Launchpad board. http://www.camelforth.com/ 
  
-It is an ANS Forth subset, needs 6K of the MSP430G2553 MCU FLASH (0xE000-0xFFFF). +It covers an ANS Forth subset, needs 6K of the MSP430G2553 MCU FLASH (0xE000-0xFFFF). 
 There are 8K (0xC000-0xDFFF) free for your own Experiments. There are 8K (0xC000-0xDFFF) free for your own Experiments.
  
Line 17: Line 17:
 ===== Bootstrap Loading ===== ===== Bootstrap Loading =====
  
-  * You have a LaunchPad with TI's MSP430G2553 MCU and **4E4th inside**? - you have nothing further to do before starting.+  * If you have a LaunchPad with TI's MSP430G2553 MCU and **4E4th inside** you have nothing further to do before starting.
  
-  * In case you have your own LaunchPad with MSP430G2553 you need to FLASH the [[https://github.com/mikalus/4e4th05a|4e4th05a.hex]] Image, Intel Hex Format. Section "Programmer" below will tell you how.  +  * In case you have a new LaunchPad with an MSP430G2553 on it, then you need to FLASH the [[https://github.com/mikalus/4e4th05a|4e4th05a.hex]] Image, Intel Hex Format. Section "Programmer" below will tell you how.  
  
  
Line 25: Line 25:
 ===== LaunchPad Adjustments =====  ===== LaunchPad Adjustments ===== 
  
-Starting with Rev1.5 TI's LaunchPad has jumpers to switch Rx and Tx pins between Software UART and Hardware UART. +Starting with Rev1.5TI's LaunchPad has jumpers to switch the Rx and Tx pins from the interface between Software UART and Hardware UART function. The LaunchPad TXD and RXD jumpers on J3 at the LaunchPad board when delivered are set to the SW UART position by TI. 4E4th needs the hardware UART function, so the position of the TXD and RXD jumpers on J3 have to be changed as shown in the image of the MSP-EXP430G2 LaunchPad Quick Start Guide (SLAC432) to ensure that the Rx and Tx pins are properly configured for the HW UART.\\ 
-The LaunchPad TXD and RXD jumpers on J3 at the LaunchPad board are in SW UART position when delivered by TI. 4E4th needs the hardware UART, so position the TXD and RXD jumpers on J3 as shown with the image of the MSP-EXP430G2 LaunchPad Quick Start Guide (SLAC432) to ensure that the Rx and Tx pins are properly configured for the HW UART. \\ +
 {{:projects:4e4th:start:rxd-txd-launchpad-rev15.png?100|}} {{:projects:4e4th:start:rxd-txd-launchapd-rev15-schema.png?100|}} {{:projects:4e4th:start:rxd-txd-launchpad-rev15.png?100|}} {{:projects:4e4th:start:rxd-txd-launchapd-rev15-schema.png?100|}}
  
-In case you are using 4E4th with an older LaunchPad version, remove the TXD and RXD jumpers and connect the TXD and RXD pins crosswise. \\  {{:projects:4e4th:start:txt-rxt-launchpad-rev13.png?200|}} {{:projects:4e4th:start:txt-rxt-launchpad-rev13-schema.png?200|}}+In case you are using 4E4th on an older LaunchPad version, remove the TXD and RXD jumpers and connect the TXD and RXD pins crosswise. \\  {{:projects:4e4th:start:txt-rxt-launchpad-rev13.png?200|}} {{:projects:4e4th:start:txt-rxt-launchpad-rev13-schema.png?200|}}
      
  
Line 42: Line 41:
        
  
-== Windows XP, 710 ==+== Windows XP, 7 and 10 ==
  
-LaunchPad Windows USB Drivers have to be installed. +Here, the LaunchPad Windows USB Drivers have to be installed. 
   Further information is found at TI's document slau278h.pdf, page 139, Hardware Installation Guide.    Further information is found at TI's document slau278h.pdf, page 139, Hardware Installation Guide. 
  
-  * TeraTerm works fine. http://www.heise.de/download/teraterm-pro.html +  * TeraTerm will work fine. http://www.heise.de/download/teraterm-pro.html 
   * HyperTerminal does, too.    * HyperTerminal does, too. 
   If HyperTerminal doesn't work properly with 4E4th, check    If HyperTerminal doesn't work properly with 4E4th, check 
Line 53: Line 52:
   Only "Wrap lines that exceed terminal width" may be checked.    Only "Wrap lines that exceed terminal width" may be checked. 
   Line Feeds and Echo are not allowed.    Line Feeds and Echo are not allowed. 
-  * 4E4th-Terminal is a special Terminal Emulation for Forth Applications. Will be launched later. +  * 4E4th-IDE is a special Terminal Emulation for Forth Applications.   
  
 == macOSX == == macOSX ==
Line 465: Line 464:
            
 


If I remove the LaunchPad from the USB while TeraTerm still is running, the connection of the two remains disturbed. Thus Hotplug does not go. So far it only helps to close TeraTerm. Afterwards (!) disconnect LaunchPad from USB, wait for the sound sequence, connect again, and wait for the sound sequence again, then open the terminal. 

When using the FET-Pro430 Programmer, follow those instructions, too. I had good experiences to connect the terminal first and then start the Programmer. The MCU can be flashed even when terminal is active. mk  


If I remove the LaunchPad from the USB while TeraTerm still is running, the connection of the two remains disturbed. Thus Hotplug does not go. So far it only helps to close TeraTerm. Afterwards (!) disconnect LaunchPad from USB, wait for the sound sequence, connect again, and wait for the sound sequence again, then open the terminal. 

When using the FET-Pro430 Programmer, follow those instructions, too. I had good experiences to connect the terminal first and then start the Programmer. The MCU can be flashed even when terminal is active. mk 
 +
 +Looks like the newest TeraTerm can hot plug the Launchpad. mk 20180510
  
 ====== Acknowledgements ====== ====== Acknowledgements ======
Line 470: Line 471:
 Many thanks to the groundbreaking work creating CamelForth done by Brad Rodriguez.  Many thanks to the groundbreaking work creating CamelForth done by Brad Rodriguez. 
 Thanks to Dirk Bruehl for his untiring and altruistic support of the 4E4th Project, by ordering the appropriate hardware and encouraging with many hints and ideas to go on until CamelForth was running on the LaunchPad.  Thanks to Dirk Bruehl for his untiring and altruistic support of the 4E4th Project, by ordering the appropriate hardware and encouraging with many hints and ideas to go on until CamelForth was running on the LaunchPad. 
-mk 03-14-2012 +mk 20120314  
 + 
 +Thank you again, Brad Rodriguez, for transferring CamelForth to Naken Assembler! And thanks to Jürgen Pintaske, who persuaded me to transfer 4e4th to the Naken Assembler. mk 20180512
  
 ====== Links ====== ====== Links ======
Line 484: Line 487:
 http://www.ti.com/product/msp430g2553 http://www.ti.com/product/msp430g2553
  
-(mk20121224)+revisions mk20121224 mk20180512
en/projects/4e4th/start.txt · Last modified: 2018-05-13 00:17 by mka