摘要:
Booting LPC-Link2The recommended way to use LPC-Link2 with the LPCXpresso IDE is to boot and soft load a debug firmware image at the start of a debug ...
阅读全文
posted @ 2015-09-01 15:46
IAmAProgrammer
阅读(1470)
推荐(0)
摘要:
LPC-Link:LPC-Link调试探针由恩智浦、Code Red和Embedded Artists三方共同开发,该探针可与目标板断开,利用板载10针JTAG/SWD连接器直接用于客户自己的设计。LPC-Link采用LPC3154 作为基于ARM9的调试引擎,提供高速USB接口,支持快速编码下载和...
阅读全文
posted @ 2015-09-01 15:01
IAmAProgrammer
阅读(2558)
推荐(0)
摘要:
https://www.lpcware.com/content/faq/lpcxpresso/using-lpclink2-as-lpc4370-evalAs well as being a standalone debug probe, theLPC-Link2can also be used a...
阅读全文
posted @ 2015-09-01 11:53
IAmAProgrammer
阅读(735)
推荐(0)
摘要:
80MHz 12 bit ADC processor LPC4370.LPCxpresso do a LPC LINK2 and LABTOOLS open source oscilloscope demo set. (£84 from Mouser, seems quite well liked....
阅读全文
posted @ 2015-09-01 11:26
IAmAProgrammer
阅读(4534)
推荐(0)
摘要:
KEY FEATURES• Affordable, Rapid prototyping and development solution for nRF51 Series SoCs• Kit supports both nRF51822 and nRF51422 development• Suppo...
阅读全文
posted @ 2015-09-01 11:16
IAmAProgrammer
阅读(628)
推荐(0)
posted @ 2015-09-01 11:10
IAmAProgrammer
阅读(573)
推荐(0)
摘要:
Comment comparisonThere is a wide variety of syntax styles for declaring comments in source code.BlockCommentin italics is used here to indicate block...
阅读全文
posted @ 2015-08-29 19:23
IAmAProgrammer
阅读(1398)
推荐(0)
摘要:
---恢复内容开始---OBDII Interface ProjectWhen I can ever find enough time away from schoolwork, I try to work on an OBDII compliant portable ScanTool. Howev...
阅读全文
posted @ 2015-08-29 19:22
IAmAProgrammer
阅读(7183)
推荐(0)
摘要:
ARM JTAG 调试原理JTAG的接口是一种特殊的4/5个接脚接口连到芯片上 ,所以在电路版上的很多芯片可以将他们的JTAG接脚通过Daisy Chain的方式连在一起,并且Probe只需连接到一个“JTAG端口”就可以访问一块印刷电路板上的所有IC。这些连接引脚是:TDI(测试数据输入)TDO(...
阅读全文
posted @ 2015-08-28 22:13
IAmAProgrammer
阅读(7117)
推荐(0)
摘要:
AVR Programming MethodsThere are many ways to program AVR microcontrollers.Since many people ask about different ones at one time or another, I though...
阅读全文
posted @ 2015-08-28 19:48
IAmAProgrammer
阅读(748)
推荐(0)
摘要:
TIMx_CR1(控制寄存器1)9-8位:CKD[1:0]时钟分频因子,定义在定时器时钟(CK_INT)频率与数字滤波器(ETR,TIx)使用的采样频率之间的分频比例。 定义:00(tDTS = tCK_INT),01(tDTS = 2 x tCK_INT),10(tDTS = 4 x tCK_I...
阅读全文
posted @ 2015-08-28 00:34
IAmAProgrammer
阅读(7517)
推荐(0)
摘要:
首先,我们可以看到这个图大概有两个不分,一个部分是时钟源,另一个部分则是输入输出时钟源计数,到CNT计数器,然后根据捕获比较寄存器进行记录或比较。记录或比较有不同的配置。首先是TI信号TI1 TI2 TI3 TI4:这个信号就是外部信号,是直接与管脚相连的信号,图中还有一个问题就是TI1是可以是第一...
阅读全文
posted @ 2015-08-28 00:30
IAmAProgrammer
阅读(2391)
推荐(1)
摘要:
环境:iar arm 5.3stm32f103vbt6使用PA.8 外部输入10Mhz的方波。可从systick中断得到数据4.4×5000(预分频值)×1000(tick中断时间)=20MHz属于双边沿检测,一个PA.8个脉冲有2个边沿,所以时钟加倍。由于使用了TI1F_ED它的结构如下:void...
阅读全文
posted @ 2015-08-28 00:27
IAmAProgrammer
阅读(2194)
推荐(0)
摘要:
串口通信是经常使用到的功能,在STM32中UART具有DMA功能,并且收发都可以使用DMA,使用DMA发送基本上大家不会遇到什么问题,因为发送的时候会告知DMA发送的数据长度,DMA按照发送的长度直接发送就OK了,但是使用DMA接收时候就不同了,因为有时候数据接收并不是每一次都是定长的,但是DMA只...
阅读全文
posted @ 2015-08-27 23:16
IAmAProgrammer
阅读(2103)
推荐(0)
摘要:
http://www.cs.indiana.edu/~geobrown/book.pdfAn example of a basic timer is illustrated in Figure 10.1.This timer has four components – a controller, a...
阅读全文
posted @ 2015-08-27 22:22
IAmAProgrammer
阅读(11162)
推荐(0)
摘要:
Bus Blaster v4 design overviewBus Blaster v4 is an experimental, high-speed JTAG debugger for ARM processors, FPGAs, CPLDs, flash, and more. Thanks to...
阅读全文
posted @ 2015-08-27 18:49
IAmAProgrammer
阅读(843)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/Joint_Test_Action_GroupIn JTAG, devices expose one or moretest access ports(TAPs).The picture above shows three TAPs, wh...
阅读全文
posted @ 2015-08-27 18:18
IAmAProgrammer
阅读(831)
推荐(0)
摘要:
用户在调试内嵌可综合内核的 CPU 如 ARM7TDMI-S 时,需要通过打开仿真器的自适应时钟功能。此时,ARM仿真器根据 RTCK 时钟信号的频率,产生可用于 CPU 内核当前时钟主频的最快的 TCK 时钟。即ARM 内核的时钟主频变化,引起 RTCK 变化,仿真器根据 RTCK 的变化,产生合...
阅读全文
posted @ 2015-08-27 17:42
IAmAProgrammer
阅读(5112)
推荐(0)
摘要:
New version released ! V2.45(Check version list for details)This construction is based on HappyJTAG Idea, to implement JTAG interface into target avr ...
阅读全文
posted @ 2015-08-27 14:45
IAmAProgrammer
阅读(919)
推荐(0)
摘要:
用SWD调试接口测量代码运行时间关于时间测量的种种问题在嵌入式中,我们经常需要测量某段代码的执行时间或测量事件触发的时间,常规的思路是:1:在测量起始点,反转电平2:在测量结束点,再次反转电平然后通过示波器或者逻辑分析仪来测量反转间隔,也就是代码时间这种方法,在测量两个或多个时间信号同步的时候,非常...
阅读全文
posted @ 2015-08-27 14:36
IAmAProgrammer
阅读(10007)
推荐(0)
摘要:
JTAG was the traditional mechanism for debug connections for ARM7/9 parts, but with the Cortex-M family, ARM introduced the Serial Wire Debug (SWD) In...
阅读全文
posted @ 2015-08-27 14:31
IAmAProgrammer
阅读(1615)
推荐(0)
摘要:
https://www.computex.co.jp/eg/products/pdf/technical_pdf/arm_if01_gijutsu_eng.pdf
阅读全文
posted @ 2015-08-27 14:28
IAmAProgrammer
阅读(584)
推荐(0)
摘要:
One of the basic needs of the embedded software development through the terminal to output debugging information, generally two ways to achieve:one is...
阅读全文
posted @ 2015-08-27 14:24
IAmAProgrammer
阅读(1110)
推荐(0)
摘要:
Being able to display values for counters, sensors and other debugging information is an important part of software development for microcontrollers. ...
阅读全文
posted @ 2015-08-27 14:17
IAmAProgrammer
阅读(1816)
推荐(0)
摘要:
ARM Cortex-M processor-based devices use the ARM CoreSight technologywhich introduces powerful newdebug and tracecapabilities.Debug features:Run Contr...
阅读全文
posted @ 2015-08-27 14:15
IAmAProgrammer
阅读(763)
推荐(0)
摘要:
The JTAGkey is based on the FTDIChip FT2232L, is a USB 2.0 device and is used for:On-Chip DebuggingIn-System ProgrammingBoundary-Scan Testinghttp://ww...
阅读全文
posted @ 2015-08-27 14:10
IAmAProgrammer
阅读(1619)
推荐(0)
摘要:
http://avrobdii.googlecode.com/svn/trunk/code/J1850.c/* Copyright (C) Trampas Stern name of author This program is free software; you can redistribut...
阅读全文
posted @ 2015-08-27 09:31
IAmAProgrammer
阅读(612)
推荐(0)
摘要:
78-WS2812-Library (STM32F4)//--------------------------------------------------------------// File : stm32_ub_ws2812.h//--------------------------...
阅读全文
posted @ 2015-08-27 00:29
IAmAProgrammer
阅读(1051)
推荐(0)
摘要:
stm-ledstrip : Driver and test routine for WS2811 RGB-LED #include "ws2812.h"#include #include #include #include #include static uint16_t PWM_Buffer[ ...
阅读全文
posted @ 2015-08-27 00:27
IAmAProgrammer
阅读(3743)
推荐(1)
摘要:
how to drive a WS2812 RGB LED using PWM and DMA#include void Delay(__IO uint32_t nCount){ while(nCount--) { }}#define TIM3_CCR1_Address 0x4000043...
阅读全文
posted @ 2015-08-26 23:55
IAmAProgrammer
阅读(3474)
推荐(0)
摘要:
0xWS2812 STM32 driver for WS2812(B) RGB LEDs0xWS2812 pronounced "hex-WS2812"This code aims at providing a basic interface to the WS2812(B) individuall...
阅读全文
posted @ 2015-08-26 23:48
IAmAProgrammer
阅读(11715)
推荐(0)
摘要:
Auto-reload register (TIMx_ARR)The auto-reload register is preloaded.Writing to or reading from the auto-reload registeraccesses the preload register....
阅读全文
posted @ 2015-08-26 23:10
IAmAProgrammer
阅读(3796)
推荐(0)
摘要:
External Input Counter and External interrupt : count the input signal from the button.So what is the different between two methods ?While external in...
阅读全文
posted @ 2015-08-26 21:59
IAmAProgrammer
阅读(523)
推荐(0)
posted @ 2015-08-26 20:41
IAmAProgrammer
阅读(415)
推荐(0)
摘要:
Bitbox : a small open, DIY 32 bit VGA consoleHi all,I've been developing a simple DIY console and a participant of the project and of this message boa...
阅读全文
posted @ 2015-08-26 20:12
IAmAProgrammer
阅读(477)
推荐(0)
摘要:
One-wire Demo on the STM32F4 Discovery BoardSome of the devs at work were struggling to get their software talking to a Dallas 1-wire device. I rememb...
阅读全文
posted @ 2015-08-26 20:02
IAmAProgrammer
阅读(621)
推荐(0)
摘要:
VGA Signal Timing640 x 350VGA 640x350@70 Hz (pixel clock 25.175 MHz)VESA 640x350@85 Hz (pixel clock 31.5 MHz)640 x 400VGA 640x400@70 Hz (pixel clock 2...
阅读全文
posted @ 2015-08-26 20:00
IAmAProgrammer
阅读(738)
推荐(0)
摘要:
VGA Output from STM32F4 Discovery boardI love the web!There are so many cool projects out there, and some, with a tweak or two,get me where I want to ...
阅读全文
posted @ 2015-08-26 19:55
IAmAProgrammer
阅读(1300)
推荐(0)
摘要:
STM32通用定时器的几种配置方式//------------------------------------------------------------------------------// 1、普通定时使用#include"stm32f10x.h"#include"time.h"stati...
阅读全文
posted @ 2015-08-26 18:49
IAmAProgrammer
阅读(4708)
推荐(1)
摘要:
TIMER门控模式控制PWM输出长度参照一些网友代码做了些修改,由TIM4来控制TIM2的PWM输出长度,采用主从的门控模式,即TIM4输出高时候TIM2使能输出//TIM2 PWM输出,由TIM4来控制其输出与停止//frequency_tim2:TIM2 PWM输出周期:KHz//duty_ti...
阅读全文
posted @ 2015-08-26 18:45
IAmAProgrammer
阅读(982)
推荐(0)