09 2013 档案
摘要:https://github.com/github/gitignore/blob/master/Delphi.gitignore*.dcu*.~*~*.local*.identcache__history*.drc*.map*.exe*.dllbin/*Win32/
阅读全文
摘要:https://github.com/github/gitignore/blob/master/VisualStudio.gitignore## Ignore Visual Studio temporary files, build results, and## files generated by popular Visual Studio add-ons.# User-specific files*.suo*.user*.sln.docstates# Build results[Dd]ebug/[Rr]elease/x64/build/[Bb]in/[Oo]bj/# Enable &quo
阅读全文
摘要:1.执行菜单的File->New->Project…(Ctrl-Shift-N)打开新建工程窗口。2.展开左侧的VisualC++项目模板分支,然后选择右侧的Win32Project条目,输入工程名称,然后点击确定。3.出现Win32ApplicationWizard4. 使用默认设置5. 生成的文件夹及文件6. VS 解决方案资源管理器视图7. 运行结果8. 修改项目属性 - 选择所有配置常规 将目标文件扩展名修改为.plw 配置类型 动态库(.dll)C/C++->常规 附加包含目录添加idasdkinclude目录,例如 D:\IDA64\IDASDK64\Includ
阅读全文
摘要:http://blog.csdn.net/songkexin/article/details/1750396stdafx.h头文件的作用Standard Application Fram Extend没有函数库,只是定义了一些环境参数,使得编译出来的程序能在32位的操作系统环境下运行。Windows和MFC的include文件都非常大,即使有一个快速的处理程序,编译程序也要花费相当长的时间来完成工作。由于每个.CPP文件都包含相同的include文件,为每个.CPP文件都重复处理这些文件就显得很傻了。为避免这种浪费,AppWizard和VisualC++编译程序一起进行工作,如下所示:1.Ap
阅读全文
摘要:http://www.cnblogs.com/zplutor/archive/2011/02/20/1958973.html在Win32编程中,如果要显示一个模态窗口,一般是先创建对话框模板,然后使用DialogBox来显示对话框。这种做法很简单,但存在一个问题:对话框是以资源的形式保存在可执行文件中的,如果可执行文件没有进行加壳处理的话,任何人都可以通过ExeScope等资源修改工具修改对话框的内容,这对于含有版权信息的“关于”对话框来说是非常危险的,怀有不良目的的人只需进行简单的操作就可以将一个软件变成是自己的。保护软件的版权信息不被修改有很多种方法,在这里我想说的一种方法是用代码来创建“
阅读全文
摘要:http://forums.codeguru.com/showthread.php?392273-RESOLVED-How-to-get-window-s-HWND-from-it-s-process-handleI am confused about what you know and what you still need to know. Some of your statements seem to be contradicting, so I will tell you some possibilities:1)HAVE: Process ID, NEED: Process hand
阅读全文
摘要:开发指南V1.0库函数版本,PWM DAC实验 350页 STM32 的定时器最快的计数频率是72Mhz,8 为分辨率的时候,PWM 频率为72M/256=281.25Khz。如果是1阶RC滤波,则要求截止频率为1.77Khz,如果为2阶RC滤波,则要求截止频率为22.34Khz.一阶RC滤波截止频率为什么是1.77Khz,二阶为什么是22.34Khz?怎么得来的?这两个频率和PWM频281,25Khz之间有什么关系?看了傅里叶展开,没看出他们之间的关系,很困惑,望原子指点.pwm dac生成时,其中的如果是1阶RC滤波,则要求截止频率为滤波为1.77Khz,如果为2阶RC滤波,则要求截止频率
阅读全文
摘要:#include #include LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM); //声名消息处理函数(处理windows和接收windows消息)//hInstance:系统为窗口分配的实例号,2和3忘了.4是显示方式int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,PSTR szCmdLine, int iCmdShow){ static TCHAR szAppName[] = TEXT ("HelloWin") ; //窗体名
阅读全文
摘要:[转载]关于Gcc/MinGW/Cygwin/Msyshttp://blog.sciencenet.cn/blog-778757-616920.html一、GCC的历史GCC是一个原本用于Unix-like系统下编程的编译器。不过,现在GCC也有了许多Win32下的移植版本。所以,也许对于许多Windows开发者来说,GCC还是一个比较陌生的东西。所以,我希望通过这章的叙述,让你——一个Windows开发者对GCC这一个优秀的编译器有一个大概的了解。GCC是GNU公社的一个项目。是一个用于编程开发的自由编译器。最初,GCC只是一个C语言编译器,他是GNU C Compiler 的英文缩写。随着
阅读全文
摘要:1983年9月27日,MIT人工智能实验室的Richard Stallman在新闻组宣布了雄 心勃勃的GNU(Gnu's Not Unix)操作系统计划,他计划创造一个Unix兼容的自由软件系统,包含了内核和所有必要的工具如:编辑器、shell、C编译器、链接器、汇编器等 等。RMS表示,GNU将能运行Unix程序,但它并不等同于Unix,将会根据用户使用其它操作系统的经验进行改进。Stallman谈到创建GNU的 动机,表示如果喜欢一个程序,他必须与其他喜欢它的人进行分享,而不是违背良心签署保密协议或用户条款,认为这才是软件开发的黄金法则。GNU开启了自由 软件革命。为了庆祝GNU诞
阅读全文
摘要:https://www.gnu.org/GNU 是什么?GNU is a Unix-like operating system that isfree software—it respects your freedom. You can installversions of GNU(more precisely, GNU/Linux systems) which are entirely free software.GNU 工程创始于一九八四年,旨在开发一个完整 GNU 系统。GNU这个名字是 “GNU's Not Unix!” 的递归首字母缩写词。"GNU" 的发
阅读全文
摘要:下载最新版本Git Extensions http://code.google.com/p/gitextensions/downloads/listGit Extensions 2.46 Windows installer, complete including MSysGit and KDiff3https://gitextensions.googlecode.com/files/GitExtensions246Setup.msi安装Git Extensions /KDiff / Gitcheck : Install MsysGitcheck : Install KDiff下载安装torto
阅读全文
摘要:http://www.h4ck.org.cn/2011/11/vs2010-idasdk6-2-ida-plugin-development/1.执行菜单的File->New->Project…(Ctrl-Shift-N)打开新建工程窗口。2.展开左侧的VisualC++项目模板分支,然后选择右侧的Win32Project条目,输入工程名称,然后点击确定。3.在Win32ApplicationWizard先到出现之后,点击左侧的ApplicationSettings连接,在设置界面勾选 DLL 选项,然后选择 EmptyProject,点击完成按钮退出向导。4.在左侧的解决方案浏览
阅读全文
摘要:BitfieldsThere is a special kind of enums: bitfields. A bitfield is an enum where the 32bits are divided into groups. When you define a new symbolic constant in a bitfield, you need to specify the group to which the constant will belong to. By default, IDA proposes groups containing one bi...
阅读全文
摘要:http://www.2cto.com/shouce/ida/1361.htmAction name: SetType该命令允许你指定当前条目类型。如果光标处在函数内部,那么函数类型将会被编辑,否则当前条目的类型将被编辑。在这种情况下当前条目必须有一个名字。函数类型必须按照C定义输入。IDA将会使用类型信息改进反汇编。这里是一个函数定义的例子: int main(int argc, const char *argv[]);为了删除类型定义,请输入空字符串。IDA支持用户定义的调用规则。在调用规则中用户可以显式指定参数位置和返回值。例如: int __usercall...
阅读全文
摘要:1衣带渐宽终不悔,为伊消得人憔悴。-柳永《凤栖梧》2死生契阔,与子成说。执子之手,与子偕老。-佚名《诗经邶风击鼓》3两情若是久长时,又岂在朝朝暮暮。-秦观《鹊桥仙》4相思相见知何日?此时此夜难为情。-李白《三五七言》5有美人兮,见之不忘,一日不见兮,思之如狂。-佚名《凤求凰琴歌》6这次我离开你,是风,是雨,是夜晚;你笑了笑,我摆一摆手,一条寂寞的路便展向两头了。-郑愁予《赋别》7入我相思门,知我相思苦,长相思兮长相忆,短相思兮无穷极。-李白《三五七言》8曾经沧海难为水,除却巫山不是云。-元稹《离思五首其四》9君若扬路尘,妾若浊水泥,浮沈各异势,会合何时谐?-曹植《明月上高楼》10凄凉别后两应同
阅读全文
摘要:The MP2359 is a monolithic step-down switchmode converter with a built-in power MOSFET.It achieves 1.2A peak output current over awide input supply range with excellent load andline regulation. Current mode operationprovides fast transient response and eases loopstabilization. Fault condition protec
阅读全文
摘要:/* This file contains definitions used by the Hex-Rays decompiler output. It has type definitions and convenience macros to make the output more readable. Copyright (c) 2007-2011 Hex-Rays*/#if defined(__GNUC__) typedef long long ll; typedef unsigned long long ull; #define __int64...
阅读全文
摘要:The TPS54331 is a 28-V, 3-A non-synchronous buck converter that integrates a low RDS(on)high side MOSFET. To increase efficiency at light loads, a pulse skipping Eco-mode™ feature is automatically activated. Furthermore, the 1 µA shutdown supply current allows the device to be used in battery p
阅读全文
摘要:#include #include//定义PID 的结构体 struct _pid{ int pv; // integer that contains the process value 过程量 int sp; // integer that contains...
阅读全文
摘要:#include #include #include #include int __stdcall IDP_init(void){ //在这里做一些校验,以确保您的插件是被用在合适的环境里。 if ( 0 ) { error("sorry!"); return PLUGIN_SKIP; } return PLUGIN_KEEP;}void __stdcall IDP_term(void){ //当结束插件时,一般您可以在此添加一点任务清理的代码。 return; ...
阅读全文
摘要:int bar( int a, int b, int c, int d, int e, int f, int g ){ int array2[ 7 ]; array2[ 0 ] = a + b; array2[ 1 ] = b + c; array2[ 2 ] = c + d; array2[ 3 ] = d + e; array2[ 4 ] = e + f; array2[ 5 ] = f + g; array2[ 6 ] = g + a; return array2[ 0 ] + array2[ 1 ] + array2[ 2 ] + array2[ 3 ] + arra...
阅读全文
摘要:http://zh.wikipedia.org/wiki/X86%E8%B0%83%E7%94%A8%E7%BA%A6%E5%AE%9A这里描述了在x86芯片架构上的调用约定(calling conventions)。 调用约定描述了被调用代码的接口:原子(标量)参数,或复杂参数独立部分的分配顺序;参数是如何被传递的(放置在栈上,或是寄存器中,亦或两者混合);被调用者应保存调用者的哪个寄存器;调用函数时如何为任务准备堆栈,以及任务完成如何恢复;这与编程语言中对于大小和格式的分配紧密相关。另一个密切相关的是名称修饰,这决定了代码中的符号名称如何映射到链接器中的符号名。调用约定,类型表示和名称修饰
阅读全文
摘要:http://www.mikroe.com/download/eng/documents/compilers/mikropascal/pro/arm/help/memory_organization.htmThe Cortex-M3 and Cortex-M4 have a predefined memory map. This allows the built-in peripherals, such as the interrupt controller and the debug components, to be accessed by simple memory access ins
阅读全文
摘要:STM32F10X FLASH Size SRAM Size Device Type-------------------------------------------------------------------------- STM32F100x4 16 KB 4 KB STM32F10X_LD_VL STM32F100x6 32 KB 4 KB STM32F10X_LD_VL STM32F100...
阅读全文
摘要:IDASDK里面提供的UI(userinterface)函数 AskUsingForm_c,该函数弹出一个对话框,而对话框的外观形式,就由此函数的第一个参数form(constchar*类型)指定。 static const char *dialog = // "STARTITEM 0\n" // dont change "This is the title\n\n" // dialog title "This is static text\n" // static text "\n" //need char[MA
阅读全文
摘要:The STM32F401 line is the entry level to the STM32 F4 series. It is designed for medical, industrial and consumer applications requiring balanced performance and power efficiency with a high level of integration of embedded memories and peripherals inside packages as small as 3 x 3 mm, in the most c
阅读全文
摘要:http://www.2cto.com/shouce/ida/162.htm按字母顺序排列的IDC函数列表下面是函数描述信息中的约定: 'ea' 线性地址 'success' 0表示函数失败;反之为1 'void'表示函数返回的是没有意义的值(总是0) AddBptEx AddBpt AddCodeXref AddConstEx AddEntryPoint AddEnum AddHotkey AddSourceFile AddStrucEx AddStrucMember AltOp Analysis AnalyzeArea AppendFchun
阅读全文
摘要:http://www.pediy.com/kssd/pediy05/pediy50528.htmIda Pro 的默认设置里对中文字串的支持比较差,对于首字节大于'E0'的都显示成?了.其实...打开IDA PRO 目录下的IDA.CFG看到如下:// the following characters are allowed in ASCII strings, i.e.// in order to find end of a string IDA looks for a character// which doesn't belong to this array://
阅读全文
摘要:http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.htmlhttp://forum.easyelectronics.ru/viewtopic.php?f=17&t=6620&start=0Reversing proshivatelya ST-LinkFor what?I want to pull out the full firmware from apple cores to try to make a full Discovery (well, almost) ST-Link.Na
阅读全文
摘要:https://www.hex-rays.com/products/ida/support/tutorials/idc/autocomment.shtmlThis program creates a segment at paragraph 0x40 and comments the BIOS data area. You should load and execute this file to see the names of BIOS data area variables.//--------------------------------------------------------
阅读全文
摘要:https://www.hex-rays.com/forum/viewtopic.php?f=6&t=3322List of scripts:http://www.openrce.org/downloads/browse/IDA_Scriptshttp://old.idapalace.net/idc.htmlhttp://old.idapalace.net/idc2.htmlhttp://old.idapalace.net/idc3.htmlhttp://nah6.com/~itsme/cvs-xdadevtools/ida/idcscripts/http://itsme.home.x
阅读全文
摘要:http://electronicdesign.com/digital-ics/digital-current-mode-control-challenges-analog-counterpartsDigital Current-Mode Control Challenges Analog CounterpartsElectronic DesignBryan KrisThu, 2006-11-16 (All day)Switch-mode power supplies can use digital current-mode techniques for protection against
阅读全文
摘要:http://www.analog.com/zh/content/dc-to-dc_switching_regulator_insights/fca.html作者:Sridhar Gurram,Oliver Brennan,Tim Wilkerson引言长期以来,设计师一直面临着使MP3播放器、个人媒体播放器、数码相机和其它便携式消费电子设备满足高性能和低功耗的艰巨挑战。这些电池供电系统通常使用嵌入式数字信号处理器(DSP),以便在处理多媒体应用时提供最大的处理能力,在睡眠模式时达到最小的功耗。电池寿命是手持式电池供电产品的首要指标,因此这些产品的成功与否与电源系统的效率直接相关。DC/DC降
阅读全文
摘要:【TI博客大赛】【原创】LM3S811之基于PWM的DAChttp://bbs.ednchina.com/BLOG_ARTICLE_3005301.HTMhttp://www.fpga4fun.com/PWM_DAC_3.htmlOne-bit DACTake one pin of an FPGA, connect a speaker and listen to an MP3? Easy.Here, we'll use a PC to decode an MP3, and then send the decoded data to an FPGA that is configured
阅读全文
摘要:http://www.cnblogs.com/westsource/archive/2012/12/26/2834876.htmlIf you have Windows Server 2012 iso file or DVD,you can install .net framework 3.5 on Windows Server 2012 easly.1. You have to insertWindows Server 2012 DVD or isoto D drive.2. Open Add Roles and Features Wizard3. Select .NET Framework
阅读全文
摘要:第二版STM32 + RA8875 + AT070TN92 + 触摸屏 + USB + C++...http://www.amobbs.com/thread-5510972-1-1.html
阅读全文
摘要:http://blog.csdn.net/maxwoods/article/details/8842889XE4 Update1 下载:http://altd.embarcadero.com/download/radstudio/xe4/delphicbuilder_xe4_upd1_win.iso安装序列号:MNFA-A3D8PK-F4BBAE-FCQN破解补丁(杀毒软件可能会误报哦):http://www.400gb.com/file/23544228安装指导:1.用上面的序列号安装,启动Rad Studio XE 4然后关闭2.打开Rad Studio XE 4安装目录,参考如下(请根据
阅读全文
摘要:
阅读全文
摘要:http://www.ti.com/lit/an/slva299a/slva299a.pdfMany boost converters have an external rectifier diode.The input voltage of the TPS61170 main boostconve...
阅读全文
摘要:Variable Control Voltage Output Voltage AdjustThis method is accomplished by connecting a variable control voltage througha resistor, R(adjust), to J3−1. The equations provided below calculate R2 andR(adjust) where:For example, if VO,max= 19 V, VO,min = 17 V, V(adjust),min = 0 V, V(adjust),max =3.3
阅读全文
摘要:The layers themselves are grouped by their functional types:Signal Layers– Top Layer, Bottom Layer, Mid-Layer 1-30Internal Planes– Internal Plane 1-16Other Layers– Drill Guide, Keep-Out Layer, Drill Drawing, Multi-LayerSilkscreen Layers– Top Overlay, Bottom OverlayMask Layers– Top Paste, Bottom Past
阅读全文
摘要:http://www.centralsemi.com/product/packages/index2.phphttp://www.infineon.com/cms/cn/product/package.html?package=%2fpackages%2fSMD_-_Surface_Mounted_Deviceshttp://www.838dz.com/diode/1100.htmhttp://www.nxp.com/packages/http://www.ti.com/sc/docs/package/guide.htmhttp://www.linear.com/designtools/pac
阅读全文
摘要:
阅读全文
摘要:Single Inductor Buck-Boost Converter in Tiny WCSPThe TPS63036 is a non inverting buck-boost converter able to provide a regulated output voltage from an input supply that can be higher or lower than the output voltage. The buck-boost converter is based on a fixed frequency, pulse-width-modulation (P
阅读全文