上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 34 下一页
摘要: 1 #ifndef __SYSTEM_H__ 2 #define __SYSTEM_H__ 3 4 #include 5 #include 6 7 #include "bsp.h" 8 9 extern void sys_srand( unsigned int seed );10 ext... 阅读全文
posted @ 2015-07-16 14:58 IAmAProgrammer 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 1 MODULE ARM_MEMORY 2 3 PUBLIC ARM_MEMCPY 4 PUBLIC ARM_MEMSET 5 PUBLIC ARM_MEMSET8 6 PUBLIC ARM_M... 阅读全文
posted @ 2015-07-16 14:55 IAmAProgrammer 阅读(1274) 评论(0) 推荐(0) 编辑
摘要: 这里比较下容易混淆的四条指令,已经在这4条指令的混淆上花费了很多精力,现在做个小结,LDR,STR,LDM,STM这四条指令,关于LDM和STM的说明,见另外一个说明文件,说明了这两个文件用于栈操作时的注意事项。(1)LDR:L表示LOAD,LOAD的含义应该理解为:Load from memory... 阅读全文
posted @ 2015-07-13 16:19 IAmAProgrammer 阅读(4804) 评论(0) 推荐(1) 编辑
摘要: The baud rate for the receiver and transmitter (Rx and Tx) are both set to the same valueasprogrammed in the Mantissa and Fraction values of USARTDIV.... 阅读全文
posted @ 2015-07-12 23:32 IAmAProgrammer 阅读(24592) 评论(0) 推荐(0) 编辑
摘要: 类似的一个问题是项目根目录下可能有logs一类的目录,我们希望他人把仓库clone下来的时候能够已经携带了这个目录,但又不希望让这个目录中的日志文件进版本库。之前看到一些项目用了一种比较 ugly 的做法:在logs下建立一个.gitkeep空文件(git 无法版本控制没有任何文件的空目录),然后再... 阅读全文
posted @ 2015-07-08 23:15 IAmAProgrammer 阅读(2655) 评论(0) 推荐(1) 编辑
摘要: the difference between an embOS interrupt and a zero latency interrupt is the interrupt priority level and the usage of OS_EnterInterrupt()/OS_LeaveIn... 阅读全文
posted @ 2015-07-07 13:27 IAmAProgrammer 阅读(492) 评论(0) 推荐(0) 编辑
摘要: I’m confused about unaligned memory accesses on ARM.My understanding was that they’re not allowed — that is,dereferencing a 32-bit value from a pointe... 阅读全文
posted @ 2015-07-04 17:58 IAmAProgrammer 阅读(2046) 评论(0) 推荐(0) 编辑
摘要: How to create .gitignore fileI need to add some rules to my.gitignorefile, however, I can't find it in my project folder. Isn't it created automatical... 阅读全文
posted @ 2015-07-01 18:03 IAmAProgrammer 阅读(738) 评论(0) 推荐(0) 编辑
摘要: How do I call a C function in another module from inline assembler in IAR EWARM?I have a bit of assembly in a hard fault handler.The assembly is basic... 阅读全文
posted @ 2015-07-01 10:56 IAmAProgrammer 阅读(1631) 评论(0) 推荐(0) 编辑
摘要: Error [Og005] + [Og006] when using inline assemblerEW targets:430, ARM, AVREW component:C/C++ compilerLast update:April 3, 2013Problem:When compiling ... 阅读全文
posted @ 2015-07-01 10:48 IAmAProgrammer 阅读(2581) 评论(0) 推荐(0) 编辑
摘要: 如果只想简单的设置,可进行如下设置 Tools->IDE Options->Editor->Colors and Fonts->Editor Font->Font 但是这里边似乎也没有什么舒服的字体,在网上找了找,还真找到了一个比较不错的字体,现呈现给大家 IAR的 用户配置文件 在这里进行替换即可 阅读全文
posted @ 2015-06-30 23:09 IAmAProgrammer 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: https://www.kernel.org/doc/Documentation/crc32.txtA brief CRC tutorial.A CRC is a long-division remainder. You add the CRC to the message, and the wh... 阅读全文
posted @ 2015-06-29 02:31 IAmAProgrammer 阅读(1948) 评论(0) 推荐(0) 编辑
摘要: AN4187 - Using the CRC peripheral in the STM32 familyAt start up, the algorithm sets CRC to the Initial_Crc XOR with the Input_Data.Once CRC MSB is eq... 阅读全文
posted @ 2015-06-29 00:14 IAmAProgrammer 阅读(950) 评论(0) 推荐(0) 编辑
摘要: http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4_annex-a.aspxAnnex A: Transportation of APDU messages by T=0A.1 Case 1A.2 Case 2 ShortA... 阅读全文
posted @ 2015-06-28 15:22 IAmAProgrammer 阅读(546) 评论(0) 推荐(0) 编辑
摘要: http://pcsclite.alioth.debian.org/ccid_extended_apdu.htmlTo be able to use an extended APDU you need to have:A T=1 cardA smart card reader working in ... 阅读全文
posted @ 2015-06-28 15:09 IAmAProgrammer 阅读(854) 评论(0) 推荐(0) 编辑
摘要: http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4_7_transmission_interindustry_commands.aspx7. Transmission-oriented Interindustry Comma... 阅读全文
posted @ 2015-06-28 14:06 IAmAProgrammer 阅读(1090) 评论(0) 推荐(0) 编辑
摘要: /* The Quest Operating System * Copyright (C) 2005-2010 Richard West, Boston University * * This program is free software: you c... 阅读全文
posted @ 2015-06-28 01:33 IAmAProgrammer 阅读(1954) 评论(0) 推荐(0) 编辑
摘要: Everyone knows that STM32F1xx, STM32F2xx, STM32F4xx have a hardware unit with a polynomial CRC32 0x04C11DB7.And he, in general, work.But only a checks... 阅读全文
posted @ 2015-06-27 23:07 IAmAProgrammer 阅读(2911) 评论(0) 推荐(0) 编辑
摘要: /关闭警告#pragma diag_suppress=Pe940uint8_t GetMyData(void){ asm(“MOV R0, #0x550F”);}//恢复警告#pragma diag_warning=Pe940 阅读全文
posted @ 2015-06-27 18:51 IAmAProgrammer 阅读(917) 评论(0) 推荐(0) 编辑
摘要: http://www.barrgroup.com/Embedded-Systems/How-To/Additive-ChecksumsCRC Series, Part 1: Additive ChecksumsSat, 2007-12-01 23:21-webmasterbyMichael Barr... 阅读全文
posted @ 2015-06-27 13:46 IAmAProgrammer 阅读(1444) 评论(0) 推荐(0) 编辑
摘要: Acquired from: ftp.adelaide.edu.au:/pub/rocksoft/crc_v3.txt or ftp://ftp.rocksoft.com/papers/crc_v3.txt or http://www.repairfaq.org/filipg/LINK/... 阅读全文
posted @ 2015-06-27 13:11 IAmAProgrammer 阅读(948) 评论(0) 推荐(0) 编辑
摘要: // STM32 CRC32 Test App - sourcer32@gmail.com#include #include DWORD Crc32( DWORD Crc, DWORD Data ){ int i; Crc = Crc ^ Data; for ( i = 0; i > ... 阅读全文
posted @ 2015-06-27 13:09 IAmAProgrammer 阅读(1212) 评论(0) 推荐(0) 编辑
摘要: uint32_t reverse_32( uint32_t data ){ asm("rbit r0,r0"); return data;};uint32_t crc32_ether( char *buf, int len, int clear ){ uint32_t *p = (uint32... 阅读全文
posted @ 2015-06-27 13:06 IAmAProgrammer 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro have a built-in hardware CRC32 calculator. (So using ... 阅读全文
posted @ 2015-06-27 12:41 IAmAProgrammer 阅读(1912) 评论(0) 推荐(0) 编辑
摘要: 对于STM32的32位CRC,如果假定它的一个主要目的是为了校验往内部FLASH存储数据的可靠性,那么(余数)初值是全1当然是比较合理的。由于STM32的32位CRC是纯32位,即每次必须输入32位的数,所以如果数据不到32位,应该往低位用1来填充比较合理;另外,如果输入数据是 "1234"-0x3... 阅读全文
posted @ 2015-06-27 12:36 IAmAProgrammer 阅读(11567) 评论(0) 推荐(1) 编辑
摘要: So, lets look at how CBC works first. The following picture shows the encryption when using CBC (in this case, using AES as the cipher).Basically, Cip... 阅读全文
posted @ 2015-06-27 00:01 IAmAProgrammer 阅读(15941) 评论(0) 推荐(0) 编辑
摘要: http://speakspeak.com/resources/english-grammar-rules/various-grammar-rules/either-neither-bothOne of the tricky things abouteither,neitherandbothis k... 阅读全文
posted @ 2015-06-26 23:28 IAmAProgrammer 阅读(338) 评论(0) 推荐(0) 编辑
摘要: http://www.usingenglish.com/quizzes/answers.php?quiz_id=44This page displays the answers to the 'Both, Either & Neither' quiz.Q1 -____ were ill so the... 阅读全文
posted @ 2015-06-26 23:26 IAmAProgrammer 阅读(376) 评论(0) 推荐(0) 编辑
摘要: http://www.grammar.cl/english/both-either-neither.htmBoth, Either, Neither Summary ChartWe useboth,eitherandneitherto refer to two people or things.BO... 阅读全文
posted @ 2015-06-26 23:22 IAmAProgrammer 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: How to convert a byte to its binary string representationFor example, the bits in a byteBare10000010, how can I assign the bits to the stringstrlitera... 阅读全文
posted @ 2015-06-26 11:53 IAmAProgrammer 阅读(419) 评论(0) 推荐(0) 编辑
摘要: how convert large HEX string to binaryI have a string with 14 characters . This is a hex represantation of 7bytes. I want to convert it to binary.int3... 阅读全文
posted @ 2015-06-26 02:53 IAmAProgrammer 阅读(374) 评论(0) 推荐(0) 编辑
摘要: http://codereview.stackexchange.com/questions/2050/tiny-encryption-algorithm-tea-for-arbitrary-sized-data#ifndef __TEA.H__#define __TEA.H__#include vo... 阅读全文
posted @ 2015-06-25 18:59 IAmAProgrammer 阅读(878) 评论(0) 推荐(0) 编辑
摘要: /* Validation sets: * * Single-length key, single-length plaintext - * Key : 0123 4567 89ab cdef * Plain : 0123 4567 89ab cde7 * Cipher : c957 442... 阅读全文
posted @ 2015-06-25 18:38 IAmAProgrammer 阅读(421) 评论(0) 推荐(0) 编辑
摘要: IELFTOOL Checksum - Basic actionsEW targets:ARM, RH850, RX, SH, STM8EW component:General issuesLast update:September 6, 2013Below follows the steps ne... 阅读全文
posted @ 2015-06-23 02:03 IAmAProgrammer 阅读(4448) 评论(0) 推荐(0) 编辑
摘要: #include // The type of a pointer into the init table.typedef void const * table_ptr_t;// The type of an initialization routine. It takes a pointer to... 阅读全文
posted @ 2015-06-22 18:47 IAmAProgrammer 阅读(5075) 评论(0) 推荐(0) 编辑
摘要: http://blog.grexit.com/manage-data-across-clouds/That the average small business uses a cloud service to enable collaboration and backup is pretty muc... 阅读全文
posted @ 2015-06-21 15:12 IAmAProgrammer 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 支持多种服务器和主流云网盘进行同步http://www.icecoldapps.com/Unlock Code :xda201506Unlock Code : icecoldapps201506Download :Synchronize Ultimate APK 2.8.22Synchronize ... 阅读全文
posted @ 2015-06-21 12:02 IAmAProgrammer 阅读(705) 评论(0) 推荐(0) 编辑
摘要: Table of contentList of test vectors for AES/ECB encryption modeAES ECB 128-bit encryption modeAES ECB 128-bit encryption modeAES ECB 128-bit encrypti... 阅读全文
posted @ 2015-06-19 23:26 IAmAProgrammer 阅读(3230) 评论(0) 推荐(0) 编辑
摘要: This optimized AES implementation conforms to FIPS-197.aes.h#ifndef _AES_H#define _AES_H#ifndef uint8#define uint8 unsigned char#endif#ifndef uint32... 阅读全文
posted @ 2015-06-19 22:46 IAmAProgrammer 阅读(400) 评论(0) 推荐(0) 编辑
摘要: http://ark.intel.com/compare/52275,65728Product NameIntel® Xeon® Processor E3-1260L (8M Cache, 2.40 GHz)Intel® Xeon® Processor E3-1265L v2 (8M Cache, ... 阅读全文
posted @ 2015-06-18 22:25 IAmAProgrammer 阅读(3548) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 34 下一页