[hpsdr] JTAG Mercury programming problem.

Phil Harman phil at pharman.org
Tue Mar 24 16:58:02 PDT 2009


Just to confirm Graham's notes.

One other item to be aware of.  The Ozy board is connected to the JTAG 
chain on the Atlas bus so we can use it as a pseudo USBBlaster to 
program other devices on the bus.

Hence, if you connect a JTAG programmer to the JTAG header on a Penny 
or Mercury board it will be in parallel with the one inside Ozy - and 
not work!

By adding the facility to program devices over the Atlas bus using Ozy 
we remove the need to purchase a JTAG programmer.

If you really have to program a board using a JTAG programmer rather 
than Ozy let me know and I'll make you a special version of 
Ozy_Janus.rbf that does not drive the JTAG chain.

73's Phil...VK6APH



Quoting Graham / KE9H <KE9H at austin.rr.com>:

> ***** High Performance Software Defined Radio Discussion List *****
>
> Several Comments:
>
> If you are programming Mercury directly with a Byte Blaster, or clone,
> you should jumper out R10, or replace it with a 22 Ohm resistor 
> (marked 220). It shipped from the factory with a 220 Ohm resistor 
> (marked 221).
> Some will work, some will not work with the 220 Ohm resistor in place.
>
> If you are programming Mercury directly with a Byte Blaster, or clone, you go
> in on the "PROM CONFIG" connector, J4, because you are actually programming
> the serial PROM.  The FPGA will get the program from there at power up.
>
> If you are programming Mercury directly with a Byte Blaster, or clone,
> you should use the ".pof" file, and set the "Mode" to "Active Serial 
> Programming,"
> NOT JTAG, because you are actually programming an external serial PROM.
>
> The Files that reference a JTAG chain are for programming the Serial PROM
> via the JTAG chain using the FPGA and OZY configured as a Byte Blaster,
> which is an entirely different process, in which case you use the 
> ".jic" files.
>
> It is also possible to program the FPGA directly, but if you do that, 
> you will
> loose the program every time that power is turned off, because it will not be
> stored anywhere on the Mercury card.
>
> --- Graham
>
> ==
> Johan Maas wrote:
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>>   ------------------------------------------------------------------------
>>
>> Hi All,
>>  Iam following the lectures of Kirk; very good!
>>  He placed the mercury and ozy code using the nwire connections on the web.
>>  Now iam trying to program the mercury via JTAG; resulting in the 
>> message "Can't access JTAG chain"
>>  Iam using a clone USB programmer (link to ebay from the hpsdr reflector).
>>  I tried the JTAG debugging option which results in :
>>  Uncertain JTAG chain
>> info: Detected 1 device(s)
>> info Device 1: EP3C25
>>  The programmer detects the device but seems not able to program via 
>> JTAG the FPGA.
>>  Programming the prom is working correctly.
>>  Also the programming of OZY using JTAG worked.
>>  Are there other using the clone USB blaster and having problems 
>> programming the Mercury FPGA and solved the problem?
>>  73 Johan PA3GSB
>>  ------------------------------------------------------------------------
>>
>> _______________________________________________
>> HPSDR Discussion List
>> To post msg: hpsdr at hpsdr.org
>> Subscription help: http://lists.hpsdr.org/listinfo.cgi/hpsdr-hpsdr.org
>> HPSDR web page: http://hpsdr.org
>> Archives: http://lists.hpsdr.org/pipermail/hpsdr-hpsdr.org/
>>
>
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at hpsdr.org
> Subscription help: http://lists.hpsdr.org/listinfo.cgi/hpsdr-hpsdr.org
> HPSDR web page: http://hpsdr.org
> Archives: http://lists.hpsdr.org/pipermail/hpsdr-hpsdr.org/
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


 1237939082.0


More information about the Hpsdr mailing list