How to set GPIO output in/during AT91Bootstrap ?

lightsout
Hi everyone,

I'm having this slight problem, where i can't find the error. I'm using the
AT91Bootstrap and I modified my startup code to set an GPIO output with
this:

    const struct pio_desc hw_pio_measurement[] = { {"PC8", AT91C_PIN_PC(8),
1, PIO_DEFAULT, PIO_OUTPUT} };

    pio_setup(hw_pio_measurement);

I believe at this point the pin should already be set to 1.

anyway i put


    pio_set_gpio_output(AT91C_PIN_PC(8), 1);

and

    pio_set_value(AT91C_PIN_PC(8), 0);


but still nothing happens. I'm sure these lines are executed, since i put
some debug information on the console in between these commands. What's the
problem i can't see why it shouldn't work?