

What do I need for the development?


you will need:

cdk-nios-binutils
cdk-nios-gcc
cdk-nios-gcc-c++
cdk-nios-libgloss
cdk-nios-newlib

and unix2dos 

----------------------------------------------------------------------------------------

After having installed the toolchain run 

make clean

and

make all

This will build the project and glue together loader.flash and the projects .srec file
to the flashable .flash file. 

The latest innovation is a .ram file which is generated additional. When loading it up
no flash memory will be overwritten, because it is loaded into RAM directly and it is
startet immediatly from there. After switching the DSO off, the normal flash will be
loaded and your old configuration will be active. So you can check out experimental
firmwares without loosing your standard firmware. But you should know that the RAM-loaded
FW might write some values to the config flash that might cause some unexpected effects
after restarting your standard FW. In this case a default setup should be executed.

---------------------------------------------------------------------------------------

Loading up the Firmware to your DSO:

I provided two shell scripts that must be changed according to your own configuration.

flashloader.sh	-> loading firmware to W20xxA flash memory overwriting the old firmware
ramloader.sh	-> loading firmware to W20xxA RAM without overwriting the old firmware

Both scripts are using the perl script GERMSloader.pl which can be started also directly.
To use the scripts you need to have perl installed and the module Win32|Device::Serialport


doing:

Switch on your DSO and start the GERMS-monitor (press the left two function keys nearly at
the same time - F1 first and then F2).

open a command shell window and change to the Build directory.

Be shure you have root permission (for opening the port) and type in:

./ramloader.sh

The upload starts. After 3 Minutes the upload should be complete and the
DSO will run with the new Firmware.

Regards Hayo
