Unfortunately there isn't a version of Phrozen SDK that can runs on Windows. The easiest way to do that is to use a Virtual Machine like VMWare that can runs a Linux systems on your desktop. Fortunately VMWare release a free version of a player that can runs prebuilt images of ready to use operative systems.
From this page you can download a VMWare image with Linux Debian Sarge 3.1 and the complete Phrozen SDK already installed.
Booting linux inside a VMWare session
Now your Phrozen SDK is ready to use.
Linux Debian Sarge 3.1 has by default a SSH server already installed. SSH is like a FTP server but is not integrated in Windows so to exange files between Windows and the Virtual Machine you have to use WinSCP, a freeware SSH client for Windows.
Check the IP address of Linux Virtual Machine typing:
debian:/home/fox/devboard-R2_01# ifconfigChange the IP on the fly if it needs typing:
debian:/home/fox/devboard-R2_01# ifconfig eth0 192.168.0.91
Then start WinSCP from windows:
A WinSCP Login configuration box
Now press Save if you want to save your configuration or Login to have access to the virtual machine:
WinSCP directory view
On the left you have now the directory tree of your real Windows machine and on the right the directory tree of the virtual machine.
To copy a file from a directory tree to another just drag and drop it.
Ethernet configuration on VM
After that set the eth0 IP address of the Linux VM using an address visible from the FOX Board like 192.168.0.91 typing:
debian:/home/fox/devboard-R2_01# ifconfig eth0 192.168.0.91then start the programming typing:
debian:/home/fox/devboard-R2_01# boot_linux -fOn the FOX Board close the BOOT jumper and reset.
The -f option will update the read only partition maintaining all the changes made on the rewritable filesystem (configuration file changes and user added applications). In this way you can change the only the system files mantaining application and configuration files.
To completely rewrite the whole Flash memory (including the MAC address configuration) use:
debian:/home/fox/devboard-R2_01# boot_linux -F
By default boot_linux uses fimage as default image file. To specify a different filename use:
debian:/home/fox/devboard-R2_01# boot_linux -f -i filename
The default keyboard layout of this VMware image is US. To change it type:
# kbdconfigselect Select keymap from full list and then the keyboard layout of your country.
# loadkeys /usr/share/keymaps/i386/qwerty/it.kmap.gz
When initially installed the VMplayer allocates 256 MB of RAM. The VM will run properly with 128 MB also. To change the size edit the *.vmx file with a text editor
memsize = "256"to
memsize = "128"Additionally you can do it via the VMplayer menu under Player -> Troubleshoot -> Change Memory Allocation...
Edit the *.vmx file with text editor If a floppy exists
floppy0.fileName = "A:"or if not
floppy0.present = "FALSE"
In the initial installation the CD-ROM drive is configured for a Linux system:
ide1:0.present = "TRUE" ide1:0.fileName = "/dev/cdrom" ide1:0.deviceType = "atapi-cdrom"In case of a Windows system you have to edit the *.vmx file with text editor and replace lines with following contents
ide1:0.present = "TRUE" ide1:0.fileName = "auto detect" ide1:0.deviceType = "cdrom-raw" ide1:0.autodetect = "TRUE" ide1:0.startConnected = "TRUE"
After shutting down the VM Player and restarting it sometimes the network connection gets broken. The reason for this is the "Automatic Bridging" of the VM Player to a network adapter in bridging mode. To get back the connection start the program vmnetcfg.exe in the directory where the vmplayer.exe is installed. Go to the Automatic Bridging page and switch off automatic bridging
Go to the Host Virtual Network Mapping page and select for VMnet0 an existing network adapter
The VM system is a completely capsulated system. So, there are two diferent files systems. To enable files access the easiest way is to install Samba on the VMplayer Linux system. Then a new drive can be mounted inside to host system.
debian:/home/fox/devboard-R2_01# ./sdk_version ---------------------SDK VERSION INFO--------------------- Your SDK is currently at version <---- number version missing !!! ----------------------------------------------------------probably your Linux configuration about default gateway or nameserver are wrong and you are not able to reach internet from inside the VMWare Linux machine. With a quick ping to a internet website you can check that this is occurring. If you are unable to ping any internet site from inside the VMWare Linux neither inserting its name (like: ping www.acmesystems.it) nor with its IP address (like: ping 184.108.40.206) then your default gateway to internet of the Linux vmWare machine is configured wrongly.
To set the proper gateway in your VMWare Linux environment enter this command:
debian:/home/fox/devboard-R2_01# route add default gw xxx.xxx.xxx.xxx eth0where xxx.xxx.xxx.xxx is the IP address of the gateway to internet in your internal LAN.
If you instead are able to reach an internet site with a ping to its numerical IP address but not with a ping to its name then your gateway is set correctly but your nameserver settings are not correct so your Linux VMWare is unable to reach a DNS server to convert the name address in its IP address.
To set correctly the nameserver information inside the VMWare Linux machine edit the file /etc/resolv.conf and insert the IP address of one or more DNS servers like in the following:
-------- content of /etc/resolv.conf -------- . . nameserver 220.127.116.11 nameserver 18.104.22.168Sometimes inside /etc/resolv.conf is written, as nameserver, the IP of the internal LAN gateway. In this way Linux is delegating the DNS operations to your internet provider but it happens sometimes that the LAN router is not forwarding correctly the information to your internet provider so that the resolution of the destination IP is not executed. Inserting as nameservers one or more correct addresses of working DNS servers will permit to your VMWare Linux machine to be able to reach internet and complete correctly the sdk_version and sdk_update commands.
Atmel© Certified Partner
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The maintainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems does not provide any direct support for the Open Source preinstalled software but does provide, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme platforms. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source and you will need to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore ask that you post your questions directly to the forum listed below and ensure that all of the site contributors and large software community will read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.