PDA

View Full Version : ServoPod won't flash


ngkdc
12-02-05, 04:51 PM
This is my week ... it sure is.

I have a ServoPod that is running IsoMax V0.77, and while it runs, I can't seem to get it to take V0.82. I get an error message saying that the processor won't go into program mode (something like that ... it was late, I was tired ... etc).

I was, however, able to flash another ServoPod with no difficulties ... so I'm pretty sure the problem resides in the board.

Any suggestions?

Regards,

Rick

RMDumse
12-06-05, 10:38 AM
Any chance the JTAG connector was reversed? or loose?

We have never seen a board that 1) runs and 2) will not take a new program unless the JTAG connection was "off".

We have seen some which will not run and will not take a new program. There's no recovering them at that point that we've seen.

And of course, the normal case, we have seen many where they won't run, they are reprogrammed, and then they do run. Those are the happy cases where the kernel got clobbered, or a bad autostart got installed, etc., but a reflashing will cure the problem.

Perhaps a SCRUB first might help? if indeed the kernel is running as you suggest. I think the best would be to try to reprogram and watch the JTAG connection. Could it have been on the wrong connector? (Grasping at straws, but not much to go on here, and the result is rather unusual.)

ngkdc
12-06-05, 10:47 AM
Any chance the JTAG connector was reversed? or loose?

No ... double checked it, and then tested the same JTAG adapter with another board that did take the flash. Good question though!

We have never seen a board that 1) runs and 2) will not take a new program unless the JTAG connection was "off".

We have seen some which will not run and will not take a new program. There's no recovering them at that point that we've seen.

And of course, the normal case, we have seen many where they won't run, they are reprogrammed, and then they do run. Those are the happy cases where the kernel got clobbered, or a bad autostart got installed, etc., but a reflashing will cure the problem.

Perhaps a SCRUB first might help? if indeed the kernel is running as you suggest. I think the best would be to try to reprogram and watch the JTAG connection. Could it have been on the wrong connector? (Grasping at straws, but not much to go on here, and the result is rather unusual.)

I've already scrubbed ... twice, still the same results. I'll try it at home on my desktop computer to see if that makes any difference, plus I'll take a very close look at the JTAG pins on the processor to make sure nothing got bent. That's my only possible cause/solution right now, because this board also had the green LED lens (and chip) come off somehow during shipping (despite being in the antistatic bag AND wrapped in bubble wrap).

But, along those same lines, I've had another processor board showing a dead input (this time it's one of the analog inputs that went nuts) on a machine that was simply transported a couple hundred miles and bolted down. Since I've double-buffered the analog input from the processor (actually, ALL of my analog inputs are double buffered) the only possiblilty is that somehow the chip got zapped by stray static electricity ... and I'm really at a loss as to how that could have happened.

I'll take a closer look today (I was troubleshooting while at the customer's site) with better lighting, and a different computer. I'll let you know what I find.


Regards,

Rick

ngkdc
12-06-05, 01:27 PM
Here is the result of my latest attempt to flash this ServoPod with my desktop computer:


C:\jtag>flash_over_jtag flash807.cfg V082-7.S
DSP56F800 Flash loader. Compiled on May 16 2003, 07:34:53.
version Epsilon 0.4
(c) Motorola 2001 - 2002, MCSL
Partial Copyright 2000-2002, Zloba Alexander
I/O port driver started


JTAG IR path length: 256
JTAG DR path length: 256 (BYPASS)
IDCode status: 0xf
Jtag ID: 0xffffffff
Debug Request status: 0xf

Enable OnCE status: 0xf, polls left: 10
Enable OnCE status: 0xf, polls left: 9
Enable OnCE status: 0xf, polls left: 8
Enable OnCE status: 0xf, polls left: 7
Enable OnCE status: 0xf, polls left: 6
Enable OnCE status: 0xf, polls left: 5
Enable OnCE status: 0xf, polls left: 4
Enable OnCE status: 0xf, polls left: 3
Enable OnCE status: 0xf, polls left: 2
Enable OnCE status: 0xf, polls left: 1
Enable OnCE status: 0xf, polls left: 0

Target chip refused to enter Debug mode!

The target was reset, the application is running

and here's another ServoPod responding with the same JTAG converter, computer, and IsoMax kernel:


C:\jtag>flash_over_jtag flash807.cfg V082-7.S
DSP56F800 Flash loader. Compiled on May 16 2003, 07:34:53.
version Epsilon 0.4
(c) Motorola 2001 - 2002, MCSL
Partial Copyright 2000-2002, Zloba Alexander
I/O port driver started

