8
I Use This!
Activity Not Available

News

Analyzed 12 months ago. based on code collected 12 months ago.
Posted almost 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports three new, closely related, protocol decoders: arm_tpiu, arm_itm, and arm_etmv3. Here's a quick overview of the protocols that are decoded: The TPIU (Trace Port Interface Unit) is a ... [More] stream formatter and multiplexer that combines data from several sources into one stream. It is used inside an ARM-based microcontroller or SoC to combine ITM and ETM trace output into a single port. ARM ITM (Instrumentation Trace Macroblock) allows tracing of software events, and also with the help of DWT (Debug, Watchpoint and Trace) the tracing of exceptions and data watchpoints. It also supports periodic sampling of PC values. ARM ETM (Embedded Trace Macroblock) allows tracing of every instruction executed on the CPU. Currently only ETM version 3 (the newest version, present in Cortex-M3 and other ARMv7-m) is supported. The data is captured on the SWO (TRACESWO) pin, e.g. on commonly available ARM SWD (serial wire debug) programmers/debuggers. Hint: libsigrokdecode also ships with an SWD decoder, if you're interested in that... You can test the decoders with some sample files from the sigrok-dumps repository. If you optionally supply the location of ARM (cross-)toolchain utilities such as arm-none-eabi-objdump or arm-none-eabi-addr2line you can decode even more information, including source code snippets (see screenshot below)! That opens up a whole new bunch of debugging possibilities; you can basically debug your code by not only tracing instructions but also tracing them in relation to other signals you're capturing with your logic analyzer at the same time (e.g. GPIOs you're toggling, UART, SPI, I²C, or whatever else may be going on in the system you're debugging)! All three decoders were contributed by Petteri Aimonen (including sample *.sr files and a small test-suite for our sigrok-test repository), thanks a lot! Happy debugging!   [Less]
Posted almost 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports three new, closely related, protocol decoders: arm_tpiu, arm_itm, and arm_etmv3. Here's a quick overview of the protocols that are decoded: The TPIU (Trace Port Interface Unit) is a ... [More] stream formatter and multiplexer that combines data from several sources into one stream. It is used inside an ARM-based microcontroller or SoC to combine ITM and ETM trace output into a single port. ARM ITM (Instrumentation Trace Macroblock) allows tracing of software events, and also with the help of DWT (Debug, Watchpoint and Trace) the tracing of exceptions and data watchpoints. It also supports periodic sampling of PC values. ARM ETM (Embedded Trace Macroblock) allows tracing of every instruction executed on the CPU. Currently only ETM version 3 (the newest version, present in Cortex-M3 and other ARMv7-m) is supported. The data is captured on the SWO (TRACESWO) pin, e.g. on commonly available ARM SWD (serial wire debug) programmers/debuggers. Hint: libsigrokdecode also ships with an SWD decoder, if you're interested in that... You can test the decoders with some sample files from the sigrok-dumps repository. If you optionally supply the location of ARM (cross-)toolchain utilities such as arm-none-eabi-objdump or arm-none-eabi-addr2line you can decode even more information, including source code snippets (see screenshot below)! That opens up a whole new bunch of debugging possibilities; you can basically debug your code by not only tracing instructions but also tracing them in relation to other signals you're capturing with your logic analyzer at the same time (e.g. GPIOs you're toggling, UART, SPI, I²C, or whatever else may be going on in the system you're debugging)! All three decoders were contributed by Petteri Aimonen (including sample *.sr files and a small test-suite for our sigrok-test repository), thanks a lot! Happy debugging!   [Less]
Posted almost 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports three new, closely related, protocol decoders: arm_tpiu, arm_itm, and arm_etmv3. Here's a quick overview of the protocols that are decoded: The TPIU (Trace Port Interface Unit) is a ... [More] stream formatter and multiplexer that combines data from several sources into one stream. It is used inside an ARM-based microcontroller or SoC to combine ITM and ETM trace output into a single port. ARM ITM (Instrumentation Trace Macroblock) allows tracing of software events, and also with the help of DWT (Debug, Watchpoint and Trace) the tracing of exceptions and data watchpoints. It also supports periodic sampling of PC values. ARM ETM (Embedded Trace Macroblock) allows tracing of every instruction executed on the CPU. Currently only ETM version 3 (the newest version, present in Cortex-M3 and other ARMv7-m) is supported. The data is captured on the SWO (TRACESWO) pin, e.g. on commonly available ARM SWD (serial wire debug) programmers/debuggers. Hint: libsigrokdecode also ships with an SWD decoder, if you're interested in that... You can test the decoders with some sample files from the sigrok-dumps repository. If you optionally supply the location of ARM (cross-)toolchain utilities such as arm-none-eabi-objdump or arm-none-eabi-addr2line you can decode even more information, including source code snippets (see screenshot below)! That opens up a whole new bunch of debugging possibilities; you can basically debug your code by not only tracing instructions but also tracing them in relation to other signals you're capturing with your logic analyzer at the same time (e.g. GPIOs you're toggling, UART, SPI, I²C, or whatever else may be going on in the system you're debugging)! All three decoders were contributed by Petteri Aimonen (including sample *.sr files and a small test-suite for our sigrok-test repository), thanks a lot! Happy debugging!   [Less]
Posted almost 10 years ago by Uwe Hermann
libsigrok now supports yet another multimeter, the MASTECH MS8250B. This is a 4000 counts autorange DMM with USB connectivity (via an internal USB-to-serial IC built into the DMM). Apart from the usual measurement ranges it also features a nice ... [More] non-contact voltage detector functionality. Thanks to Baruch Even for contributing and testing the code for this DMM (which is now part of the serial-dmm driver via a relatively small patch)!   [Less]
Posted almost 10 years ago by Uwe Hermann
libsigrok now supports yet another multimeter, the MASTECH MS8250B. This is a 4000 counts autorange DMM with USB connectivity (via an internal USB-to-serial IC built into the DMM). Apart from the usual measurement ranges it also features a nice ... [More] non-contact voltage detector functionality. Thanks to Baruch Even for contributing and testing the code for this DMM (which is now part of the serial-dmm driver via a relatively small patch)!   [Less]
Posted almost 10 years ago by Uwe Hermann
libsigrok now supports yet another multimeter, the MASTECH MS8250B. This is a 4000 counts autorange DMM with USB connectivity (via an internal USB-to-serial IC built into the DMM). Apart from the usual measurement ranges it also features a nice ... [More] non-contact voltage detector functionality. Thanks to Baruch Even for contributing and testing the code for this DMM (which is now part of the serial-dmm driver via a relatively small patch)!   [Less]
Posted almost 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports the pwm protocol decoder. The PD was contributed by Torsten Duwe and Sebastien Bourdelin, thanks a lot! This decoder will show the duty cycle of any signal, which in practice can mean various ... [More] things. E.g. Class-D amplifiers can use PWM to encode audio data. We have a test file in the sigrok-dumps repository containing audio data. The decoder also supports a binary output facility which you can use to decode the audio (a direct export to WAV is planned as well, though). $ sigrok-cli -i pwmtest.sr -P pwm:data=4 -B pwm=raw > PWM.raw $ sox -t raw -e unsigned -b 8 -r 64000 PWM.raw PWM.wav $ aplay PWM.wav   [Less]
Posted almost 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports the pwm protocol decoder. The PD was contributed by Torsten Duwe and Sebastien Bourdelin, thanks a lot! This decoder will show the duty cycle of any signal, which in practice can mean various ... [More] things. E.g. Class-D amplifiers can use PWM to encode audio data. We have a test file in the sigrok-dumps repository containing audio data. The decoder also supports a binary output facility which you can use to decode the audio (a direct export to WAV is planned as well, though). $ sigrok-cli -i pwmtest.sr -P pwm:data=4 -B pwm=raw > PWM.raw $ sox -t raw -e unsigned -b 8 -r 64000 PWM.raw PWM.wav $ aplay PWM.wav   [Less]
Posted about 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports the am230x protocol decoder. This PD decodes the custom protocol of the Aosong AM230x and DHT11 temperature and humidity sensors. A short description of the protocol is available on the ... [More] respective wiki page, along with pointers to further reading. There are also a bunch of teardown photos of these sensors, in case you were wondering what those look like inside. Turns out they usually use some ST STM8S (or other) microcontroller and measure temperature and humidity "directly" without further ICs. The exception being the Aosong AM2303 which actually uses a Dallas/Maxim DS18B20 (1-Wire) sensor for the measurement. Thanks a lot to Johannes Roemer for contributing the decoder! [Less]
Posted about 10 years ago by Uwe Hermann
We're happy to announce that libsigrokdecode now supports the am230x protocol decoder. This PD decodes the custom protocol of the Aosong AM230x and DHT11 temperature and humidity sensors. A short description of the protocol is available on the ... [More] respective wiki page, along with pointers to further reading. There are also a bunch of teardown photos of these sensors, in case you were wondering what those look like inside. Turns out they usually use some ST STM8S (or other) microcontroller and measure temperature and humidity "directly" without further ICs. The exception being the Aosong AM2303 which actually uses a Dallas/Maxim DS18B20 (1-Wire) sensor for the measurement. Thanks a lot to Johannes Roemer for contributing the decoder! [Less]