Mplab® Ide、Mplab® Sim软件模拟器 以及mplab® Icd 3

Total Page:16

File Type:pdf, Size:1020Kb

Mplab® Ide、Mplab® Sim软件模拟器 以及mplab® Icd 3 C10L02 TLS Microchip开发工具的入门及发展: MPLAB® IDE、MPLAB® SIM软件模拟器 以及MPLAB® ICD 3 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 1 页 课程目标 学习完本课程后,您将: 在Microchip网站上找到工具和支持 为需要的单片机选择相关硬件工具 在MPLAB® IDE中,您可以: 为目标单片机创建项目 使用MPLAB® SIM软件模拟器来模拟应用程序 在开发板上调试应用程序 生成独立的应用程序 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 2 页 课程安排 MPLAB® IDE和组件 项目开发 MPLAB IDE环境 项目开发流程 项目创建和模板文件 使用MPLAB SIM软件模拟器来模拟应用程序 使用MPLAB ICD 3来调试和编程 工具概览 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 3 页 MPLAB® IDE和组件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 4 页 MPLAB® IDE和组件 MPLAB® 集成开发环境 程序 源级 项目管理器 编辑器 调试器 语言 软件模拟器 仿真器 编程器 汇编器 MPLAB® 链接器 SIM软件模拟器 PICkit™ 2 / PICkit™ 3 库管理器 MPLAB® ICD 2 MPLAB® MPLAB® ICD 3 和HI-TECH 编译器 C MPLAB® REAL ICE™ 第三方 第三方 MPLAB® PM 3 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 5 页 在线调试器 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 6 页 MPLAB® ICD 3: 新一代调试工具 用于所有闪存PIC® MCU和 dsPIC® DSC的最具成本效益 的调试器和编程器解决方案 使用高速USB接口连接到主 机PC 使用简单的模块化电缆连接 到目标 与所有基于RJ-11的演示板 兼容 与MPLAB IDE图形用户界面 相连 DV164035标价:219.99美元 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 7 页 MPLAB® ICD 3的优点 可用于Microchip的所有8/16/32位产品系列 无缝集成到免费的MPLAB IDE中 Microchip独一无二的双线调试和编程接口 断点 简单:硬件和软件 复杂:顺序排列和“与”断点 Watch(观察)窗口和跑表 程序控制 运行 单步运行 单步跳过 停止 复位 单步执行 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 8 页 MPLAB® ICD 3: 主要特性 完全由USB供电 快速编程: 高速 比上一代产品快15倍甚至 USB 2.0 更多 测试接口模块 板载数据缓冲器加快编程 跑表 速度 时钟和数据线保护 优化高速调试 的 dsPIC33 DSC 40 MIPS 多达1,000个软件断点 处理器和高速FPGA提高了 整体性能 热插拔目标连接 可编程和可配置的电源 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 9 页 快速编程时间! 编程时间 03:36.0 02:52.8 02:09.6 时间 01:26.4 00:43.2 00:00.0 PIC18FJ87J50 dsPIC33FJ256 PIC24FJ128 PIC32MX440L (128 KB) (256 KB) (128 KB) (512 KB) MPLAB® ICD 2 00:26.6 01:47.0 01:14.0 03:27.0 MPLAB® ICD 3 00:08.9 00:09.0 00:04.6 00:11.1 MPLAB REAL ICE™ 00:08.9 00:09.0 00:04.5 00:11.1 工具和器件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 10 页 MPLAB® REAL ICE™ 与MPLAB IDE兼容 复杂断点 实时数据观察点 各种跟踪方法 堆栈/WDT/休眠断点 USB高速连接 标准驱动板 附件 性能包 交流光电隔离 AC244006标价:499.98美元 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 11 页 PICkit™ 3调试器/编程器探针 高速、实时仿真 运行/停止、单步执行、断点 通过免费的MPLAB® IDE升级 固件 全速USB 2.0 由USB供电 给目标供电 宽VDD工作电压范围 符合CE和RoHS标准 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 12 页 PICkit™ 3 Debug Express工具包 包括: PICkit 3调试器和编程器探针 装有一枚8位PIC18F45K20 MCU 的44引脚演示板 免费的MPLAB® 集成开发环境 适用于PIC18 MCU的免费版 MPLAB C编译器 浅显易懂的课程和教程 附有源代码的示例和完整文档 DV164131标价:69.99美元 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 13 页 仿真器路线图 MPLAB® REAL ICE™ 高速 MPLAB® 定制USB、 ICD 3 运行、暂停、 SS 高速 复杂 定制USB、 触发/断点、 实时观察、 PICkit™ 3 运行、暂停、SS 复杂 跑表、 跟踪 全速 、 USB 编程、读取、 / 运行、暂停、 、 触发/断点、 SS 动态跟踪、 数据 地址断点、 跑表、 / 逻辑探针、 跑表、编程、读取 编程、读取 PICkit™ 2 PIC10F、PIC12F、 LVDS 速度 PIC10F、PIC12F、 全速 HID USB、 、 、 PIC10F、PIC12F、 / PIC16F、PIC18F、 PIC16F PIC18F 运行、暂停、SS、 、 PIC16F、PIC18F、 24F/H、dsPIC、 24F/H dsPIC 编程、读取 24F/H、dsPIC、 PIC32 (将来) PIC32 支持众多 PIC32 特性 Microchip器件 $50 $69 $200 $500 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 14 页 MPLAB® ICD 3: 主要特性 完全由USB供电 快速编程: 高速 比当代产品快15倍甚至更 USB 2.0 多 测试接口模块 板载数据缓冲器加快编程 跑表 速度 时钟和数据线保护 高速优化的调试功能 的 dsPIC33 DSC 40 MIPS 多达1,000个软件断点 处理器和高速FPGA提高了 整体性能 热插拔目标连接 可编程和可配置的电源 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 15 页 PICkit™ 3 Debug Express 调试器/编程器 PIC18F45K20 演示板 12节教程 调试教程 (DV164131) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 16 页 MPLAB® ICD/ICE 资源需求 必须 单独使用两个I/O引脚 MCLR引脚的共享控制 一些文件寄存器(RAM) 一些程序存储器单元(闪存) 一个或两个硬件堆栈单元 可能性低 . MPLAB IDE Help Topics... Debuggers PICkit™/ MPLAB ICD/MPLAB ICE © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 17 页 仿真器选择 MPLAB® MPLAB® 特性 PICkit™ 3 ICD 3 REAL ICE™ USB速度 全速 全速/高速 全速/高速 对目标供电 硬件断点 软件断点 和跑表 跟踪 数据捕捉 逻辑/探针 触发器 8位 16位 32位 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 18 页 MPLAB® IDE和 项目创建的简介 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 19 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 20 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 21 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 22 页 MPLAB® IDE桌面 打包 编译 编译全部 编译模式 (调试/发布) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 23 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 24 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 25 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 26 页 MPLAB® IDE桌面 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 27 页 项目开发流程 选择 选择 创建 添加 语言 器件 项目 文件 工具 开发 编译 模拟 代码 调试 代码 编译 编程 在线 交付 发布 器件 调试 产品! 代码 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 28 页 选择器件菜单 参见即将进行的实验! © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 29 页 选择器件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 30 页 检查工具支持 工具支持 不可用 工具能运行但 没有完全验证 工具经过验证且 完全正常运行 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 31 页 调试仿真头板 所需的 仿真头需要 调试支持 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 32 页 创建项目 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 33 页 项目向导 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 34 页 向导——确认器件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 35 页 选择语言工具 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 36 页 选择语言工具——工具不可用 可能存在的问题: . 未安装工具链 . MPLAB® IDE和工具链之间的链接不存在 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 37 页 命名项目 创建名为“BlinkLED”的项目 保存在“C:\RTC\TLS0101\”文件夹下 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 38 页 将文件添加到项目 A – 自动 U – 用户 S – 系统 C – 复制 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 39 页 项目设置总结 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 40 页 选择MPLAB® SIM © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 41 页 项目—— 编译全部 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 42 页 Output(输出)窗口中的错误 Error [113]: Symbol not previously defined (PORT) (符号未事先定义( PORT )) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 43 页 错误指针 直接跳转到错误代码 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 44 页 项目、工作区和 文本编辑器 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 45 页 项目窗口显示 工作区名称 项目名称 项目文件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 46 页 项目——<名称>.mcp 源代码、链接描 述文件等 所需编译工具(C 和 ASM) 需要的编译选项 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 47 页 工作区——<名称>.mcw 目标器件 调试/编程器工具 打开窗口和位置 打开项目 IDE配置 配置位 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 48 页 文本编辑器属性 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 49 页 选项——General(常规) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 50 页 选项——文件类型 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 51 页 选项——Tooltips(工具提示) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 52 页 选项——Text(文本) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 53 页 选项——Other(其他) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 54 页 工具链、配置位、调试和 MPLAB® SIM软件模拟器 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 55 页 MPLAB® SIM软件模拟器功能 寄存器级模拟 注入外部激励 在预定的范围内设置引脚/寄存器值 跟踪对象代码的执行 代码覆盖 抽取数据进行验证 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 56 页 选择MPLAB® SIM © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 57 页 工具链 编译器 C源文件 C C头文件 .c (及处理器) .h 编译器 汇编源文件 驱动器 程序 汇编源文件 汇编器 汇编包含文件 归档器 目标 可执行文件 (库) .o 文件 .hex 目标文件库 (归档) 目标链接器 .map 存储器映射 MPLAB® IDE 链接描述文件 调试工具 调试文件 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 58 页 工具位置 •汇编器 •8位 •16位 •32位 •C 编译器 •16位 •32位 C:\Program Files\Microchip\... © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 59 页 工具位置 •C编译器 •PIC18 C:\MCC18\... © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 60 页 工具位置 •完成工具链 •8位 •16位 •32位 C:\Program Files\HI-TECH Software\... © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 61 页 重要文件 头文件 包含文件 .h 内容: 定义寄存器 定义寄存器中的位 .inc 定义配置位 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 62 页 重要文件 链接描述文件 .lkr 把源代码映射到RAM或 ROM中 存储器类型、位置和大小 .gld 堆栈大小和位置 中断向量表 绝对SFR分配 .ld © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 63 页 模板文件和示例 模板 .asm 预写编译器代码框架 示例 完成的工作区 .mcw 样例 功能化的C示例 .c www.microchip.com/codeexamples © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 64 页 配置位 配置振荡器 故障安全时钟监视器 启用欠压复位 设置看门狗定时器 保护代码存储器 保护EEPROM ′CPU的特殊功能 ′ ′配置位 ′ © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 65 页 Configuration Bits(配置位)窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 66 页 Configuration Bits(配置位)窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 67 页 Configuration Bits(配置位)窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 68 页 调试代码 Run(运行) Animate(连续单步运行) Halt(暂停) 单步执行 Reset(复位) Breakpoint(断点)对话框 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 69 页 调试代码 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 70 页 设置断点 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 71 页 Disable Breakpoint(禁用断点) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 72 页 断点被禁用 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 73 页 Tooltip(工具提示)显示 寄存器内容 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 74 页 打开Watch窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 75 页 Watch窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 76 页 Watch窗口 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 77 页 模拟代码 © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 78 页 打开Disassembly Listing (反汇编列表) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 79 页 Disassembly Listing (反汇编列表) © 2009 Microchip Technology Incorporated. 版权所有。 C10L02 TLS 第 80 页 跑表功能 © 2009 Microchip Technology Incorporated.
Recommended publications
  • Practical Electronics
    Copyright Ó 2003, Wimborne Publishing Ltd (408 Wimborne Road East, Ferndown, Dorset, BH22 9ND, UK) and TechBites Interactive Inc., (PO Box 857, Madison, Alabama 35758, USA) All rights reserved. WARNING! The materials and works contained within EPE Online — which are made available by Wimborne Publishing Ltd and TechBites Interactive Inc — are copyrighted. You are permitted to make a backup copy of the downloaded file and one (1) hard copy of such materials and works for your personal use. International copyright laws, however, prohibit any further copying or reproduction of such materials and works, or any republication of any kind. TechBites Interactive Inc and Wimborne Publishing Ltd have used their best efforts in preparing these materials and works. However, TechBites Interactive Inc and Wimborne Publishing Ltd make no warranties of any kind, expressed or implied, with regard to the documentation or data contained herein, and specifically disclaim, without limitation, any implied warranties of merchantability and fitness for a particular purpose. Because of possible variances in the quality and condition of materials and workmanship used by readers, EPE Online, its publishers and agents disclaim any responsibility for the safe and proper functioning of reader-constructed projects based on or from information published in these materials and works. In no event shall TechBites Interactive Inc or Wimborne Publishing Ltd be responsible or liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or any other damages in connection with or arising out of furnishing, performance, or use of these materials and works. ISSN 0262 3617 PROJECTS .
    [Show full text]
  • Programming-8Bit-PIC
    Foreword Embedded microcontrollers are everywhere today. In the average household you will find them far beyond the obvious places like cell phones, calculators, and MP3 players. Hardly any new appliance arrives in the home without at least one controller and, most likely, there will be several—one microcontroller for the user interface (buttons and display), another to control the motor, and perhaps even an overall system manager. This applies whether the appliance in question is a washing machine, garage door opener, curling iron, or toothbrush. If the product uses a rechargeable battery, modern high density battery chemistries require intelligent chargers. A decade ago, there were significant barriers to learning how to use microcontrollers. The cheapest programmer was about a hundred dollars and application development required both erasable windowed parts—which cost about ten times the price of the one time programmable (OTP) version—and a UV Eraser to erase the windowed part. Debugging tools were the realm of professionals alone. Now most microcontrollers use Flash-based program memory that is electrically erasable. This means the device can be reprogrammed in the circuit—no UV eraser required and no special packages needed for development. The total cost to get started today is about twenty-five dollars which buys a PICkit™ 2 Starter Kit, providing programming and debugging for many Microchip Technology Inc. MCUs. Microchip Technology has always offered a free Integrated Development Environment (IDE) including an assembler and a simulator. It has never been less expensive to get started with embedded microcontrollers than it is today. While MPLAB® includes the assembler for free, assembly code is more cumbersome to write, in the first place, and also more difficult to maintain.
    [Show full text]
  • Contents of Flowcode
    Contents of Flowcode Contents Testimonials 57 What is Flowcode? 58 Advantages of using Flowcode 59 Flowcode design flow 60 - 61 Flowcode specification and ordering 62 These Computer Science students in Oulu Vocational College, Finland, used Flowcode to develop a control system for an Electric motorbike and raced it against other schools 56 www.matrixtsl.com Copyright © 2015 Matrix Technology Solutions Limited Testimonials “I am very new to Flowcode, but have experience of 9+ years with another PIC RAD capable program. They have a great program but unfortunately their user support has become poor over the years, so finally decided to review “As the Senior Electrical/Electronic Technician in the the market and chose to go with Flowcode V6. Faculty of Engineering, I find that using ‘Flowcode’ is an invaluable tool, to clearly convey the Embedded Code I’m very much still coming to grips with Flowcode. But to be used in applications with Microchip’s 18F4455 Flowcharting is very intuitive and the use of supplied & 18F2455 (ECIO Modules). Previously, the School of and user generated components is a great idea.The Electrical & Electronic Engineering have introduced customer and user support information being given via students to the ‘Formula Flowcode’ with the little robot the forum, blog and Twitter is just so excellent - timely and vehicle at their command. The School of Mechanical constructive. Engineering students build their own buggy designs and I am confident a few incorporate ‘Flowcode’ Modules into Well done Matrix on V6 and the effort that has and very their designs.” obviously is still going into making V6 a great and very useable product.” Matthew Buckley, Richard Blick, Telecommunications Engineer.
    [Show full text]
  • Modern Electronics Teaching Resources
    Modern Electronics Teaching Resources 2 011 Introduction In 2008 Flowcode and E-blocks were awarded the world’s most prestigious prize for educational products – the World Didac award. See www.worlddidac.org Contents Page Description Products 3 Learn about E-blocks and Flowcode and how you can use them to motivate and teach E-blocks, Flowcode students. 6 Learn about our new computer-based instrumentation products for prototyping and Electronic workstation, Protostation development. 8 See our resources for starting courses on e-system design and programming. E-blocks starter kits with software and curriculum 11 See how you can give your students practical experience of a range of digital CAN bus, LIN bus, Bluetooth, TCP/IP, communications technologies using our ready-built solutions. GSM, ZigBee, RFID and USB, 17 View further details on all the individual products in the E-blocks range. Hardware modules, software and courseware 25 See our range of sensors that you can use for project work and investigation Sensors 26 See our low cost programmers which allow students to learn at home. ECIO devices 27 Find out how you can use robotics to motivate students to learn electronics. Formula Flowcode robot 28 Learn more about our new low cost, PICmicro MCU rugged controller. MIAC Digital systems course map Catalogue Key objective Learning Complete solution Hardware Software Curriculum page hours 9 Starting to program microcontrollers 50 EB215 PICmicro TEFLCSI4 Flowcode for PICmicro Introduction to microcontroller - starter pack MCUs programming
    [Show full text]
  • Quick Guide to Microchip Development Tools
    Development Tools Quick Guide to Microchip Development Tools www.microchip.com/tools Introduction MPLAB® X IDE, Atmel Studio and Software Tools Microchip is proud to offer development tools for AVR® and SAM MCUs and MPUs in addition to our classic development tools for PIC® MCUs and dsPIC® DSCs. Together, Microchip offers the strongest development tool chains for the industry’s most popular products. Microchip produces approximately 2,000 development tools, of which only a selection are featured in this document. For the full listing of Microchip’s development tools, please visit the online Development Tools Selector (DTS) at www.microchip. com/dts or visit our application sites on www.microchip.com. Development Tool Selector Microchip’s development tools selector is an online/offline application that allows you to view development tools through a Graphi- cal User Interface (GUI) with filter and search capabilities to easily find development tools associated with Microchip products. Just enter a development tool or Microchip device in the search box and DTS quickly displays all related tools and devices. Updated after every MPLAB X IDE release, DTS is available online and offline at:www.microchip.com/dts. Development Tool Ecosystem: Software AVR® MCU PIC® MCU dsPIC® DSC SAM MCU xEC** MCU MPU MPLAB® X IDE ü ü ü ü ü ü MPLAB Xpress ü ü ü IDEs Atmel Studio ü ü ü MPLAB XC ü ü ü ü ü ü AVR GCC ü Compliers Arm® GCC ü ü MPLAB Code Configurator ü ü ü MPLAB Harmony ü* ü ü Configurators Atmel Start ü ü ü *32-bit PIC only ** xEC is the CEC/MEC families of devices 2 www.microchip.com/tools MPLAB X IDE MPLAB X IDE MPLAB X IDE is Microchip’s free integrated development environment for PIC, AVR and SAM MCUs and MPUs and dsPIC DSCs.
    [Show full text]
  • Flowcode 7 Datasheet Flowcode 7 Features Graphical Programming
    Datasheet Contents 1. What is Flowcode 3 2. Flowcode design flow 4 - 5 3. Advantages of using Flowcode 6 4. Flowcode overview 7 5. Flowcode 7 features 8 - 10 6. Ghost technology 11 7. Flowcode support 12 - 14 8. Flowcode licensing 15 - 16 9. Flowcode 7 components 17 10. Flowcode 7 target specifications 18 - 19 www.matrixtsl.com/flowcode 2 Datasheet What is Flowcode What is Flowcode? Flowcode allows users to develop complex Microchip’s PIC MCU; 8bit, 16bit and 32 bit, as electronic and electromechanical systems with well as Atmel AVR, Arduino and ARM devices. ease. Flowcode version 7 has a number of new Flowcode is an advanced integrated developments which provide a fast and development environment (IDE) for electronic effective way to write complex projects for and electromechanical system development. embedded systems. With a flexible licencing Engineers - both professional and academic - structure, including a free version of Flowcode, use Flowcode to develop systems for control which is excellent for learning programming, and measurement based on microcontrollers or developing applications at home or for on rugged industrial interfaces using Windows prototyping designs, users can build a bespoke compatible personal computers. licence perfect for their embedded system development requirements by visiting our A 2D and 3D graphical development interface website. This datasheet presents a number allows students to construct a complete of features and advantages of using Flowcode, electronic system on-screen, develop a program support and licencing information plus further based on standard flowcharts, simulate info on target device support and components the system and then produce hex code for that can be found in the latest version.
    [Show full text]
  • PICDEM™ Lab Flowcode Companion Guide
    PICDEM™ Lab Flowcode Companion Guide © 2009 Microchip Technology Inc. DS41381B Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, dsPIC, and may be superseded by updates. It is your responsibility to KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, ensure that your application meets with your specifications.
    [Show full text]
  • PICDEM™ Lab Flowcode Companion Guide
    PICDEM™ Lab Flowcode Companion Guide © 2009 Microchip Technology Inc. DS41381A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Introduction to Microcontroller Programming
    Page 2 Welcome to the course! The course contains a series of programming exercises, (part 1) supported by background information for reference, (parts 2 to 6). Part 1 - Programming Exercises - p.4 Part 2 - Using E-Blocks - p.29 Part 3 - Introduction to Flowcode 7 - p.37 Part 4 - Flowcode 7 - Your first program - p.48 Part 5 - Flowcode 7 - Worked Examples - p.55 Part 6 - Introduction to Microcontrollers - p.84 Part 7 - Course Rationale - p.106 Your route through it: Broadly speaking, there are two types of student: The experienced programmer: probably begins with the ‘Programming Exercises’, (part 1), referring back to the information in the other sections, as and when needed. After all, programmers only read the manual when they get stuck! Nevertheless, before starting an exercise, you should familiarise yourself with the reference section(s) so that you know where to look for help should you get stuck! The less confident user: concentrates first on the reference material and the worked examples and then attempts the exercises. Copyright © 2016 Matrix Technology Solutions Limited www.matrixtsl.com Page 3 Before you start: ‘Flowcode 7’ works with a range of microcontrollers, including PIC, Arduino and ARM. For simplicity, this course focuses on PIC microcontrollers. It also includes information for the Arduino user. ‘Flowcode 7’ itself is microcontroller neutral - it presents virtually the same user interface regardless of the microcontroller used. The differences are in the hardware and the way the program is downloaded and tested. For PIC users, most of the exercises use the E-blocks EB006 v9 Multiprogrammer and the EB083 Combo board.
    [Show full text]
  • Microcontroller Systems Course
    Copyright © 2016-18 Matrix Technology Solutions Limited www.matrixtsl.com Section: Contents Introduction - p. 3 Section 1 - Intro to Microcontrollers - p. 12 Section 2 - Using E-blocks - p. 26 Section 3 - Intro to Flowcode - p. 31 Section 4 - Flowcode - First program - p. 42 Section 5 - Flowcode - Examples - p. 50 Section 6 - Programming Exercises - p. 72 Appendix 1 - Arduino adjustments - p. 88 Appendix 2 - E-blocks 1 adjustments - p. 93 Index - p. 98 Copyright © 2016-21 Matrix Technology Solutions Limited www.matrixtsl.com Section: Introduction The aim of this course is to introduce you to the concepts of developing electronic systems using microcontrollers. In doing so, it offers substantial coverage of Unit 6 of the BTEC Level 3 National Extended Diploma in Engineering (the precise mapping of the course to this unit is given on page 9). On completing this course you will have learned: • what a microcontroller is. • how to construct circuits and systems based on microcontrollers. • how to program microcontrollers. Copyright © 2016-21 Matrix Technology Solutions Limited www.matrixtsl.com 3 Introduction Before you start This course is an introduction to microcontroller programming. To get the full use out of this course we recommend you have the following: Flowcode Flowcode is a software program which allows users to quickly and easily develop complex electronic systems in a simple manner, it works with a range of microcontrollers, including Microchip’s ‘PIC’ microcontrollers (PIC MCUs), Arduino, and ARM. Flowcode itself is microcontroller neutral - it presents virtually the same user interface regardless of the microcontroller used. The differences are in the hardware and the way the program is downloaded and tested.
    [Show full text]
  • PICDEM™ Lab Flowcode Companion Guide
    PICDEM™ Lab Flowcode Companion Guide © 2009 Microchip Technology Inc. DS41381A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications.
    [Show full text]
  • Microchip Interface
    Development Tools Quick Guide to Microchip Development Tools www.microchip.com/tools MPLAB® X IDE and Software Tools Introduction Microchip produces approximately 900 different development tools, of which only a selection are featured in this document. For the full listing of Microchip's development tools, please visit the online Development Tool Selector at www.microchip.com/dts or visit our application sites on www.microchip.com. MPLAB X IDE MPLAB X IDE is the latest generation of Microchip’s free integrated development environment. Incorporating a powerful and highly functional set of features, it allows you to easily develop applications for Microchip’s PIC® microcontrollers and dsPIC® digital signal controllers. It is based on the NetBeans IDE from Oracle and runs on Windows®, Linux® and Mac OS X®. Its unified graphical user interface (GUI) helps to integrate software and hardware development tools from Microchip and third party sources to give you high-performance application development and extensive debugging capabilities. The flexible and customizable interface allows you to have multiple debug tools connected to your computer at the same time. You can select any tool you desire for a specific project or configuration within a project. With complete project management, visual call graphs, a configurable watch window and a feature-rich editor that includes code-completion and hyperlink navigation, MPLAB X IDE is fully equipped to meet the needs of experienced users while remaining flexible and user-friendly for even those who are new to the IDE. MPLAB X IDE Features MPLAB X IDE Plug-Ins Feature-Rich Editor MPLAB Code Configurator ■ Color syntax highlighting The MPLAB Code Configurator generates seamless, easy- ■ Smart code completion makes suggestions and to-understand C code that is inserted into your project.
    [Show full text]