Home Forum Developers IP0x Helping us to use JTAG on IP02 to reflash uboot

JRPassphrase Registration Control

In order to register on this site, you must first submit the passphrase below.

TODO list for each hardware target can be found as sticky topic in the corresponding forum


serenissimo
useravatar
User Info

Helping us to use JTAG on IP02 to reflash uboot

Dear Guys,

I'm asking you a kindly support on this task.TEXT

We are testing the possibility to migrate our baps project to switchfin
on IP02 Atcom hw, at the moment we have a problem reflashing u-boot via
jtag with ldr image, due the fact we have set bootdelay to 0.

We really appreciate your support, below the description of the problem.

***** ***** ****** ***** ******

We have buy one icebear plus jtag (switchfin web site suggested), for
reflash u-boot via ldr image.

When runnning flashload from command line whit --info args, the command
exiting with :

debian:~# flashload --info
High speed device detected
JTAG wait cycles: 4
Alien intruder in chain.
Could not open config file
Unable to read default configuration from config file.
   Need chain description due to alien device in chain.

Appears that there is another device in the chain next to
the blackfin, and in according to the section 4 of the
icebear manual [2] we have to know :

    "Size of Instruction register" irsize
    "Command for requesting IDCODE" idcmd
    "IDCODE" id
    Mask (ANDed before comparison with IDCODE idmask

for create a custom ini file that describe how flashload locate
the alien chip or other chips in the jtag daisy chain.

Marting Strubel developer and creator of icebear plus tell us that the
more important thing to know is where the alien chip sitting in the
chain, plus its IRSIZE, and suspect there might be a CPLD [3] or something;
for help us he provide an example .ini file (in attach.)

[1] http://www.section5.ch/icebear
[2] http://www.section5.ch/dsp/icebear/ICEbear-manual.pdf
[3] http://en.wikipedia.org/wiki/CPLD


Administrator has disabled public posting
admin
useravatar
User Info

Re: Helping us to use JTAG on IP02 to reflash uboot

Hi serenissimo,

I have not reflashed Atcom's IP02 since now.
Most probably they have put the CPLD and CPU jtag shift registers in daisy chain.
So you need to follow Martin's instruction taking into account the length of the CPLD
shift register.

In addition you need to use m25p40 loading code (backbone).
I hope Atcom use compatible serial flash chip.

Alternatively you may ask Atcom directly for support.

Good luck
Dimitar


Administrator has disabled public posting
Andy
useravatar
User Info

Re: Helping us to use JTAG on IP02 to reflash uboot

Did you ever get the required information from Atcom? If so what is the command line to flashload u-boot on a IP02?

If known, it would be useful to update the FAQ to the include the flashload parameters for all of the systems.

Andy


Administrator has disabled public posting
Andy
useravatar
User Info

Re: Helping us to use JTAG on IP02 to reflash uboot

Well here's a surprise.

On the IP02 the JTAG doesn't connect to the Blackfin so it is not possible to use an ICEbear to reload the u-boot. So if you brick one if these then you might as well throw it away.

It is my understanding that the IP08 like the IP04 has two JTAG connectors, one for the Blackfin and one Xlinix CPLD. So as a development platform I'd recommend using one of these two models and avoid the IP02.

Andy


Administrator has disabled public posting

Board Info

Board Stats:   Total Users: 2587  Total Topics: 299  Total Polls: 1  Total Posts: 1727  Dormant
User Info:   Newest User :  user2553   Members Online: 0   Guests Online: 188
Online  There are no members online
Topic
New
Locked
Topic
New
Locked
Sticky
Active
New/Active
Sticky
Active
New/Active
New/Closed
New Sticky
Closed/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky Active Locked
Active/Sticky
Sticky/Locked
Sticky/Active/Locked