The NuMaker-PFM-M2351 is fantastic board powered by a microcontroller from the ARM Cortex-M23 family.
The board combines a secure memory, one WiFi module (ESP8266EX ESP03), one NAU88L25 audio codec with a 3.5mm Mid-Mount SMD headphone jack and one Micro-SD socket placed on the back side of the board.
The ESP03 module can be programmed from the M2351’s UART3.
Arduino UNO Shield compatibility is by default. The pin strips are installed.
The MCU’s pin are fanout to 2.54mm 128 pins placeholder. No pinstrips included.
It seems that Nuvoton built the board as a IoT Device Reference Design.
The combination of the Crypto Accelerator and the Secure Flash Memory brings the board in the Secure IoT class. Therefore, you can build Secure OTA upgradeable firmware.
I was surprised seeing that Segger offers emWin as library completely free for some Nuvoton chips including the M2351. It may be cheaper than using Synergy for some displays.
Only after I changed the VCP Com DIP Switch I saw the board’s MBED flash drive showing in My Computer. In addition, I’ve enabled it in the MBED Online Compiler.
The Break-Away Programmer seems to be the usual Nu-Link-Me but is called ICE V3.0 – anyway is a very good SWD Debug/Programming Interface.
The ETM1 Trace Connector is connected on the Embedded Trace Macrocell Trace pins of Port.E and also SWD.
The Nuvoton CD Link: https://www.nuvoton.com/NuMicroDVD
The 1714 pages Technical Reference Manual: http://www.nuvoton.com/hq/products/microcontrollers/arm-cortex-m23-mcus/Technical-Reference-Manual/?__locale=en&resourcePage=Y
ARM Cortex-M23 Reference: https://developer.arm.com/ip-products/processors/cortex-m/cortex-m23
Free MDK version limited to Cortex-M0 and M23
Request here: http://www.keil.com/nuvoton
The Nuc140V (connectivity series Cortex) board with LCD display, 9-pin UART and Voice Codec and has a 40% discount now https://direct.nuvoton.com/en/learning-board-of-nuc140-series
The 8051 based bundle offer at 50% (100pcs N76E003AT20 + devboard + Nu-link) is back again and you can find the Cortex-M4 bundle (100pcs M451MLG6AE + NuTiny-M451V + Nu-Link Pro ) https://direct.nuvoton.com/en/-m451-big-bundle- and that’s fabulous!
Under the IoT Solution > IoT Platform stays the Mbed Enabled Development Kit series which is expanded with two new boards, both with the detachable, upgraded and offline programming enabled Nu-Link2-Me interface:
- NuMaker-M031TB (on preorder) https://direct.nuvoton.com/en/numaker-m031tb-pre-order
- NuMaker-M032SE https://direct.nuvoton.com/en/numaker-m032se
- Nu-Link-Me dual voltage settings (3v3 or 5v) – sure, you can add a switch or a solder-ball “case switch”: https://www.nuvoton.com/hq/support/faq/049b205d-2349-11e8-9221-4511a3410ebb/?__locale=en
- Nu-Link-Me virtual COM Port settings – the driver can be found in the NuMicro_ISP_Programming_Tool zip file: https://www.nuvoton.com/hq/support/faq/b5f2aeb6-4cb9-11e6-987b-4511a3410ebb/?__locale=en
- The COM Port switch also may lead to some code modifications, a good article here: http://www.nuvoton.com/hq/support/faq/73482dbb-f222-11e8-a156-4511a3410ebb/?__locale=en
KEIL and Nuvoton are also presenting a fantastic offer: Free MDK version limited to Cortex-M0 and M23
Request here: http://www.keil.com/nuvoton
Testing the Nuvoton NuTiny-SDK-M0564 – development tool for the M0564 series microcontroller.
The M0564VG4AE is a Cortex-M0 microcontroller which can run at up to 72MHz, features 85 I/O pins, 256 KB Flash, 20 KB SRAM, 4KB ISP ROM and 2 KB SPROM(Security Protection ROM).
The 161 pages datasheet can be downloaded from here: http://www.nuvoton.com/resource-files/DS_M0564_Series_EN_Rev1.00.pdf
The whole Development Package can be downloaded from http://nuvoton.com/NuMicroDVD/
The archive contains some useful AppNotes, drivers for Keil and IAR, CooCox BSP, Datasheets and some useful stand-alone programs like ClockConfigure Tool, NuMicro PLL Generator Tool.
The next steps are: install and configure Keil, add packs, CMSIS… etc.
For Arduino Fans there is a NuMaker Uno Board based on NUC131 – another Cortex M0 ARM – https://direct.nuvoton.com/it/numaker-uno
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
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).
LR09A Module Price on Mouser and Digikey: http://eu.mouser.com/ProductDetail/Anaren/A110LR09A00GM/
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 needed! When ISP fuse is disabled and DW not working.
High Voltage Serial Programming – (sometimes known as SHVP).
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)
- STK500 Schematic: http://www.atmel.com/webdoc/stk500/images/STK500.pdf
- STK500 component placement: http://www.atmel.com/webdoc/stk500/images/A9903.3.1000C_assy_draw.pdf
- The HV_PROG header on AVR Dragon: http://www.atmel.com/webdoc/avrdragon/avrdragon.section.hoj_dsd_lc.html
- STK SHVP page: http://www.atmel.com/webdoc/stk500/stk500.SHVProgramming.html
- STK500 socket usage: http://www.atmel.com/webdoc/stk500/stk500.highVoltageProgramming.html
- Re-enabling the SPI interface: http://www.atmel.com/webdoc/avrdragon/avrdragon.section.gsr_osd_lc.html
The new 32bit Cortex M4F MSP432 is already soldered on a Launchpad, get one from TI’s store:
It’s a new ARM Cortex M4F
12.99 USD + S&H = 1 MSP432P401R Launchpad
- 48MHz ARM Cortex M4
- 95uA/MHz active power
- 850nA RTC operation
- 14-bit 1MSPS differential SAR ADC
- AES256 accelerator
HW: XDS100, XDS100ET (the onboard version on the Launchpad)
SW: CCS. IAR search didn’t bring up nothing for now…
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.
MCU folder: http://www.ti.com/tool/MSP-EXP432P401R
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
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.
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
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
- 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…
- Select COM port, put jumper on SOP pins, verify using Get Version (
Reset push-button required).
- Formatted 4MB, nothing else checked.
- Apllied Service Pack Update.
- Flash the desired firmware.
- Remove SOP jumper. Put on the AP Jumper (VCC-P58)
- Connect to the AP without security
- Create a Profile with the local WiFi configuration (SSID, Key) and give it a index number. Save.
- 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
The public dashboard hosted on Exosite: https://ti.exosite.com/views/3194349686/3199082241
- 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…
- Preproduction Silicon doesn’t support SDK > 1.1
- 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
- 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.
- Using the programmed configuration will be done removing that SOP jumper
- Uniflash 4.0 can’t be used for CC3200, use instead the old 3.4.x version
- The COM Port speed setting: 921600
the name is my.openhab.org
The next step in the BB+Debian+OpenHAB story.
Apache2 configuration for the ports:
Apache2 configuration of the virtual host:
OpenHAB configuration for the ports:
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!!!
https://my.openhab.org/openhab.app?sitemap=yoursitemap.here fill it with one of the sitemaps that is on the running OpenHAB installation
Two weeks of testing the Demo OpenHAB Server configuration on a Debian powered BeagleBone:
Tons of power-off reboots and all works fine.
Only one time it refused to connect to the outside world.
(I finally found the documentation https://github.com/openhab/openhab/wiki/Security + added the Android App + cut the port forwarding)
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.
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:
e-Learning website: http://www.renesasinteractive.com/
Community website: http://renesasrulz.com/
A great product: The Bus Pirate v.3
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:
Other Bus Pirate resources:
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
LPC800 series develeopment tool
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.
- 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.
NXP LPC800 mini: http://lpcware.com/lpc800-mini-kit
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: https://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
June Development Tools Deals http://www.microchip.com/pagehandler/en_us/promo/devtooldeals/
Amazing MP3 Player! $80 Off – Coupon Code: TP1328
- 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:
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.”
or in a unshortened form:
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
MSP-FET430U128 – $150
MSP-FET430U100B – $130
MSP-FET430U100C – $130
International shipping included.
TI’s marketing hits again!
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
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 – 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.
General Launchpad links:
LaunchPad site: http://www.ti.com/launchpad
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
Build Your Own BoosterPack: http://processors.wiki.ti.com/index.php/BYOB
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!
… very soon!
Stellaris® ARM® Cortex™– M4F LaunchPad
Product page … link not working yet… http://www.ti.com/ww/en/launchpad_site/stellaris_main.html
“Register now for our Launch Alert! We’ll notify you when we begin accepting pre-orders for the Stellaris LaunchPad at the promotional price of $4.99 USD”
- 3 boost converters
- 3 LEDs
- 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
- 8 PWM channels, eCAP, 12bit ADC, I2C, SPI, UART
… and the price is fabulous too.
Piccolo MCU Datasheet: http://www.ti.com/litv/pdf/sprs523h
- 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
Price in IAR’s e-shop: 200 EUR / USD 249
(the link states old.iar… but is the current e-shop)
New version! One software for all Atmel MCU’s.
As version 5, this is also MS VS based.
It comes with a large library of free source code — with 1,100 ARM and AVR project examples .
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.
The mbed Comes in two flavors: CortexM3(NXP LPC1768) and CortexM0(NXP LPC11U24).
- 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.
- MBED Serial Port in Windows: http://mbed.org/handbook/Windows-serial-configuration
- Handbook: http://mbed.org/handbook/Homepage
- Unbrick instructions: http://mbed.org/cookbook/Unbricking
- MCU User Manuals:
- Local toolchain usage:
- (Maybe) Useful Hardware:
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
- JTAG/serial wire debugging (SWD) specific features:
Farnell Order Code: 1892523
- 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
- Patent Proposal Could Help EEs June 18, 2019The U.S. Congress is considering legislation on what is eligible for a patent, a bill likely to encourage or at least maintain the level of patent filings by system and chip designers.
- TSMC, Purdue Team Up to Enhance Chip Security June 18, 2019TSMC and Purdue University announced the establishment of a center at the university to enhance semiconductor security.
- Chiplet Ecosystem Slowly Picks up Steam June 18, 2019Momentum is gathering for the heterogeneous integration of chiplets from multiple vendors in a system-in-package.