When I run this code:

set CONFIG_SYS_HZ_CLOCK        165000000
global CONFIG_SYS_HZ_CLOCK            

proc showAmbaPLL {} {
    global CONFIG_SYS_HZ_CLOCK
    puts [format "CONFIG_SYS_HZ_CLOCK %d" $CONFIG_SYS_HZ_CLOCK]
}

I get this message:
Runtime error, file "t.tcl", line 198:
    can't read "CONFIG_SYS_HZ_CLOCK": no such variable
in procedure 'showAmbaPLL' called at file "command.c", line 473
> 

What am I doing wrong?
Thanks,
Michal


On Mon, 2009-08-31 at 08:20 -0400, Duane Ellis wrote:
> chip/atmel/at91/

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to