JTAG connection to StartKit
-
- Member
- Posts: 11
- Joined: Wed Jul 04, 2012 5:08 pm
Thanks:) Also USB is working with user code on startKIT - I've succesfully compiled and run mouse HID "square demo" on tile[0].
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Care to tell what you have changed?
I changed the XMOS_XTAG2_PID to 0xf7d3 but it isn't working here (i think...).
No errors on loading but my computer will say that it doesn't recognize the USB device afterwards. (Windows 7).
I changed the XMOS_XTAG2_PID to 0xf7d3 but it isn't working here (i think...).
No errors on loading but my computer will say that it doesn't recognize the USB device afterwards. (Windows 7).
-
- Active Member
- Posts: 52
- Joined: Fri Dec 24, 2010 10:54 am
Haven't got time to try it myself, but try disconnecting and reconnecting the startkit. Basically it transforms to USB mouse when you are running the runDynamic DOS application and needs drivers to be installed. Might be the app_l1_hid.h needs changes as well, check the XMOS HID USB Example project for PID, ports (.xn file) etc. stuff. Guess it should be configured for the U16A part, right?
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Yeah it works fine on an XTAG2 here.
Considering the startKIT uses L1 silicon and the PHY must be connected to certain ports, I think that the example image provided should work on the startKIT as well.
Considering the startKIT uses L1 silicon and the PHY must be connected to certain ports, I think that the example image provided should work on the startKIT as well.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
For startkit you need to use libxud_su or whatever it is
called. Since the HID example app doesn't use any ports,
that's about it (not even a PHY reset port, nice nice).
called. Since the HID example app doesn't use any ports,
that's about it (not even a PHY reset port, nice nice).
-
- Member
- Posts: 11
- Joined: Wed Jul 04, 2012 5:08 pm
Yep:) Just cleaning the lab and writing down all the notes I'm able to remember from last two days (weekend is ending...). It is all mentioned on our lab wiki (sorry, but rest of it is mainly in czech:).Bianco wrote:Care to tell what you have changed?
To get a "square mouse" demo working, I used u8_noadc build of app_hid_mouse_demo in sc_usb_device (1.0.1) package.
What is not working for me is programming through xTAG-2 connected to TP1. Is this working for anybody? Did you connect it same way as mentioned on the page above? What target/XN file you are using? In my case code seems to be tranfered OK, but than I get this error:
Code: Select all
First stage multi-node boot started
xrun: First stage multi-node boot failed, please check XN file and Xmos link connectivity
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
See "XN specification".
-
- Member
- Posts: 11
- Joined: Wed Jul 04, 2012 5:08 pm
None of the mentioned tags and attirbutes are explained there (version X3944B)... Neither in the HTML format, nor in the PDF one. (It is strange these two formats of the same version is not identical...)segher wrote:See "XN specification".
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
Weird... I see them fine here. X3944B, 2013/11/11.
-
- XCore Expert
- Posts: 844
- Joined: Sun Jul 11, 2010 1:31 am
The HTML version of X3944B seems to be a copy of X3944A.
It doesn't document nodes without a package it seems; but
should be pretty obvious what it does ;-)
It doesn't document nodes without a package it seems; but
should be pretty obvious what it does ;-)