help regarding dynamic loading of binary on XTAG2

Technical questions regarding the XTC tools and programming with XMOS.
pasau
Experienced Member
Posts: 77
Joined: Fri Dec 06, 2013 7:05 pm

help regarding dynamic loading of binary on XTAG2

Post by pasau »

Hi, i want to start working on my own code to run on an XTAG2, so i followed this guide. https://www.xmos.com/download/public/Dy ... -XTAG2.pdf

I was able to run the default code in app_l1_hid.h on my XTAG2, which is a mouse HID. Then i tried creating my own header file using the current version of HID class USB on xSoftIP.

i change the target to XTAG2.xn, and make sure my reset port is XS1_PORT_1I and i run xobjdump --split --strip app_hid_mouse_demo_l8_noadc.xe

Then instead of getting the binary image_n0c0.bin i get 2 binaries, image_n0c0.bin and image_n0c0_2.bin

i tried using both to generate the header and then run it, but in either case i get

Code: Select all

Numblocks: 0
Running dynamic USB code...
but nothing actually happens. Any input of what im doing wrong thanks!