A Low Cost JTAG Debugger for the Raspberry Pi
来源:互联网 发布:幕墙光污染模拟软件 编辑:程序博客网 时间:2024/04/28 17:19
Setting up the MiniMod FT2232H For JTAG Debugging on a Raspberry Pi
The MiniMod FT2232H is an evaluation module for the FTDI FT2232H USB interface part. This part can be used to bridge a number of embedded interfaces to USB. There are many JTAG debugger interfaces that are implemented using this chip.For this setup, we will use the low cost MiniMod, some jumper wires, and the OpenOCD software to provide JTAG debug interface to the Raspberry Pi.
The JTAG interface, along with the Open Source OpenOCD software can be used to load and debug the Raspberry Pi from your development machine. In addition to the JTAG, the MiniMod can be used to provide the UART interface for the Raspberry Pi UART, all through the same USB connection to the PC! This is an inexpensive solution too. I bought my FT2232H MiniMod for $20.00 USD.
I was able to get this all working thanks to the amazing work of David Welch. David’s github sitehttp://github.com/dwelch67 has all of the information about JTAG debuggers on the Raspberry Pi. Many of the setup instructions here are similar to David’s although I had to adjust the pinouts slightly for the FT2232H module.
When you work on your Pi hardware, make sure it is not plugged in to power first! Also, be sure to avoid static electricity when working with your Pi and the MiniModule.
Collect the parts you need :
You will need the following- FT2232H MiniMod. I found mine on ebay for $20 USD.
- A pack of jumper wires. You could also wire up a Pi GPIO header so you can easily remove the debug setup.
- A USB cable to connect the MiniModule to your development computer.
2143658710912111413161518172019222124232625
The Pins on the pi are reversed: Pin 1 is at the bottom since we are looking at the bottom of the connector on the MiniMod and the Top of the connector on the Pi:
2625242322212019181716151413121110987654321
A view of the Pins on the MiniMod:
The Pins on the Raspberry Pi:
Wire up the MiniMod module to the Pi :
We need to connect 10 of these jumper wires between the Pi GPIO header and the FT2232H MiniMod. The following tables guide you through the connections you need to make. Some of the connections will go from one pin to another pin on the same connector:Raspberry Pi to Raspberry Pi Connections:
Minimod Connector 2 (CN2) to Minimod Connector 2 Connections:
Minimod Connector 3 (CN3) to Minimod Connector 3 Connections:
Minimod Connector 3 (CN3) to The Raspberry Pi Connections:
Minimod Connector 2 (CN2) to The Raspberry Pi Connections:
When you are finished, it should look something like this:
文章转自
文章转自:http://alanstechnotes.blogspot.com/2014/05/starting-up-pirtems-development-again.html
0 0
- A Low Cost JTAG Debugger for the Raspberry Pi
- Cross-compiling TensorFlow for the Raspberry Pi
- Building a 64bit Docker OS for the Raspberry Pi 3
- Raspberry Pi For Windows
- Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3
- Setting up an RTEMS development environment for the Raspberry Pi
- Compiling and installing RTEMS for the Raspberry Pi
- How to build a cross compiler for your Raspberry Pi
- Use the Raspberry Pi as a DIY Surveillance camera
- Watch dog for Raspberry Pi
- Raspberry Pi ISP tools for Embedded Pi
- For Low-cost countries, try "Automation Light"
- Use cases about the V4L2 driver for the Dual Raspberry Pi Camera Module
- A DIY low-cost LoRa gateway
- How to install or upgrade UV4L on Raspbian (for the Raspberry Pi)
- Virtual servers on a Raspberry Pi with the light weight OS virtualization system Docker!
- Setup Kubernetes on a Raspberry Pi Cluster easily the official way!
- 如何安装 Google coder for Raspberry Pi
- 1分钟实现“延迟消息”功能
- mac nginx的安装
- C陷阱与缺陷(五)
- kali安装sublime text 2
- VanlOS 10 RedWhale Kube coVirt 套件 --- 一套框架同时管理X86_64和aarch64容器和虚拟机
- A Low Cost JTAG Debugger for the Raspberry Pi
- Longest Substring Without Repeating Characters
- 二叉树的递归和非递归
- Markdownpad 2 破解补丁与注册机最新使用说明
- Starting up Pi/RTEMS development again, updates on the way!
- 算法笔记_070-BellmanFord算法简单介绍(Java)
- Caffe源码中Pooling Layer文件分析
- Codeforces Round #405 C. Bear and Different Names (思维)
- 10w定时任务,如何高效触发超时