CoCo-ri-Co!

Hardware

Platform NXP LPC: The NXP LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, such as the Cortex-M4F, Cortex-M3, Cortex-M0+, or Cortex-M0. Internally, each microcontroller consists of the processor core, static RAM memory, flash memory, debugging interface, and various peripherals.

Microcontroller

LPC812

Frequency

30MHz

Flash

16KB

RAM

4KB

Vendor

Elektor Labs

Configuration

Please use elektor_cocorico ID for board option in “platformio.ini” (Project Configuration File):

[env:elektor_cocorico]
platform = nxplpc
board = elektor_cocorico

You can override default CoCo-ri-Co! settings per build environment using board_*** option, where *** is a JSON object path from board manifest elektor_cocorico.json. For example, board_build.mcu, board_build.f_cpu, etc.

[env:elektor_cocorico]
platform = nxplpc
board = elektor_cocorico

; change microcontroller
board_build.mcu = lpc812

; change MCU frequency
board_build.f_cpu = 30000000L

Uploading

CoCo-ri-Co! supports the next uploading protocols:

  • cmsis-dap

  • jlink

  • blackmagic

  • mbed

Default protocol is mbed

You can change upload protocol using upload_protocol option:

[env:elektor_cocorico]
platform = nxplpc
board = elektor_cocorico

upload_protocol = mbed

Debugging

PIO Unified Debugger - “1-click” solution for debugging with a zero configuration.

Warning

You will need to install debug tool drivers depending on your system. Please click on compatible debug tool below for the further instructions and configuration information.

You can switch between debugging Tools & Debug Probes using debug_tool option in “platformio.ini” (Project Configuration File).

CoCo-ri-Co! has on-board debug probe and IS READY for debugging. You don’t need to use/buy external debug probe.

Compatible Tools

On-board

Default

Black Magic Probe

CMSIS-DAP

Yes

Yes

J-LINK

Frameworks

Name

Description

mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.