DE0 Nano Soc, how to test IOs with System Console

Hi there,
I followed the instructions from here Compile Design to compile the reference design for my DE0 Nano Board with Quartus 15.1 SP2 under Win 7 64 Bit. This worked out quite well. I wrote the reference SD card image from https://rocketboards.org/foswiki/view/Documentation/AtlasSoCSdCardImage onto my card, and after installing the preloader from my Quartus Project output and copying the Files for the FAT partiton over, I was able to boot up the board, it shows up as USB gadget as well and I can controll the LEDs via browser.

So far so good. I loaded the QSYS Project and had a look of what is actually in the design. I noticed that there is a "fpga_only_master"JTAG to Avalon Master Brigde, and from my understanding I should be able to access all the AvalonMM components also via System Console and the onboard JTAG.

According to the QSYS memory map:

I should get the System ID from Address 0x1000 doing a 32bit read and be able to controll the LEDs by doing an 8bit write to 0x3000.

% #Select the master service type and check for available service paths.
set service_paths [get_service_paths master]
#Set the master service path.
set master_service_path [lindex $service_paths 0]
#Open the master service.
set claim_path [claim_service master $master_service_path mylib]
/channels/local/mylib/master_1
% set offset 0x1000
0x1000
% set offset 0x1000;
0x1000
% master_read_32 $offset 1
error: master_read_32: Missing argument <b>size</b> [3]
Missing argument <b>size</b> [3]
    while executing
"master_read_32 $offset 1"
% master_read_32 $claim_path $offset 1
0x00000000
% master_read_32 $claim_path 0x4000 1
0x00000000
% master_read_32 $claim_path 0x1000 1
0x00000000
% master_read_32 $claim_path 0xß000 1
error: master_read_32: the value SS000 doesn't contain a number
    while executing
"master_read_32 $claim_path 0xß000 1"
% master_read_32 $claim_path 0x0000 1
0xe28f0010
% master_read_8 $claim_path 0x3000 1
0xaa
% master_write_8 $claim_path 0x3000 1

% master_write_8 $claim_path 0x3000 1

% master_write_8 $claim_path 0x3000 1

% master_write_8 $claim_path 0x3000 1

% master_write_8 $claim_path 0x3000 1

% master_write_8 $claim_path 0x3000 1

% master_read_8 $claim_path 0x3000 1
0x01
% master_read_8 $claim_path 0x3000 1
0x01
% master_write_32 $claim_path 0x2000 0x40

% master_write_32 $claim_path 0x2000 0x40

% master_write_32 $claim_path 0x2000 0x8040

% master_write_32 $claim_path 0x2000 0x8040

I was also trying to write to the JTAG UART (having a NIOS2 debug console open)

Nothing works. I even disabled the 3 bridges from the LINUX side by writing the SYSFS entries in case the kernel / userspace is doing permanent writes to the resources in the background. It did’nt make any difference. What am I overlooking?.

Markus