MCU

Anaren LR09A

Anaren LR09A

The LR09A (A110LR09A) is a module built by Anaren Inc based on the sub-1 GHz RF transceiver – CC110L.

For evaluation is really easy to use the AIR Boosterpack

TI Link: http://www.ti.com/tool/430boost-cc110l

Anaren Link: https://www.anaren.com/air/cc110l-air-module-boosterpack-embedded-antenna-module-anaren

Using one pcb for stand-alone operation:

On the PCB there are some DNP components that are needed only for the stand-alone configuration.

  • one simple S1 push switch is used for pairing
  • two 47k pull-up resistors – one 0603 as R1 and one at P1.3 (I don’t know why I can’t see the footprint)
  • one 0603 LED as D1 and his 0603 limiting resistor R2
  • some 0.1uF decoupling caps

The MSP430G2553 needs to be programmed with the Anaren Firmware and configured with ATC – BoosterStack Lite as Sensor (Application State Selector).

 

Links:

LR09A Module Price on Mouser and Digikey: http://eu.mouser.com/ProductDetail/Anaren/A110LR09A00GM/

http://www.digikey.com/product-detail/en/anaren/A110LR09A00GM/1173-1030-ND/3069152

Anaren’s CD for the AIR BoosterPack: https://www.anaren.com/sites/default/files/120124%20-%20CD%20ROOT.zip

TI’s CC110L Product Folder: http://www.ti.com/product/cc110l

CC110L price on Digikey: http://www.digikey.com/product-detail/en/texas-instruments/CC110LRGPT/296-41410-2-ND/4090782

 

 

HVSP: Reviving on old ATtiny13

HVSP needed! When ISP fuse is disabled and DW not working.

High Voltage Serial Programming – (sometimes known as SHVP).

STK500 High Voltage Serial Programming

STK500 High Voltage Serial Programming Wiring

The AVR Studio 4 way:

Connect. Select HVSP. Go.

THE AtmelStudio 7 way:

View > Available Atmel Tools shows only the JTAGICE mkII and the Simulator. Go to Tools > Add target. Or write STK in the upper-right box called “Quick Launch” and the Add target dialog appears. (I tried also PICkit, but it’s still not there)

AtmelStudio7 Tools Add target

AtmelStudio7 Tools Add target

HVSP Links:

MSP432 Launchpad is… launched

MSP432 Launchpad

The new 32bit Cortex M4F MSP432 is already soldered on a Launchpad, get one from TI’s store:

https://store.ti.com/msp-exp432p401r.aspx

It’s a new ARM Cortex M4F
MSP432 Launchpad12.99 USD + S&H = 1 MSP432P401R Launchpad

MCU Features:

  • 48MHz ARM Cortex M4
  • 95uA/MHz active power
  • 850nA RTC operation
  • 14-bit 1MSPS differential SAR ADC
  • AES256 accelerator

Development Tools

HW: XDS100, XDS100ET (the onboard version on the Launchpad)

SW: CCS. IAR search didn’t bring up nothing for now…

MSP432 RTOS

Because it’s ARM!

Available: FREE RTOS, TI RTOS, Micrium OS

 

I hope I’ll compare it soon with one of the EFM32 Gecko’s… straight on the desktop.

Links:

MCU folder: http://www.ti.com/tool/MSP-EXP432P401R

Energy Trace: http://www.ti.com/tool/energytrace?DCMP=ep-mcu-msp&HQS=energytrace

MSP432P4x: http://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/msp/low_power_performance/msp432p4x/getting_started.page?keyMatch=msp432&tisearch=Search-EN-Everything#second

430oh page: http://43oh.com/2015/03/hot-red-to-sexy-black-the-new-msp432-launchpad-retails-for-12-99/

FREE  RTOS: http://www.ti.com/tool/msp432-rtos

Getting started with the LaunchPad and TI’s cloud development tools – youtube video: https://www.youtube.com/watch?v=QETprOYhmyQ

Intro – youtube video: https://www.youtube.com/watch?v=tXVUlnnyAGA

DesignNews article: http://www.designnews.com/document.asp?doc_id=276975

TI CC3200 Launchpad – Quick Guide

