Tuesday, April 16, 2019

Loading Forth Into the LPC1115 Board


Since I last wrote about loading software into an LPC111x board I have changed the procedure some. I'm going to use our latest LPC1115 board as an example. It has a built in USB port.

Install Jumper JU1 and plug your board into a USB port. Your computer will then search the 'net for a driver and load it. This may take a few minutes. Wait until you get a "Device Ready To Use" message on your screen. Then open up the Tera Term terminal program. Click "Set Up" and then "Serial Port" It will tell you which COM Port (such as COM 9) to use to load the software. Close Tera Term and open Flash Magic. Select your Processor (LPC1115/303) your Com Port and baud rate (9600) Click the "Erase All Flash+Code Read Prot" box. Select a HEX File. I got my file from Clyde's LPC1115 Forth (V1.6). You can also find all of his previous LPC1114/LPC1115 Forths there.

The general link for all his publicly available files is Clyde's FISH Forth.

Select verify after programming. Then START. You will get a "can not verify" message when done. Ignore it. Close Flash Magic. Remove the JU1 jumper and open Tera Term and set it up for your COM Port. 9600 8n1. (9600 baud, 8 bits, no parity, 1 stop bit, Flow Control ==>Xon/Xoff Transmit delay ==> 0 ms/char 4 ms/ line ). You can save the setup into a file. Push the Reset Button on the LPC1115 board. You will see a sign on message indicating the location of free Flash Memory. And the Forth Version installed.

You are ready to go.

Engineering is the art of making what you want from what you can get at a profit.

No comments:

Post a Comment