JTAG IR path length: 4
JTAG DR path length: 1 (BYPASS)
IDCode status: 0x9
Jtag ID: 0x1f2701d
Debug Request status: 0xd

Enable OnCE status: 0xd, polls left: 10
Enable OnCE successful, target chip is in Debug mode
5 flash blocks defined in the config file.
S-record ID: PROGRAM&DATA
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x40 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x52 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x64 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x76 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x88 ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Initialising FIU at address: 0x1380
FIU (0x1380) initialisation done.
Flash (0x1380) mass erase done.
Flash (0x1380) programming done. 0 words written.
Initialising FIU at address: 0x1340
FIU (0x1340) initialisation done.
Flash (0x1340) mass erase done.
pppppppppppppppppppppppppppppppppppppppppppp
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Flash (0x1340) programming done. 0x56b4 words written.
Initialising FIU at address: 0x1420
FIU (0x1420) initialisation done.
Flash (0x1420) mass erase done.
Flash (0x1420) programming done. 0 words written.
Initialising FIU at address: 0x1380
FIU (0x1380) initialisation done.
Mass erase skipped.
p
v
Flash (0x1380) programming done. 0x4 words written.
Initialising FIU at address: 0x1360
FIU (0x1360) initialisation done.
Flash (0x1360) mass erase done.
pppppppp
vvvvvvvv
Flash (0x1360) programming done. 0xfff words written.
The target was reset, the application is running

I think I can assume that the problem is within the ServoPod itself. I did not see any obvious damage to any processor pins. Funny thing is that V077 still runs ... I just can't upgrade to V082 to match the rest of my processors.

Any suggestions, or is this processor destined for the junk bin? The IR and DR path lengths are WAY off on the board that doesn't respond ... is this something that may have gotten overwritten and can be corrected, or has the processor died in a particularly nasty way?

Regards,

mbailey
07-25-08, 08:51 PM
Hi Guys, I am having troubles flashing my Servopod, I have flashed Plugapods before and my JTAG is working, the board is powered up and I have ran the test807.s with these results:

flash_over_jtag flash807.cfg test807.S
DSP56F800 Flash loader. Compiled on May 16 2003, 07:34:53.
version Epsilon 0.4
(c) Motorola 2001 - 2002, MCSL
Partial Copyright 2000-2002, Zloba Alexander
I/O port driver started
JTAG IR path length: 4
JTAG DR path length: 1 (BYPASS)
IDCode status: 0x9
Jtag ID: 0x1f2701d
Debug Request status: 0xd
Enable OnCE status: 0xd, polls left: 10
Enable OnCE successful, target chip is in Debug mode
5 flash blocks defined in the config file.
S-record ID: PROGRAM&DATA
Initialising FIU at address: 0x1380
FIU (0x1380) initialisation done.
Flash (0x1380) mass erase done.
Flash (0x1380) programming done. 0x4 words written.
Initialising FIU at address: 0x1340
FIU (0x1340) initialisation done.
Flash (0x1340) mass erase done.
Flash (0x1340) programming done. 0xd7 words written.
Initialising FIU at address: 0x1420
FIU (0x1420) initialisation done.
Flash (0x1420) mass erase done.
Flash (0x1420) programming done. 0 words written.
Initialising FIU at address: 0x1380
FIU (0x1380) initialisation done.
Mass erase skipped.
Flash (0x1380) programming done. 0x4 words written.
Initialising FIU at address: 0x1360
FIU (0x1360) initialisation done.
Flash (0x1360) mass erase done.
Flash (0x1360) programming done. 0x2 words written.
The target was reset, the application is running



Now here is the results of actually trying to flash, I am using flash807.cfg v086-4.S which are in the same directory and from the looks of it are working correctly, once the flash has finished the servopod does not respond on the serial comms, please review the results below and comment, is the v086-4 compatable with the servopod, I can't find anywhere stated on the forum.


All data above ignored....
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Data @ 0x9A ignored
Initialising FIU at address: 0x1380
FIU (0x1380) initialisation done.
Flash (0x1380) mass erase done.
Flash (0x1380) programming done. 0 words written.
Initialising FIU at address: 0x1340
FIU (0x1340) initialisation done.
Flash (0x1340) mass erase done.
Verification error at addr: 0xffffffff, wr: 0xe984, rd: 0
The target was reset, the application is running



Does this sound familier?

Mike

RMDumse
08-05-08, 10:11 PM
Forgot to close this, Mike and I talked by phone. We guessed it was the configuration file. I sent him the one we used, and that seemed to clear up the problem.