TI-Exosite_CC3200A quick start guide to the CC3200 Launchpad:

Out Of the Box feeling

OOB application is very nice, you can connect to the AP without security and then you go to the 192.168.1.1 (or http://mysimplelink.net , as indicated by TI, if you think that’s shorter…). Here answers a small webserver that serves some (uncompressed) html files that  are a frontend to the configuration settings and also some nice demo programs and documentation.

More

Prerequisites:

Uniflash Simplelink: The flashing tool for the CC3200 http://www.ti.com/tool/uniflash

Jumper on SOP pins.

Uniflash wiki UG: http://processors.wiki.ti.com/index.php/CC31xx_%26_CC32xx_UniFlash

The CC3200 SDK + Service pack can be downloaded from here: http://www.ti.com/tool/cc3200sdk

Some IoT provider, I chose Exosite. Step by step account and usage documentation: https://support.exosite.com/hc/en-us/articles/202271424–CC3200-Wi-Fi-Launchpad

Shortlist:

Create a TI Exosite account https://ti.exosite.com

Add the device mac to the Exosite Dashboard

Flash the Exosite firmware on the CC3200 Launchpad

Enjoy!

Issues:
  • Profiles won’t be saved if the WPA2 key is too long. Even in OOB Fw.
  • Flashing without format won’t work.
  • Formatting various sizes (1MB, 2MB, 4MB, 8MB, 16MB  from Format Options window that comes after you push Format button) leads to strange results, my CC3200 Launchpad has responded well only on 4MB. Even the OOB was unable to restore the board without reformatting to 4MB.
  • I noticed that sometimes the CC3200LP communication enters in a strange mode, appearing offline to Exosite and the Dashboard is showing up some negative temperatures. The LP responds to ping, the uptime displayed by the http server is ok. Only a power cycle reset solves it…
Fastest way:
  1. Select COM port, put jumper on SOP pins, verify using Get Version (Reset push-button required).
  2. Formatted 4MB, nothing else checked.
  3. Apllied Service Pack Update.
  4. Flash the desired firmware.
  5. Remove SOP jumper. Put on the AP Jumper (VCC-P58)
  6. Connect to the AP without security
  7. Create a Profile with the local WiFi configuration (SSID, Key) and give it a index number. Save.
  8. Reset the board and wait the boot and connect sequence.
If you try to restore the OOB firmware, you get the original status by opening with Uniflash the out_of_box.ucf that comes in the CC3200SDK\cc3200-sdk\example\out_of_box\html folder.
Other useful links:

E2E TI Forum – CC3200 section: http://e2e.ti.com/support/wireless_connectivity/f/968.aspx

CC32xx Wiki: http://processors.wiki.ti.com/index.php/CC31xx_&_CC32xx

The public dashboard hosted on Exosite: https://ti.exosite.com/views/3194349686/3199082241

 

Late edit:
  1. The problem was due to a high current thing, and brings the CC+Exosite FW  in the same boat with the Fluke 233  rev.1 @36mA in active mode…
  2. Preproduction Silicon doesn’t support SDK > 1.1
  3. Exosite’s guide for those who want to switch from Portals to Murano https://community.exosite.com/t/how-to-use-murano-in-my-own-cc3200-board/316/2
Even later:
  1. Connection issues are mainly because of the SOP (Sense On Power) Jumpers. Flashing/Programming can be done with 100 configuration, that means only one jumper, placed on position labeled 2.
  2. Using the programmed configuration will be done removing that SOP jumper
  3. Uniflash 4.0 can’t be used for CC3200, use instead the old 3.4.x version
  4. The COM Port speed setting: 921600

OpenHAB ++

the name is my.openhab.org

The next step in the BB+Debian+OpenHAB story.

 

[code lang=”C”]
Apache2 configuration for the ports:
/etc/apache2/ports.conf
Apache2 configuration of the virtual host:
/etc/apache2/sites-available/default
OpenHAB configuration for the ports:
/etc/default/openhab
[/code]

 

BB+Debian => port 8080 web server root folder: /var/www   is the Apache/2.2.22 (Debian) Server

I changed the OpenHAB port to 8888 because I use the Apache2 8080.

but… the org.openhab.io.myopenhab___ addon sends the requests to http://localhost:8080/

…after some errors i changed the OpenHAB back to 8080 and the Apache2 to some other port.

next: get HABDroid or Apple iOS equivalent. Of course check if  Java version is 1.7

The HABDroid is incredibly fast!!!

 

Some links:

https://my.openhab.org/docs

https://play.google.com/store/apps/details?id=org.openhab.habdroid&hl=en

https://my.openhab.org/openhab.app?sitemap=yoursitemap.here  fill it with one of the sitemaps that is on the running OpenHAB installation

The ThankYou page

Renesas RPBRX62N promotional board

Renesas RPBRX62N unpacking

Renesas RPBRX62N unpacking

The Renesas RPBRX62N is a promotional board that exceeds the normal features of a  demo board and comes close to a rapid prototyping board.

The board features a RX62N chip, a Segger J-Link JTAG debugger and a HEW IDE with a 60 days C Compiler license. Full option!!!

Renesas RPBRX62N Hardware

The pin  header comes unsoldered and the plating quality is excellent. See the attached pictures.

The actual configuration leaves 4 (SCI) UARTs available on the header.

Other on-board features are a USB port, a joystick , a potentiometer, some switches, leds and the Ethernet port.

A SMSC LAN8700I –  a ±15kV ESD Protected MII/RMII 10/100 Ethernet Transceiver with HP Auto-MDIX Support and flexPWR – makes the Ethernet interface.

RPBRX62N HEW Segger

Renesas RPBRX62N HEW Segger

Software and documentation:

The preloaded demo software features a web server built on uIP and shows  some basic functions like commanding the leds and a VNC server that nicely substitutes a full display. The source code of the preloaded demo program is in the tutorial project/HEW.

Both demo webservers (Renesas and Segger version) are using 192.168.1.10 as default IP Address, but on the CD  is included a IP identifier (IP Address Display Tool) software named UsbViewer.

Segger’s website provides a full .hws demo project and documentation. The direct link is here.

You can download also a  EmbOS trial version for RX here.

The documentation is complete. The “RX62N Group, RX621 Group
User’s Manual: Hardware” (filename r01uh0033ej_rx62n.pdf) has 2014 pages and >50MB.

Renesas RPBRX62N Links:

Manufacturer’s page: http://www.renesas.eu/products/tools/introductory_evaluation_tools/renesas_promotional_boards/RPBRX62N/index.jsp

Segger page: http://www.segger.com/renesas-rpbrx62n-eval-board.html

RX62N page: http://www.renesas.eu/products/mpumcu/rx/rx600/rx621_62n/index.jsp

e-Learning  website: http://www.renesasinteractive.com/

Community website: http://renesasrulz.com/

Bus Pirate v.3

A great product: The Bus Pirate v.3

Bus Pirate v3b

Bus Pirate v3b

The Bus Pirate v.3  is a great piece of open source hardware and software bundle, built by Ian Lesnet & Co. @dangerousprototypes that can easy substitute some quick-build interfacing adapter for I2C, UART, 1-Wire, SPI, MIDI and many other serial protocols.

One important thing is that is 5.5v tolerant and supports some scriptable binary bitbang. In other words you can test at bit level various things that supports syncronous and asyncronous serial protocols.

Is built around a FT232RL converter, a PIC24 and a smart power supply (5v and 3v3 supplied to the target as software option).

Some features here: http://dangerousprototypes.com/docs/Features_overview

Unfortunately… somehow I managed to burn his first 3v3 Micrel LDO (VR2 on the schematic/pcb). A short circuit on the cable connector and the LDO is gone.

To use the BusPirate again I had to switch the 3v3 LDO’s, the first one powers the board and the second one is for the “power to target” mode. Now the board is without the 3v3 supply option.

A v3 vs. v4 comparison: http://dangerousprototypes.com/docs/Bus_Pirate_v4_vs_v3_comparison

The 3b hardware overview: http://dangerousprototypes.com/docs/Bus_Pirate_v3b

Some places to buy:

Seeed: http://www.seeedstudio.com/depot/bus-pirate-v3-assembled-p-609.html?cPath=61_68

Watterott: http://www.watterott.com/de/Dangerous-Prototypes?x76825=eb8db1605207013dc33987d199f09e3d

Adafruit: http://www.adafruit.com/products/237

Other Bus Pirate resources:

Wikipedia: http://en.wikipedia.org/wiki/Bus_Pirate

A very good Italian article about 1-wire communications and Bus Pirate: http://www.settorezero.com/wordpress/il-bus-pirate-cosa-e-come-funziona-esempio-di-comunicazione-con-bus-1-wire/

A very good I2C article: http://www.maartendamen.com/2011/04/bus-pirate-talking-to-chips-bmp085-used-as-sample/

3-wire protocol article: http://bobdasquirrel.blogspot.it/2013/01/bus-pirate-meets-93lc46b.html

 

 

The amazing small board – NXP LPC800 by NGX

The amazing small board - NXP LPC800

The amazing small board – NXP LPC800

LPC800 series develeopment tool

I just get my hands on this board courtesy of Element14.

It’s amazing.  Simple and efficient.

The small pin number is compensated in a great way: The Switch Matrix – it connects 6 pins to any available internal module.

Of course, programming can be done in bootloader mode, where every pin is reassigned according to the original layout.

LPC810 features:

  • ARM Cortex-M0+
  • Switch matrix for flexible configuration of each I/O pin function
  • 2 USART interfaces, 1 SPI controller and 1  I²C-bus, with pin functions assigned through the switch matrix
  • Self Wake-up Timer (WKT) clocked from either the IRC or a low-power, low-frequency internal oscillator
  • CRC engine
  • Boot ROM API support: boot loader, USART and I²C drivers in ROM, power profiles, Flash In-Application Programming (IAP) and In-System Programming (ISP)

The debugging options supported are SWD (10 pin connector), JTAG boundary scan and Micro Trace Buffer (MTB).

The quickest/cheapest programming method is via spi*ISP (6 pin connector) with a USB/Serial cable.

Links:

NXP LPC800 mini: http://lpcware.com/lpc800-mini-kit

Schematic: http://lpcware.com/system/files/LPC800%20mini%20board%20Rev%20AR2_0.pdf

NGX Tech: http://ngxtech.com/

Some NGX JTAG Probes: http://shop.ngxtechnologies.com/index.php?currency=EUR&cPath=26&sort=2a

Element14 Community: http://www.element14.com

Recorded Elektor Academy Webinar: http://www.element14.com/community/videos/8356/l/elektor-academy–lpc800-arm-simplicity–twist-your-arm

LPCXpresso Community: http://knowledgebase.nxp.com/forumdisplay.php?f=4

Code Red (actually owned by NXP): http://www.code-red-tech.com/

IAR EW for ARM: http://www.iar.com/en/Products/IAR-Embedded-Workbench/ARM/

KEIL MDK ARM: http://www.keil.com/arm/mdk.asp

Some MBED resources: http://ioclk.com/mbed-arm-rapid-prototyping-tool/

Switch Matrix Tool (Java): http://www.lpcnow.com/articles/84558/lpc800-switch-matrix-making-life-easier-one-pin-at/

a note by user mio @ MBED.org: http://mbed.org/users/mio/notebook/lpc800-mini-boards-p1-to-p44/ 

arm.com blog page: http://blogs.arm.com/embedded/868-the-un%E2%80%99nxp%E2%80%99ected-lpc800/

article about the LPC800 with some Switch Matrix work: http://www.microcontrollercentral.com/author.asp?section_id=1758&doc_id=255764

*error corrected! thanks to nathael

Microchip Development Tools Deals – June 2013

June Development Tools Deals http://www.microchip.com/pagehandler/en_us/promo/devtooldeals/

Amazing MP3 Player! $80 Off – Coupon Code: TP1328

Development Tools Deals  - PIC32MX1/MX2 Starter Kit

Development Tools Deals – PIC32MX1/MX2 Starter Kit

Product page: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en555947

Features include:

  • 24Bit Audio playback
  • Integrated Programmer Debugger
  • 2” Color TFT Display – 220 x 176 pixel
  • mTouchTM slider and buttons
  • PIC32MX250F128 with 128KB of Flash, 32KB RAM
  • Micro SD Flash Card

Other Development Tools Deals for June:

E-Ink Display for Any Microprocessor. A Kickstarter Project

Easy to use, quick connecting,  E-Ink display module various applications.

“The product contains an E-Ink display, display driver components and microController in one easy to use package.

They are available in three display sizes.

Bitmap graphics and text are placed on the display in the size, font and position desired.

Control is with SPI, Serial or I2C ports.

The ePs works standalone or controlled by a uController and operates on 3 to 16 VDC.

The medium and large ePS circuit board is suitable for securing in a project box or even plugging into the top of an Arduino shield stack.”

Project page:   

http://kck.st/YisV2h

or in a unshortened form:

http://www.kickstarter.com/projects/408216430/e-ink-display-for-any-microprocessor

 

4/30 for MSP430

TI announces some limited quantity MSP430 development kits in the TI eStore, the deal lasts 430 minutes and starts at 10AM UTC (4/30 2013).

eZ430-Chronos – $50     $58.00

MSP-FET430U128 – $150     $175.00

MSP-FET430U100B – $130     $175.00

MSP-FET430U100C – $130     $175.00

International shipping included.

TI’s marketing hits again!

The new Tiva Launchpad EK-TM4C123GXL

The new Tiva Launchpad

The new Tiva Launchpad

TI announces a new Launchpad: The Tiva C Series TM4C123G LaunchPad Evaluation Kit.

Now is on pre-order status with a 10-12 weeks delivery time.

This is a evaluation platform for ARM® Cortex™-M4F-based microcontrollers featuring the newest  TM4C123GH6PM with a USB 2.0 device interface and hibernation module.

Some TM4C123GH6PM Specifications:

  • 32-bit ARM® Cortex™-M4 80-MHz processor core with System Timer (SysTick)
  • integrated Nested Vectored Interrupt Controller (NVIC)
  • Wake-Up Interrupt Controller (WIC) with clock gating
  • Thumb-2 instruction set
  • On-chip memory, featuring 256 KB single-cycle Flash up to 40 MHz, 32 KB single-cycle SRAM;
  • internal ROM loaded with TivaWare™ for C Series software; 2KB EEPROM
  • 2 CAN modules
  • USB controller with USB 2.0 full-speed (12 Mbps) and low-speed (1.5 Mbps) operation, 32 endpoints
  • USB OTG/Host/Device mode
  • 8 UARTs with IrDA, 9-bit, and ISO 7816 support
  • four Synchronous Serial Interface (SSI) modules, supporting operation for Freescale SPI, MICROWIRE, or Texas Instruments synchronous serial interfaces;
  • 4 I2C modules
  • 2 12-bit ADCs
  • Advanced motion control, featuring: 8 PWM generator blocks, each with one 16-bit counter, 2 PWM comparators, a PWM signal generator, a dead-band generator, and an interrupt/ADC-trigger selector; 2 PWM fault inputs to promote low-latency shutdown; 2 Quadrature Encoder Interface (QEI) modules
  • Timers: 2 ARM FiRM-compliant watchdog timers; six 32-bit general-purpose timers (up to twelve 16-bit); six wide 64-bit general-purpose timers (up to twelve 32-bit); 12 16/32-bit and 12 32/64-bit Capture Compare PWM (CCP) pins
  • Up to 43 GPIOs (depending on configuration), with programmable control for GPIO interrupts and pad configuration, and highly flexible pin muxing
  • Lower-power battery-backed Hibernation module with Real-Time Clock

Some links:

https://estore.ti.com/Tiva-C-LaunchPad.aspx

http://www.ti.com/tool/ek-tm4c123gxl

http://www.ti.com/product/tm4c123gh6pm

http://www.ti.com/lsds/ti/microcontroller/tiva_arm_cortex/c_series/tm4c_arm_cortex-m4/overview.page?DCMP=tivac-series&HQS=tiva-cseries-pr-lp Tiva™ C Series MCUs Overview

 http://newscenter.ti.com/2013-04-15-TI-introduces-new-Tiva-C-Series-ARM-Cortex-M4-microcontrollers-MCUs-for-connected-applications TI’s Press Release about Tiva C Series

The Stellaris LaunchPad from Texas Instruments, ARM development made easy.

The Stellaris Launchpad – a good and cheap ARM tool.

The pre-registered Stellaris Launchpad version was 4.5USD only, actual version is 12.99 USD.

This fantastic board features two LX4F120H5QR (ARM Cortex M4 with floating point), one as ICD and one as target, two user switches and one RGB Led driven by 3 transistors.

The “target” clock oscillator is build with Y1 32k768 and Y2 16MHz Osc.

The power jumper allows you to measure the target’s power consumption.

Other great thing is the presence of the two gender stackable headers which allows any header connector/cable combination, the Piccolo C2000 had only dual-side (stackable) male headers.

TI Stellaris LaunchPad

TI Stellaris LaunchPad

General Launchpad links:

LaunchPad site: http://www.ti.com/launchpad

Build Your Own LaunchPad or LaunchPad BoosterPack Development Kit

Stellaris Launchpad links:

Stellaris Launchpad page on TI Wiki: http://processors.wiki.ti.com/index.php/Getting_Started_with_the_Stellaris_EK-LM4F120XL_LaunchPad_Workshop

Stellaris ICDI debug Drivers: http://www.ti.com/tool/stellaris_icdi_drivers (Stellaris Virtual Serial Port, ICDI DFU Device, ICDI JTAG/SWD Interface)

Stellaris LaunchPad User Manual (spmu289a): http://www.ti.com/litv/pdf/spmu289a

TI-RTOS: http://www.ti.com/tool/ti-rtos

Stellarisware: http://www.ti.com/stellarisware

Build Your Own BoosterPack: http://processors.wiki.ti.com/index.php/BYOB

 

C2000 demo program modification

C2000 Launchpad celcius to celsius change

C2000 Launchpad celcius to celsius change

Testing the C2000 Launchpad:

After loading the default application sourced by TI Control Suite 3.0.3 into TI Code Composer 5 I changed the “Celcius” spelling into “Celsius”. May be someone’s trademark?

The C2000 Launchpad works great, the XDS100 included is instantly detected by the Code Composer and works as debugger in the same time with the USB/Serial console.

Another great tool from TI!

 

C2000 Launchpad Photos

TI C2000 Piccolo Launchpad

TI C2000 Launchpad

TI C2000 Launchpad

 C2000@Launchpad

  • A great evaluation tool for the electronic enthusiast, the hobbyist and the hardware/software developer who seeks a quick path to the TI’s 32bit C2000 microcontroller line wich is designed for real-time control applications.

https://estore.ti.com/LAUNCHXL-F28027-C2000-Piccolo-LaunchPad-P3088.aspx … and the price is fabulous too.

  • integrated isolated XDS100 JTAG emulator
  • TMS320F28027
  • 8 PWM channels, eCAP, 12bit ADC, I2C, SPI, UART

 

https://estore.ti.com/LAUNCHXL-F28027-C2000-Piccolo-LaunchPad-P3088.aspx

… and the price is fabulous too.

 

Info: http://www.ti.com/tool/launchxl-f28027

Piccolo MCU Datasheet: http://www.ti.com/litv/pdf/sprs523h

J-Link Lite for Cortex-M debug probe included in IAR KickStart Kit for Kinetis K70F120M

J-Link Lite for Cortex-M debug probe

J-Link Lite for Cortex-M debug probe

Kit contents:

  • TWR-K70F120M – MK70FN1M0VMJ12: K70FN1M in a 256 MAPBGA with 120 MHz operation
  • TWR-ELEV – Two elevator modules that provide power regulation circuitry, standardized signal assignments, and act as common backplane for all assembled Tower System modules
  • TWR-SER – Serial peripheral module with Ethernet, USB, RS232/485, and CAN interface circuitry
  • J-Link Lite for Cortex-M – a small JTAG-emulator with SWD/SWO debugging support for Cortex-M devices
  • DVD with software development tools, example projects & MQX BSPs, documentation
IAR KickStart Kit for Kinetis K70F120M

IAR KickStart Kit for Kinetis K70F120M

Price in IAR’s e-shop: 200 EUR / USD 249

https://old.iar.com/website1/1.0.1.0/3084/1?item=prod_prod-s1%2F594

(the link states old.iar… but is the current e-shop)

 

Atmel AVR JTAG-ICE mkII

This development tool supports all AVR devices with JTAG Interface,  from 8-bit to 32-bit AVR devices (with On-Chip Debugging).

  • Supports up to 3 hardware program breakpoints or 1 maskable data breakpoint (depending on the OCD)
  • Supports symbolic debug of complex data types including scope information
  • Supports up to 128 software breakpoints
  • Includes on-board 512kB SRAM for fast statement-level stepping
  • Level converters support 1.8V to 5.5V target operation
  • Uploads 256Kb code in ~30 seconds (XMEGA using JTAG interface)
  • Full-speed USB 2.0 compliant (12 MB/s) and RS-232 host interfaces

Some considerations about debugging with JTAGICE from the User Guide (p.7-8, sections 1.2.2-1.2.6) download User Guide

In Run mode, the code execution is completely independent of the JTAG ICE. The JTAG ICE will continuously poll the target AVR to see if a break condition has occurred. When this happens, the OCD system will read out all necessary data Program Counter, I/O registers, EEPROM, General Purpose registers, and SRAM contents, and transmit this to AVR Studio through the JTAG interface. Since the target AVR device operates independently, there is no way of tracing what code has been executed prior to the breakpoint.

The Stopped Mode: When a breakpoint is reached, the program execution is halted, but all I/O will continue to run as if a breakpoint did not occurred. For example, assume that a USART transmit was initiated when a breakpoint is reached. Using a traditional ICE, the operation would
be halted, and single stepping through the code would give a cycle accurate bit pattern on the TxD pin. When using the JTAG ICE on the AVR, the USART would continue to run at full speed completing the transmission.

Software Breakpoints: A software breakpoint is a break instruction placed in Flash memory. When this instruction is executed, it will break the program execution. When placing a breakpoint on an instruction in AVR Studio, this instruction is physically rewritten as a break instruction in the AVR Flash memory. When reaching this instruction the operation is halted. To continue execution a “start” command has to be given from the OCD logic. When starting the execution, the instruction replaced by software break instruction is executed before continuing to execute instructions from the Flash memory.

Hardware Breakpoints: In the OCD logic there are 4 registers capable of storing one memory address each. The JTAG ICE uses one of these registers permanently to implement single stepping. The 3 others can be combined to generate valid break conditions. Section 3.2.4 describes in
detail the different ways of combining these registers. Software breakpoint require reprogramming of the entire page, hardware breakpoints
are recommended for breakpoints that are often modified.

I/O Registers: JTAG ICE has limitation in viewing the contents in all I/O locations. When an AVR device reaches a breakpoint, the contents of all I/O registers are read out and presented in AVR Studio. Reading alters the contents in some registers, these registers will not be read (e.g., Reading USART data register, will clear the RXC bit). See the “Special Considerations” section to find the complete list of registers that not are
accessible through the JTAG ICE OCD system.

Single Stepping: Some registers needs to be read or written within a specified number of cycles after a control signal is enabled. The I/O clock and peripherals continue to run at full speed in stopped mode, single stepping through such code will not meet the timing requirements. For example, when single stepping, the I/O clock might have run for millions of cycles. To read or write registers with such timing requirements, the read or write sequence should be performed as a single operation. Run the device at full speed by using a macro, function call or run-to-cursor.
For detailed information about the “JTAG Interface and On-chip Debug System” see the applicable datasheet.

http://www.atmel.com/tools/AVRJTAGICEMKII.aspx

mbed – ARM Rapid Prototyping Tool

The mbed Comes in two flavors: CortexM3(NXP LPC1768) and CortexM0(NXP LPC11U24).

Here is the LPC1768 version, a 2×20 pin /2,54mm DIP board easy to use with breadboards.

  • 1 ethernet port
  • 3 serial ports (Rx/Tx)
  • 2 SPI ports
  • 2 I2C ports
  • 6 Analog INs or 5 Analog INs + 1 Analog Out
  • 1 CAN Port
  • 6 PWM out
  • 1 USB port (D+, D-) and the main USB-mini Port as a serial terminal
  • 4 blue LEDs

Connected to USB shows up a 2MB FAT-FS storage with a preloaded web page which connects and autenthicates the user to the  mbed.org website where resides the Free Online C Compiler and all other help pages, manuals, code examples, community contributed programs and libraries.

Loading a program is simple as drag-and-drop, you only need to drop the binary file on the MBED drive and the MBED Interface does all the programming after a board reset.

Some hints:

  1. MBED Serial Port in Windows: http://mbed.org/handbook/Windows-serial-configuration
  2. Handbook: http://mbed.org/handbook/Homepage
  3. Unbrick instructions: http://mbed.org/cookbook/Unbricking
  4. MCU User Manuals:
  5. Local toolchain usage:
  6. (Maybe) Useful Hardware:

ST-LINK & ST-LINK/V2

STMICROELECTRONICS – ST-LINK  & ST-LINK/V2 – DEBUGGER/PROGRAMMER, ICD, FOR STM8 and STM32


The ST-LINK/V2 in-circuit debugger and programmer for the STM8 and STM32  microcontroller families features a single wire interface module (SWIM) and a JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.

  • 5 V power  from USB connector, USB 2.0 full speed compatible interface
  • SWIM specific features:

– 1.65 V to 5.5 V application voltage supported on SWIM interface

– SWIM low-speed and high-speed modes supported
– SWIM programming speed rate: 9.7 Kbytes/s in low speed and 12.8 Kbytes/s in high speed
– SWIM cable for connection to the application via an ERNI standard vertical connector (ref: 284697 or 214017) or horizontal connector (ref: 214012)
– SWIM cable for connection to the application via a pin header or a 2.54 mm pitch connector
  • JTAG/serial wire debugging (SWD) specific features:
– 1.65 V to 3.6 V application voltage supported on the JTAG/SWD interface and 5 V tolerant inputs
– JTAG cable for connection to a standard JTAG 20-pin pitch 2.54 mm connector
– JTAG supported
– SWD and serial wire viewer (SWV) communication supported

http://www.st.com/internet/evalboard/product/251168.jsp

Farnell Order Code: 1892523

The ST-LINK (V1) features: 
  • USB 2.0 full speed interface compatible
  • SWIM specific features:
    • 1.65 V to 5.5 V application voltage supported on SWIM interface
    • SWIM low speed and high speed modes supported
    • SWIM programming speed rates of 9.7 Kbytes/s in low speed, 12.8 Kbytes/s in high speed
    • SWIM cable for connection to an application with an ERNI standard connector vertical (ref: 284697 or 214017) or horizontal (ref: 214012)
    • SWIM cable for connection to an application with pin headers or 2.54 mm pitch connector
  • JTAG/SWD specific features:
    • 3 V to 3.6 V application voltage supported on JTAG/SWD interface and 5 V tolerant inputs
    • JTAG/SWD cable provided for connection to a standard JTAG 20-pin pitch 2.54 mm connector

http://www.st.com/internet/evalboard/product/219866.jsp

STM32 F0 European Seminars

ARM® and ST Free European seminar series on the new STM32 F0 MCU series, between 22 May and 5 July 2012.

Attend this FREE seminar and walk away with in-depth technical knowledge of the STM32 F0 series and a FREE STM32 F0 Discovery Kit!

http://www.st.com/internet/com/Learning/stm32f0_europe_seminars.jsp?WT.ac=enews_may12_stm32f0_eur_seminars

Technical Documentation and Software ST page or direct links:

DATA BRIEF 

APPLICATION NOTES

LICENSE AGREEMENTS

USER MANUALS: UM AND Getting Started

FIRMWARE

RSS EETimes Semiconductor News
  • Silicon Labs to Acquire Sigma Designs December 13, 2017
    Deal focused on Z-Wave technology; Silicon Labs intends to divest or shutter other product lines.
  • Karamba Says It Can Protect CAN December 13, 2017
    Thus far, Trillium has been the sole voice promoting 30-year-old CAN bus protection. Now Karamba Security is in the game, claiming it better because SafeCAN authenticates a CAN bus-based network with "zero network overhead."
  • IoT Markets to Watch in 2018 December 13, 2017
    Predictive maintenance and asset tracking are two big IoT markets to watch in 2018 because they will provide real efficiencies and improved safety.
AdZone