PICkit2 - Tutorials, Experiments
PICkit 2 - Small size USB programmer
from Microchip.
How to use it as a demo device for
USB programming in C language
Java SE SWING JSR-296 Example
How to run background task in
JSR-296 SWING application
with 'busy animation' in the status bar.
Useful addition to Netbeans template.
Computer vision
Vision is the main sense of our robots.
See some Java algorithms we use
Tips-n-Tricks
Some advices about hardware and software tricks
PIC Programming
(firmware)
Assembler program for PIC16F628A
Communication program for sending
commands from cell phone to motors.
Driver for motor controller.
RoboHobbyPlugin
Open Source project on
SourceForge, Java brain
for the robot
Now one more surprise: it is impossible to create loadable CD
using standard Windows XP software.
(If you know how to do this, send me message, please, I will correct this guide.)
:-)
To create Live (loadable) CD under Windows XP, you should use something like Nero software.
This is shareware software, it is not free, but you can use it free for several days.
Also I should say - it is really good program, if you still use Windows.
One more good program is 'CDBurnerXP'
I can recommend this free program 'CDBurnerXP', Site: www.cdburnerxp.se
If you use Linux, then you are happy - there is free Linux software - K3B.
Most Linux distributions have K3B installed on them.
If you install Nero program on your Windows PC,
then you can just click on iso file (sometimes people call it 'disk image file')
and the Windows open Nero, ready to write CD image to empty CD disk.
Note: In Nero do not forget to mark check box Verification.
It is important. In reality there may be problems during writing CD image to CD disk.
Verification after writing wiil help you to check - 'Is all OK?'
When you have KNOPPIX CD, you should test it.
Be sure that your PC is able to load OS from CD drive.
You should correct BIOS settings for this.
If your CD works, then all is OK.
You can start to re-construct it (re-install software applications and do customization).
Download new Java from SUN server.
I recommend you NOT to use RPM file.
It would be better to use 'bin' file. For example file jdk-6u3-linux-i586.bin .
Get the file and save it on your PC, for example in the directory C:\\LinuxNewJava
Now - about re-installation Java on your KNOPPIX.
First thing that you should keep in mind is the fact that KNOPPIX Live CD is Linux,
based on Debian Linux.
And because of this fact, you should use Debian way to add or remove software.
Open terminal program:
To see what is installed on you Linux,
you should open terminal window and type in command line:
>dpkg -l java*
You will see - what kind of Java do you have on your KNOPPIX now.
Then you should remove old Java (JRE), pre-installed on the original KNOPPIX CD.
Type in command line:
>apt-get -remove --purge java*
Note: The apt-get is the main program for
remove/install software in Debian (and as a result in KNOPPIX too).
I highly recommend you to study docs for apt-get utility and dpkg program too.
apt-get is based on dpkg utility.
You can see help screen for this programs, using parameter -help:
>dpkg -help
and
>apt-get --help
After removing old Java, see - what do you have now, after removing the soft.
One more time check it:
>dpkg -l java*
Now (when you removed old Java), you can install new version.
Open terminal window
Become a root - type in command line:
>sudu su
Mount your FAT partition, where you stored the file jdk-6u3-linux-i586.bin
I have such a partition on hda5
Type in command line:
>mount -rw /dev/hda5 /mnt/hda5
Open 'mc' (Midnight Commander) - Unix/Linux program, similar to good-old
Norton Commander for DOS.
Using F5 in 'mc' copy directory
/mnt/hda5/LinuxNewJava/
to
/LinuxNewJava/
Go to inside this directory
and run program 'jdk-6u3-linux-i586.bin'
Read the license (press 'Enter' amd move down)
Say 'yes' a the end.
New Java will be unpacked and installed in the directory
/LinuxNewJava/jdk-6u3-linux-i586
Go into directory
/LinuxNewJava/jdk-6u3-linux-i586/bin
And type:
>java -version
You will see new Java version.
If you place some your jar or class files to this directory, you can see how your programs work
under KNOPPIX Live CD.