Need to use more then 64kb programming flash space in XmosStartkit
Posted: Mon Jun 19, 2017 6:07 am
Hello ,
I am facing some Problems with XMOS startkit.
I have checked in XMOS hardware Guide that there are 2 MB flash .
But Still i can Used only 64kb space. WHY?
And Can i Use multi tile on Single startkit.
I have these type of error if i use multiple tile
par
{
on tile[0]: output_gpio(i_gpio_tx, 1, p_uart_tx, null);
on tile[0]: output_gpio(TowerLightArray, 4, TowerLight, null);
on tile[0]: output_gpio(StatusLEDArray,4,ELED,null);
on tile[0].core[1]: input_gpio_with_events(SwitchArray,4,SwitchPannel,null);
on tile[0]:uart_tx(i_tx, null,115200, UART_PARITY_NONE, 8, 1,i_gpio_tx[0]);
on tile[0].core[0] : input_gpio_with_events(i_gpio_rx, 1, p_uart_rx, null);
on tile[0].core[0]: uart_rx(i_rx, null, RX_BUFFER_SIZE,115200, UART_PARITY_NONE, 8, 1,i_gpio_rx[0]);
on tile[0]: encoder_read(p_inputsw,enc_data1,OffsetUpdate1,ClickEvent1,DrillStateINT1,SingleCycleINT1);
on tile[0]: transmit(i_tx, enc_data1,OffsetUpdateAck1);//(server interface b1 i1, client uart_tx_if uart_tx,server interface b2 m1,streaming chanend
reset_flag)
on tile[1]:Capture(pcam_trig,ClickEvent1);
on tile[0]:InOutCommon(TowerLightArray[0],TowerLightArray[1],TowerLightArray[2],TowerLightArray[3]
,StatusLEDArray[1],StatusLEDArray[2],StatusLEDArray[3],SwitchArray[0],SwitchArray[1],SwitchArray[2],SwitchArray[3],DrillStateINT1,SingleCycleINT1);
}
Error: Description Resource Path Location Type
index of array exceeds its upper bound main.xc /main_proj_test_270117/src line 267 C/C++ Problem
Please let me know what is possible if i need to use more programming space .
Thanks in advance.
I am facing some Problems with XMOS startkit.
I have checked in XMOS hardware Guide that there are 2 MB flash .
But Still i can Used only 64kb space. WHY?
And Can i Use multi tile on Single startkit.
I have these type of error if i use multiple tile
par
{
on tile[0]: output_gpio(i_gpio_tx, 1, p_uart_tx, null);
on tile[0]: output_gpio(TowerLightArray, 4, TowerLight, null);
on tile[0]: output_gpio(StatusLEDArray,4,ELED,null);
on tile[0].core[1]: input_gpio_with_events(SwitchArray,4,SwitchPannel,null);
on tile[0]:uart_tx(i_tx, null,115200, UART_PARITY_NONE, 8, 1,i_gpio_tx[0]);
on tile[0].core[0] : input_gpio_with_events(i_gpio_rx, 1, p_uart_rx, null);
on tile[0].core[0]: uart_rx(i_rx, null, RX_BUFFER_SIZE,115200, UART_PARITY_NONE, 8, 1,i_gpio_rx[0]);
on tile[0]: encoder_read(p_inputsw,enc_data1,OffsetUpdate1,ClickEvent1,DrillStateINT1,SingleCycleINT1);
on tile[0]: transmit(i_tx, enc_data1,OffsetUpdateAck1);//(server interface b1 i1, client uart_tx_if uart_tx,server interface b2 m1,streaming chanend
reset_flag)
on tile[1]:Capture(pcam_trig,ClickEvent1);
on tile[0]:InOutCommon(TowerLightArray[0],TowerLightArray[1],TowerLightArray[2],TowerLightArray[3]
,StatusLEDArray[1],StatusLEDArray[2],StatusLEDArray[3],SwitchArray[0],SwitchArray[1],SwitchArray[2],SwitchArray[3],DrillStateINT1,SingleCycleINT1);
}
Error: Description Resource Path Location Type
index of array exceeds its upper bound main.xc /main_proj_test_270117/src line 267 C/C++ Problem
Please let me know what is possible if i need to use more programming space .
Thanks in advance.