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.
xrun: Binary not correctly downloaded to target device Topic is solved
- infiniteimprobability
- XCore Legend
- Posts: 1126
- Joined: Thu May 27, 2010 10:08 am
- Contact:
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:
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.
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 will reveal if it's JTAG signal integrity that is causing the xrun failure.
Thanks for reply.
First, the firmware did run reliably in the cases when it does successfully download.
And i tried followed command.
but that problem still occured.
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
Check if the supply voltages and the clock are okay?
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.
Result are follow:
SS_CLK: 20Mhz
IO_VDD: 3.3v
VDD: 1v
It seems to be normal.
- Attachments
-
- WP_20130627_006.JPG
- VDD
- (187.91 KiB) Not downloaded yet
- WP_20130627_006.JPG
- VDD
- (187.91 KiB) Not downloaded yet
-
- WP_20130627_005.JPG
- IO_VDD
- (207.13 KiB) Not downloaded yet
- WP_20130627_005.JPG
- IO_VDD
- (207.13 KiB) Not downloaded yet
-
- FOT8082.JPG
- SS_CLK
- (217.14 KiB) Not downloaded yet
- FOT8082.JPG
- SS_CLK
- (217.14 KiB) Not downloaded yet
Which target device are you using?
Have you implemented explicit power supply sequencing in your design?
Have you implemented explicit power supply sequencing in your design?
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).
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)?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).
Thanks!
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!
Thanks!
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?
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?