Dangerous Prototypes

Dangerous Prototypes => Bus Blaster JTAG debugger => Topic started by: tcmichals on May 02, 2011, 05:06:04 pm

Title: Remapping pins for JTAG
Post by: tcmichals on May 02, 2011, 05:06:04 pm
One issue I'm always running into is the different pin out on boards for JTAG.  So, the goal I'm trying to do is some allow a programming option to setup the pins different.  So, now I don't need different break out boards.

Is this feasible? Good idea?  I guess how do I get started?  Yes, Yes, I'm a newbie...
Title: Re: Remapping pins for JTAG
Post by: ian on May 02, 2011, 05:14:43 pm
The pinout can be changed in the buffer to whatever you want. It is just a few changes in the UCF file. Let me know if you need help, or have a custom request.
Title: Re: Remapping pins for JTAG
Post by: tcmichals on May 02, 2011, 05:23:28 pm
Ok.. I would like to take a look at it, something new to look at it.  I thinking of some how do this on the fly...
Title: Re: Remapping pins for JTAG
Post by: arhi on May 03, 2011, 05:28:00 am
on the fly might be possible in theory but not very simple .. often you have 3 or 4 general jtag pinouts so it might be simpler to just make 3-4 svf's and then upload the one you need...
Title: Re: Remapping pins for JTAG
Post by: sdixon on May 03, 2011, 08:07:35 pm
Apropos on the fly reconfiguration of the BBv2 CPLD, robots noted in another recent message (viewtopic.php?f=51&t=2239&p=21368#p21368 (http://dangerousprototypes.com/forum/viewtopic.php?f=51&t=2239&p=21368#p21368)) that the CoolRunner II CPLD only guarantees 1000 write cycles.  That should be plenty for most uses but it isn't a lot if you are doing a lot of on the fly changes.  I hadn't realized that the number was that low until robots pointed it out.
Title: Re: Remapping pins for JTAG
Post by: ian on May 04, 2011, 08:34:08 am
Another approach is to have multiple pinouts in the same build that are changed by extra unused FT2232 pins (complicated because they are limited, only 16 between FPGA and CPLD). Better would probably be changing the pinout by jumpering or shorting one of the breakout pins.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00932051328session_write_close ( )...(null):0
20.00962182904ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00962183680Database_MySQL->query( ).../DatabaseHandler.php:119
40.05422322400Database_MySQL->error( ).../Db-mysql.class.php:273