Author: eur.van.andel
Date: Thu Nov 20 00:53:57 2008
New Revision: 585
Modified:
wiki/ProgrammerOnPosix.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/ProgrammerOnPosix.wiki
==============================================================================
--- wiki/ProgrammerOnPosix.wiki (original)
+++ wiki/ProgrammerOnPosix.wiki Thu Nov 20 00:53:57 2008
@@ -152,14 +152,24 @@
This is what it is all about: actually flashing a .hex file into a PIC.
+You compiled a JAL program, say blink-16f877a.jal, successfully. Now you
have a hex file. Send this hex file to the programmer with the following
command:
+`python /usr/local/bin/xwisp/xwisp.py port /dev/tty.usbserial go
blink-16f877a.hex`
+and check the output. You should see something like:
+{{{
+XWisp 1.30, command line mode
+hardware: Wisp628 1.23 (fast) (wisp648 firmware)
+target: 16f877a, device code 0E20 revision bits 07
+OK
+}}}
+Congratulations! Your LED blinks!
-programming shell script
+== programming shell script ==
The command to program the hex file can also be put in a shell script, for
instance named xw:
@@ -171,11 +181,7 @@
chmod +x xw
-Now you can compile with:
-
-j2 jal_prog.jal
-
-and program with:
+Now you can program with:
xw go jal_prog.hex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---