Initial steps for build

Technical questions regarding the XTC tools and programming with XMOS.
User avatar
teemo
New User
Posts: 2
Joined: Fri May 20, 2022 12:25 am

Initial steps for build

Post by teemo »

Hi friends!

My initial steps in development with Xcore. :)

Final Target: USB Audio with UAC2 for SPDIF I/O (I2S is good, but not a priority). ❤️
First Target: build any functional audio example to understand how it works. 👍

I have gathering dust this cheap card with an XS1 with only I2S output. *yes, it works.
Removed unnecessary components for operation, and to check connections. 😀
Flash Memory according to the design guide.
XTAL diagram is attached.
board.jpg
flash.png
xtal.png
first question: It's possible to use this board to develop/test the firmware? *Say yes please! 😅
Evidently this board does not have exposed pins for spdif/i2s input, the intention is just to check the detection in the operating system, etc..
It would make me more relaxed to develop the final pcb later.

Well I've been trying...
  • Set Project
Image
  • BUILD
Image

Generated the file: app_usb_aud_xk_u8_2c_2ioxs.xe

But... I don't have an XTAG. 😔

second question: How to generate the binary to write directly to the flash from file.xe? *CH341A flash SPI 25 series

I tried:

Code: Select all

xflash app_usb_aud_xk_u8_2c_2ioxs.xe -o firmware.bin
Image

and..

Code: Select all

xflash app_usb_aud_xk_u8_2c_2ioxs.xe --noinq -o firmware.bin
Image

I don't know how to proceed after that. 😔
Can anyone answer these questions?

best regards.
You do not have the required permissions to view the files attached to this post.


mmar
Experienced Member
Posts: 105
Joined: Fri Jul 05, 2013 5:55 pm

Post by mmar »

Q1: U8 2C is your XS1 type ? Yes then yes you can test.
Q2: add --boot-partition-size 131072