It is too complicated for me to make the program from zero - I'm familiar in PIC/ARM programming, but XTimeComposer and XMOS is so totalyy different from Keil/Mplab....segher wrote: Your next steps would be to run a simple program (something
that blinks a LED perhaps); run something that uses USB
(maybe the HID demo); and try to program one of those
to flash.
So I try to get the Reference Design with minor chahges.
I take USB Audio 2.0 Ref.Desing, latest version (6.6.0), download the latest Composer.
I make changes in .xn file - due to a differend case (TQ48 instead of 128) and other flash (AT25DF041A instead onf 25FS010).
But when I try to compile it, I got 2 errors, that I can't find the source:
Code: Select all
xmake CONFIG=2ioxx all
Using modules: module_usb_shared module_xud module_usb_audio module_spdif_tx module_spdif_rx module_usb_midi module_dfu module_usb_device module_queue module_xassert
Creating app_usb_aud_l1_2ioxx.xe
xmap: Error: Symbol p_for_mclk_count is a duplicate port declaration.
xmap: Error: previously declared as p_usb_rst.
xmap: Warning: port "XS1_PORT_8A" on tile[0] is not connected to any pins in this package.
xmap: Warning: port "XS1_PORT_8C" on tile[0] is not connected to any pins in this package.
xmake[1]: *** [bin/2ioxx/app_usb_aud_l1_2ioxx.xe] Error 1
xmake: *** [bin/2ioxx/app_usb_aud_l1_2ioxx.xe] Error 2
Can somebody check if I change CPU in .xn correctly?