xrun: Binary not correctly downloaded to target device Topic is solved

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
kim5257
Junior Member
Posts: 6
Joined: Thu Jun 20, 2013 6:07 am

xrun: Binary not correctly downloaded to target device

Postby kim5257 » Tue Jun 18, 2013 3:11 am

I did running program by using xrun. but error occured.

Followed error message is:
"xrun: Binary not correctly downloaded to target device"

Sometimes it normal running program without error even same program image.

It could be Board schematic problem(this is custom board)? or other something problem?

Please tell me where do I find problem.
View Solution
User avatar
infiniteimprobability
XCore Legend
Posts: 1124
Joined: Thu May 27, 2010 10:08 am

Postby infiniteimprobability » Tue Jun 18, 2013 8:51 am

This does sound like a hardware problem - something is marginal.
Does the firmware run reliably in the cases when it does successfully download?

If so, and you are using an XTAG2, you might want to try:

Code: Select all

xrun --jtag-speed 1 xxxx.xe 
This halves the JTAG speed from 25 to 12.5MHz.
This will reveal if it's JTAG signal integrity that is causing the xrun failure.
kim5257
Junior Member
Posts: 6
Joined: Thu Jun 20, 2013 6:07 am

Postby kim5257 » Thu Jun 20, 2013 6:41 am

Thanks for reply.

First, the firmware did run reliably in the cases when it does successfully download.

And i tried followed command.

Code: Select all

xrun --jtag-speed 1 xxx.xe
but that problem still occured.
User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am

Postby segher » Thu Jun 20, 2013 4:12 pm

Check if the supply voltages and the clock are okay?
kim5257
Junior Member
Posts: 6
Joined: Thu Jun 20, 2013 6:07 am

Postby kim5257 » Thu Jun 27, 2013 3:50 am

I checking SS_CLK, IO_VDD and VDD.
Result are follow:
SS_CLK: 20Mhz
IO_VDD: 3.3v
VDD: 1v

It seems to be normal.
You do not have the required permissions to view the files attached to this post.
User avatar
EdB
Member++
Posts: 17
Joined: Tue Mar 19, 2013 11:58 am

Postby EdB » Thu Jun 27, 2013 8:59 am

Which target device are you using?

Have you implemented explicit power supply sequencing in your design?
User avatar
segher
XCore Expert
Posts: 843
Joined: Sun Jul 11, 2010 1:31 am

Postby segher » Sat Jun 29, 2013 2:55 pm

That clock looks really bad, it overshoots and undershoots to
far outside the allowed min and max voltages. It could just be
a measurement artifact, of course.

I see you say that everything runs fine if the download succeeded;
that suggests the problem is either in chip startup, or on the JTAG
lines. To determine which of those two, you could try booting from
SPI flash (if you have that).
iris
New User
Posts: 2
Joined: Fri Apr 24, 2020 7:14 am

Postby iris » Fri Apr 24, 2020 7:22 am

segher wrote:
Sat Jun 29, 2013 2:55 pm
That clock looks really bad, it overshoots and undershoots to
far outside the allowed min and max voltages. It could just be
a measurement artifact, of course.

I see you say that everything runs fine if the download succeeded;
that suggests the problem is either in chip startup, or on the JTAG
lines. To determine which of those two, you could try booting from
SPI flash (if you have that).
how can I booting from SPI flash (if you have that)?
Thanks!
iris
New User
Posts: 2
Joined: Fri Apr 24, 2020 7:14 am

Postby iris » Fri Apr 24, 2020 9:29 am

I have the same problem and some other similar problem as kim5257.As I known,if the problem is on the xtag lines,we should re-connect the lines between device and xtag,if not what should I do for chip startup?
Thanks!
Santi
Newbie
Posts: 1
Joined: Fri May 08, 2020 4:13 pm

Postby Santi » Fri May 08, 2020 4:24 pm

Hello iris

it seems like that I am having a similar issue. I checked all the datalines also by scope and I can see some data traffic. Also the xrun -l command lists me one device.

Available XMOS Devices
----------------------

ID Name Adapter ID Devices
-- ---- ---------- -------
0 XMOS XTAG-3 ZcZ7qBKw O[0]

Any suggestions?

Who is online

Users browsing this forum: No registered users and 3 guests