Step 3: Writing your first Program with BASICtools

Start the BASICtools from the Start-Menu or from the Desktop Icon.   You should see a welcome message which has been sent from the ARM processor-

Reset ARMexpress

If you do not see this welcome, even after pushing the RESET button, then communication has not been established.

The traditional "Hi Mom" program

The traditional Hi Mom program

So type something like the traditional     PRINT "Hi There"   
When you hit the ENTER key it will be sent to the compiler on the PC and be echoed back
in the console window. (below)


Now RUN the program



Now RUN the program

Now RUN the program

Which you can do by either typing RUN or hitting the RUN button at the top of the screen.


And see the results


And see the results

You can notice a number of things. First the program is compiled and then written into
Flash memory, and your program takes 40 bytes of code and less than 10 bytes of data space.
Next the program will be executed, as evidenced by the output of "Hi There" to the console.
ARM also reports back how long the program executed, in this case 8 msec, which is mostly startup time.

Also your program is now saved in the ARM Flash memory.  And it will be executed the next time the board is RESET.  So try that...




Now wiggle some pins from a program