Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/06/05 15:07
Read: times


 
#100686 - Using 8051 to program CPLD via JTAG
I have a system containing an Analog Devices ADuC841 (8051 family) and a Xilinx CPLD. I've connected the four JTAG pins on the CPLD to port pins on the uP so that it can be programmed in-system.

Xilinx has an application note (XAPP058) on how to do this, including an example C program, but we haven't been able to make enough sense of it to turn it into useable assembly code.

I've translated the CPLD program into an XSVF file, and converted that file to a block of DB statements in the assembly source. Now I need the routine(s) to parse that data and toggle the JTAG pins appropriately to program the CPLD.

Another engineer managed to get the C program to compile, but the file it produced contains many lines that won't assemble, and we don't see a way to define the four pins on the uP that are to be used.

Can anyone who's done this before get us going in the right direction?

List of 19 messages in thread
TopicAuthorDate
Using 8051 to program CPLD via JTAG            01/01/70 00:00      
   Eh???            01/01/70 00:00      
      Reply            01/01/70 00:00      
   Don't hurt yourself            01/01/70 00:00      
      Ouch!            01/01/70 00:00      
      Regarding XAPP058            01/01/70 00:00      
         ?????????????????            01/01/70 00:00      
         It's a interpreter of XSVF            01/01/70 00:00      
   why JTAG?            01/01/70 00:00      
      Yes, but...            01/01/70 00:00      
         not seeing the forest for the trees or w            01/01/70 00:00      
            Several reasons...            01/01/70 00:00      
      CPLD programming            01/01/70 00:00      
      programming Xilinx CPLDs            01/01/70 00:00      
   XSVF Executor!            01/01/70 00:00      
      XSVF Executor            01/01/70 00:00      
         XSVF Executor            01/01/70 00:00      
   Using 8051 to program CPLD via JTAG            01/01/70 00:00      
      Yeah well            01/01/70 00:00      

Back to Subject List