Do you have an Arduino UNO? Then you have a logic analyzer!

arduino_as_logic_analyzerThis tutorial shows, step-by-step, how to turn your Arduino UNO into a 6 channel SUMP.

This logic analyzer is able to sample signals with a speed varying between 4 MHz and 10 kHz. Best results are obtained below 1 MHz. Above this mark, there is too much of a lag between the trigger detection and the sample start.

Get hands on and have fun with your recently discover logic analyzer!

By Jan CumpsĀ“Blog

Tutorial: Simulate AVR8 and Custom User Cores

NOTE: Please note that the tutorial does not show that you must select “Gadget Factory Papilio Custom Board” under tools/board in the Arduino IDE for the simulation file to be generated.

This screencast shows how to simulate a custom user core connected to the AVR8 Soft Processor. Simulation is the most efficient way to debug your custom VHDL or Verilog code or to learn about the AVR8 internals.

 

Follow along as we debug a custom core that extends the functionality of the AVR8 Soft Processor. We dig into the AVR8’s program counter, opcodes, and external pins as we delve into the internals of the soft processor.

 

 

Prerequisites:

Related

Part 1

  • Modify the Arduino Makefile to enable Simulation (2:00)
  • Load and modify custom user core sketch. (3:05)
  • Compile sketch with verbose output. (4:30)

Read the entire article for Videos 2-5.

Continue reading “Tutorial: Simulate AVR8 and Custom User Cores”

Tutorial: Custom User cores in the AVR8 Soft Processor.

This screencast provides instructions for downloading and synthesizing a custom AVR8 soft processor for use with a version of the Arduino IDE that has been modified for use with the Papilio.

Prerequisites:

Related

Part 1

Continue reading “Tutorial: Custom User cores in the AVR8 Soft Processor.”

Tutorial: Custom AVR8 Soft Processor for use with Arduino IDE. (V1.2)

This screencast provides instructions for downloading and synthesizing a custom AVR8 soft processor for use with a version of the Arduino IDE that has been modified for use with the Papilio.

Prerequisites:

Part 1:

  • Downloading the AVR8 source code.
  • Selecting only the peripherals you need.

Continue reading “Tutorial: Custom AVR8 Soft Processor for use with Arduino IDE. (V1.2)”

How-to debug internal FPGA Logic with the $50 Openbench Logic Sniffer.

This tutorial shows how to use the $50 OpenBench Logic Sniffer to debug internal FPGA logic. Debugging internal FPGA logic can be pretty challenging and time consuming, a lot can be done using simulation but when you have logic that interacts with the outside world debugging can come to a grinding halt. The traditional solution is to use the $500+ Chipscope Pro software, but for many this is just too expensive. This tutorial shows a cheap and effective way to get a look at what is going on inside your FPGA.

 

The FPGA development board used in the screencast is Gadget Factories Open Source Papilio One board. Think of the Papilio One as the “Arduino” of FPGA development boards.

 

Part 1

Introduction, overview, and background information.

Continue reading “How-to debug internal FPGA Logic with the $50 Openbench Logic Sniffer.”

Xilinx VHDL UART Example

Here is a three part screencast that provides an example of implementing a high speed 3Mb/s UART with the Papilio One board and the FT2232 USB chip.

 

The project uses the free Xilinx VHDL UART example because it is optimized for Xilinx hardware, it provides the smallest and fastest UART possible. The source code requires an end user license agreement which prevents us from providing the source code. Part one of the video tutorial walks you through adding the source code to the project after it has been downloaded from Xilinx.

Part 1

http://youtu.be/Hwq0mF0SxOM

Links:

Download the Example project from Gadget Factory.

Xilinx App Note. XAPP223

Download Picoblaze source code.

Please click the link to view the rest of the videos.

Continue reading “Xilinx VHDL UART Example”