Tag Archives: JTAG

TinyFPGA Programmer

A dirt cheap open hardware USB-JTAG board designed to program TinyFPGA A1 and A2 boards. by Luke Valenty @ hackaday.io:

One of the goals of the TinyFPGA boards is to make FPGAs cheaper to use. The #TinyFPGA A-Series boards are the first TinyFPGA boards and are designed to be the least expensive. As such, they do not include a built-in USB interface as that would increase the cost and complexity too much. Instead they rely on JTAG programmers.

TinyFPGA Programmer – [Link]

ULINKplus, A Debug Adapter With Power Measurment

While building an ultra-low power application, sensitive hardware and software validation is required to reach system and long battery life. Testing will need an interaction with the tested parts, like simulating input pins of the target application.

These difficulties could be solved with ARM’s new debug adapter “ULINKplus“. It connects the target system with the PC through USB port using a 10-pin Cortex Debug connector. Its power measurement technology allows developers to program, debug, and analyze their applications and their power consumption.

Main features of ULINKplus are:

  • Integrated power measurement synchronized to event tracing which makes it easy to optimize the overall energy envelope of a system.
  • Isolated JTAG/serial-wire connection to the target hardware is essential for testing applications such as motor control, power converters, or systems with sensitive analog processing.
  • Additional test I/O pins are accessible from the debugger and debug scripts to interact with the target and control automated test stands.

ULINKplus, together with MDK, provides extended on-the-fly debug capabilities for Cortex-M devices. You can control the processor, set breakpoints, and read/write memory contents, all while the processor is running at full speed. High-Speed data trace enables you to analyze detailed program behavior.

In addition to downloading programs to your target hardware, you will be able to examine memory and registers, single-step through programs and insert multiple breakpoints, to run programs in real-time, program Flash memory, and to connect to running targets (hot-plugging).

Live data from power measurement

ULINKplus offers a high speed connections that reach 50 Mbit/s for data and event trace for Cortex-M, 20 MHz JTAG clock speed, and 3 MBytes/s high-speed memory read/write.

ULINKplus technical specifications:

  • Compact case 62 x 44 x 11 mm (dust-protected)
  • JTAG/SWD: 20 MHz JTAG clock, 50 MHz serial-wire trace, 10-pin Cortex debug connector, 1 kV isolation
  • Memory access 3 MB/sec, serial-wire trace up to 50 Mbit/sec
  • Power measurement: 2 x 16-bit A/D, 400 KSamples/sec, 3-pin connector, 1 kV isolation
  • Test I/O: 9 digital in/out, 4 analog in, 1 analog out, 3.3 V switchable output voltage (11-pin connector)
  • Debug connection: USB2.0 (to host PC), CMSIS-DAP protocol

According to ARM, ULINKplus will be available from this month.

ARM CoreSight SoC-600, The Future of Debug

Debugging is an important part of the design process that is necessary to identify and fix errors. Over the decades, debug tools had evolved providing easier and simpler solutions. Today, ARM introduces CoreSight SoC-600 as the next-generation debug and trace tool that speeds up finding the root of the problem, with less iterations and lower risks.

Addressing the requirements of the increasingly connected world characterized by faster product-development cycles, this new technology offers debug and trace over functional interfaces such as USB, PCIe or wireless, reducing the need for hardware debug probes while increasing data throughput.

Key benefits include:

  • Debug access available and accessible throughout the product lifecycle, from production and manufacture, to remote access in the field
  • Remote debug access (e.g. via Ethernet or wirelessly)
  • Increased data bandwidth for improved system visibility
  • Multiple debug agents can simultaneously access debug memory space (e.g. for concurrent external and self-hosted access)
  • Interface peripherals (such as USB and PCIe) share a common access to APs, together with any existing JTAG DP or resident software
  • Self-hosted, cross CPU debug access

CoreSight SoC-600 comes with a new Debug Access Port (DAP) architecture. It introduces standard APB connectivity between Debug Port (DP) and Access Port (AP), making it possible to have multiple DPs connected to multiple APs.

CoreSight SoC-600 also includes an enhanced Embedded Trace Router (ETR) functionality. In additional to removing the need for a separate Trace Memory Controller (TMC) license, enhancements to the Embedded Trace Router (ETR) configuration make it possible to supply a trace interface with four times the amount of bandwidth previously possible.

There are two approaches to host the link protocol when building a CoreSight SoC-600-based system:

  1. Protocol on dedicated CPU: this approach comes at a cost of additional dedicated resources, however, it is the least intrusive approach and provides bare metal debug capabilities.
  2. Protocol on main CPU: this approach does not require additional hardware, yet it is invasive and relies on CPU not being halted.

For further information and details about SoC-600 you can visit the official page, and the official article on ARM website.

Easy ARM Programming With 1Bitsy & Black Magic Probe

1 Bit Squared executes hardware and software design, development and manufacturing for a wide range of micro to nano UAV systems available on the market: from quadcopters to multicopters as well as airplanes, helicopters and transitioning vehicles. A Kickstarter campaign was launched to unveil  the new Black Magic Probe V2.1 with its companion demo platform 1Bitsy V1.0.

The Black Magic Probe is a JTAG and SWD Adapter used for programming and debugging ARM Cortex MCUs. It’s the best friend of any ARM microcontroller developer. It works like a brain tap, it allows you to inspect and affect any aspect of the program you are running on your 1Bitsy without having to add special code. 1Bitsy is a user friendly open-source ARM Cortex-M4F Development Platform.

Check the campaign video to know more about the new products.

The Plug & Play JTAG/SWD ARM debugger features:

  • On board implementation of JTAG (Joint Test Access Group) protocol
  • On board implementation of the SWD (Serial Wire Debug) protocol
  • High speed data interface to the Device Under Test 4.5MBit
  • On board implementation of the GNU Debugger Server protocol (no need for OpenOCD) works with stock arm-none-eabi-gdb (no patches or plugins needed)
  • Automatic detection of the Device Under Test (no need for config files)
  • Frontend Level shifter. Usable with targets that run on voltages as low as 1.7V and as high as 5V.

In efforts to demystify ARM programming, you are now able to do the following applications while using a Black Magic Probe:

  • Interrupt program
  • Inspect and modify registers and variables
  • Watch variables (the program gets interrupted and reports a variable value change)
  • Breakpoints (you can set a point in your code that will cause the program to stop as soon as it is reached)
  • Call stack and backtrace (you can see what functions, with which parameters brought us to the current point and state of the program)
  • Disassembly (see the machine code and find out exactly what your program is doing)
  • Dump memory (download the RAM and/or flash content to a file)

1Betsy & Black Magic was available as an early bird combo for $65. The campaign has exceeded its $10,000 goal with $47,841 and should be delivering rewards now. More technical details can be reached at the campaign and the official website.