Search found 11 matches
- Tue Sep 29, 2020 1:18 am
- Forum: Q&A
- Topic: Avoiding ET_LOAD_STORE errors in c code
- Replies: 5
- Views: 3117
Re: Avoiding ET_LOAD_STORE errors in c code
mystery solved! it had zero to do with channel allocation. The issue was due to memory corruption. There was an snprintf elsewhere in the code that was overflowing due to incorrectly sized buffers. This overflow corrupted the location of the chan data and caused the errors! Moral of the story: don't...
- Mon Sep 28, 2020 10:11 pm
- Forum: Q&A
- Topic: Avoiding ET_LOAD_STORE errors in c code
- Replies: 5
- Views: 3117
Re: Avoiding ET_LOAD_STORE errors in c code
Thank you for the suggestions! Unfortunately they don't really seem to be ellucidating anything. Though changing debug level does yield a different error, I have no insight into the root cause of the LOAD_STORE nor the ILLEGAL_RESOURCE error. Here's what's very much baffling to me. I am declaring a ...
- Fri Sep 25, 2020 11:11 pm
- Forum: Q&A
- Topic: Avoiding ET_LOAD_STORE errors in c code
- Replies: 5
- Views: 3117
Re: Avoiding ET_LOAD_STORE errors in c code
Oh - I should clarify. This is an error that occurs at optimization level -O0. When using -O2/-03 I dont see this particular error but instead an ILLEGAL_RESOURCE error in a channel that is attempting to use the data referenced here.. that is the true bug im working on fixing. With -O3, I lose some ...
- Fri Sep 25, 2020 8:14 pm
- Forum: Q&A
- Topic: Avoiding ET_LOAD_STORE errors in c code
- Replies: 5
- Views: 3117
Avoiding ET_LOAD_STORE errors in c code
Hello! I am currently debugging an ET_LOAD_STORE error in my codebase. I have read the documentation at https://www.xmos.ai/download/xCORE-200:-The-XMOS-XS2-Architecture-(ISA)(1.1).pdf and understand this to be an alignment issue. from the doc: A memory operation was performed that was not properly ...
- Thu Apr 09, 2020 7:06 pm
- Forum: Development Tools and Programming
- Topic: possibility of using xtag for command line interface
- Replies: 1
- Views: 1468
possibility of using xtag for command line interface
Traditionally, we have used a uart to send serial data to a CLI application such as zterm to send and receive command line data. We use this for things like setting a device's mac address, serial number, querying state of various processes, etc at runtime. Would it be possible to use the xtag for th...
- Mon Oct 09, 2017 10:55 pm
- Forum: Getting started
- Topic: lib_device_control for i2c on raspberry pi
- Replies: 2
- Views: 2977
lib_device_control for i2c on raspberry pi
Hi, on the xmos github, in the examples section for lib_device_control, the example for using an RPi as an i2c host device simply says to "see AN00235". However, as far as i can tell, this application note does not exist. Am I missing something? If in fact it does not yet exist, could some...
- Tue Oct 03, 2017 4:03 pm
- Forum: Getting started
- Topic: using Multichannel Audio platform as I2C Slave
- Replies: 12
- Views: 11919
Re: using Multichannel Audio platform as I2C Slave
I'm not using optical or co-ax, so the plan will be to solder pin headers onto O_tx and C_tx and use those for I2C communication. Sound like a decent plan?
- Tue Oct 03, 2017 3:48 pm
- Forum: Getting started
- Topic: using Multichannel Audio platform as I2C Slave
- Replies: 12
- Views: 11919
Re: using Multichannel Audio platform as I2C Slave
That's great news! I have attached an image below. The SCL and SDA pin holes are circled in red while xSDIO1 and 2 are circled in blue. I have soldered pinheaders onto SCL and SDA in order to control the MCA from an external device. Just to confirm, will I be able to use the 1 bit ports which are no...
- Tue Oct 03, 2017 2:13 pm
- Forum: Getting started
- Topic: using Multichannel Audio platform as I2C Slave
- Replies: 12
- Views: 11919
Re: using Multichannel Audio platform as I2C Slave
For example, could I solder pin headers onto the xSDIO1 and xSDIO2 holes and use those ports to receive i2c communication? Or is it possible to remap in software and still use the SDA and SCL labeled connections on the board?
- Tue Oct 03, 2017 1:24 pm
- Forum: Getting started
- Topic: using Multichannel Audio platform as I2C Slave
- Replies: 12
- Views: 11919
Re: using Multichannel Audio platform as I2C Slave
So I don't have to use the port mappings for a given functionality as outlined in the hardware manual?Ross wrote: You could wire it up to two un-used 1-bit ports, say if you are not using SPDIF or similar.