Memory error Parallel Port

Hello,

I’m trying to interface the parallel port of a q2687, but this does not seems to work.

This is what I’m doing:

const adl_busParallelSettings_t MyParaConfig =
    {
        
        ADL_BUS_SIZE_WORD,
        ADL_BUS_PARALLEL_MODE_ASYNC_INTEL,
        {0x00,0x00},
        {3,1,1,3,0,0,0},
        {2,2,1,3},
        {
            ADL_BUS_PARA_CS_TYPE_CS,
            3,
            {0,0}
        },
        3
    };

    /////////////////////////////// 
    //////  INIT PARALLEL  ////////
    ///////////////////////////////
  
    u8 ParaHandle;
    ParaHandle = adl_busSubscribe(ADL_BUS_PARALLEL, &MyParaConfig);

On the last line, I get this error :


Thread [9] (Suspended: Signal ‘SIGSEGV’ received. Description: Segmentation fault.) <Stack is not available: Cannot access memory at address 0x200000.>

Cannot access memory at address 0x200000


I’m using Eclipse, OS 4.21.01 , firmware 6.63.
How can I handle this problem?

thanks :slight_smile: