mhelin

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #160 on: December 30, 2019, 02:51:27 AM »
Have you tried programming from command line using --force-pll-reset or adding that option to IDE build?
xflash --force-pll-reset yourprogram.xe

There's a thread on that error xcore:
https://www.xcore.com/viewtopic.php?t=4451&start=10

They replaced there the 5-wire links with 2-wire ones for booting, that's old thread, the tools should have fixed this already.

Google xcore.com for "xrun: First stage multi-node boot failed, please check XN file and Xmos link connectivity" to get more discussions on subject.




buckethead

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #161 on: December 30, 2019, 02:51:37 PM »
Hi Mikko,

thanks for your reply, yeah I think I'm through more or less every post on the xcore forum dealing with that error message...without any luck yet.

Programming it from command line didn't make any difference, I tried it all - or at least all I'm aware of.

I ran out of ideas for now...

Is there anyone out there besides Raphael himself who got the infinitas board to work?

Best regards,
Mathias

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #162 on: February 11, 2020, 08:03:05 AM »
Hi,

I want to PROGRAM THE LATTICE SEMICONDUCTOR LCMXO2-1200HC, but I get an error.

I connected the FT2232H to X101 and my Macbook with VmWare running Diamond.
The cable is detected.
First I open "infinitas.ldf", then I get an error that the programming file doesn't match the file generated by the project.
I select infinitas_imp1.jed manually.
And when I run the programmer I get tis error:
Device#1 LCMX02-1200HC: Failed to verify the ID
(Expected: 0x012BA043 Read: 0xFFFFFFFF).
Error - check configuration setup: Unsuccessful
Error - pgr-program failed.
Error - programming failed.

Can anyone help me?  ???
Grüße!
« Last Edit: February 11, 2020, 11:50:34 AM by kolabaer »

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #163 on: March 22, 2020, 05:52:12 PM »
I ordered the board a second time, soldered new parts. I'm pretty sure I have no cold joints, didn't touch the chips.
I try to program the Machxo2 and he can't scan the chip. the ID is 0x00000000.
In the board diagnostics it prints a "?" at TDI. But the connection is there when I check it with the multimeter.
Whats happening?
Do I have to connect the power? It should be fine with the USB power right?

buckethead

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #164 on: March 23, 2020, 05:36:09 AM »
You have to connect the power, the infinitas doesn't seem to be USB bus powered. Good luck! And keep us updated, I still didn't have any luck getting the XMOS to run

Best regards,
Mathias

P.S.: I have 10pcs of AD/DA boards lying around, in case anyone needs some

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #165 on: March 24, 2020, 11:31:06 AM »
Thanks for the answer Mathias,
I thought the power from the ft2232h would be enough for the programing. Do you connect two cables +12 and two gnd btw? or two +12 and two -12?
« Last Edit: March 24, 2020, 12:26:36 PM by kolabaer »

buckethead

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #166 on: March 25, 2020, 05:07:30 AM »
Oh, sorry, I confused the MachXO2 with the XMOS. I was able to program the FPGA without external DC, but I remember I had problems in the beginning with setting up the programmer for USB self powered configuration.

You need a 12V+ power supply and connect one 12V+ and GND. The second terminals are for daisy chaining more units together (or the ADDA boards).

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #167 on: April 12, 2020, 03:01:57 AM »
OK in case someone has the same problem and could not program the Machxo2.
I made all of the connections between the ft2232h and the target board, like stated in the document. The problem was I had no power on the chip.  So I also connected ch2-3 and pin 7 on the x101, to give it 3.3v. I thought this was already there, but this fix the problem. 

buckethead

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #168 on: April 14, 2020, 10:42:08 AM »
OK in case someone has the same problem and could not program the Machxo2.
I made all of the connections between the ft2232h and the target board, like stated in the document. The problem was I had no power on the chip.  So I also connected ch2-3 and pin 7 on the x101, to give it 3.3v. I thought this was already there, but this fix the problem. 

Great you got it to work! How's it going with the XMOS programming? Did you get it to run? Mine is still lying around dead. I got another PCB for it, but I'm not sure if it's worth giving it another try...

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #169 on: April 20, 2020, 05:40:59 PM »
No, the xtag doesn't find the target.  :-[


rkn80

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #170 on: April 23, 2020, 10:03:14 AM »
Regarding the xTag. It seems to depend on the system you are working with. I couldn't get  it working on macOS (although Xmas claims that it works for macOS). In xTimeComposer it always said no target when opening the flash setup dialog. Then I moved to win10 in a virtual machine. There it was a bit different: When opening the flash setup dialog there was first a target displayed. When pressing the refresh button the target disappeared and no target preset anymore. Then I noticed that there was now a new USB device present. When attaching the xTag and opening the flash setup dialog it was named xtag0003 after pressing the refresh button the second new device was named xtag-0003. So I disconnected xtag0003 and connected xtag-0003 to the virtual machine and now I could flash the Xmos MCU. This behavior can be reproduced. I am working like this for programming the Aurora boards.
Hope that helps.

Raphael

kolabaer

Re: [Infinitas]: USB Audio Class 2 Interface, 32 in, 32 out, DSP
« Reply #171 on: April 30, 2020, 05:29:50 AM »
I fixed it more or less, so now my xtag can find the target. It was again a problem with the power.
But now I have another Error called:
xrun: Cannot load image, XCore 0 is not enabled

I checked the following list. I'm not sure about number 1 and how I can check this. The rest should be fine.


1. The JTAG interface to the XCore has been disabled in the OTP security
register.

2. The device is being permanently held in reset by the RST_N signal.

3. No clock is being supplied to the device; or the clock frequency
supplied to the device is unsuitable for the selected PLL multiplier. The
PLL multiplier is set using the MODE pins and should be configured so that
the XCore boots up at or below its maximum frequency. Further details on
the MODE pins can be found in the relevant device datasheet.

4. The VDD Core supply is outside of tolerance (see the device datasheet).

5. The VDD PLL supply is outside of tolerance (see the device datasheet) or
not present, or has a filter with too high a resistor. This will mean that
the PLL is not locked and hence the XCore will be kept in reset.

6. The power supplies have not been correctly sequenced. The VDDIO (and
OTP_VDDIO if present) supply must be within specification (3.0V-3.6V)
before the VDD Core supply is turned on; see the datasheet for details.

7. The device, especially the ground paddle, has not been correctly
soldered to the board. This can either be in the form of not connected
solder joints or shorted solder joints to other pins, ground or power.


 

Related Topics

  Subject / Started by Replies Last post
30 Replies
7656 Views
Last post August 01, 2005, 02:24:22 PM
by [email protected]
6 Replies
4304 Views
Last post June 15, 2005, 10:02:26 AM
by Gus
2 Replies
2721 Views
Last post March 16, 2007, 08:52:47 PM
by joe-electro
0 Replies
2269 Views
Last post July 14, 2011, 07:37:16 PM
by gary o