Search found 81 matches
- 11-Nov-2014, 19:55
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [STM] Tutorial: Getting started with STM32F3 Discovery board
- Replies: 2
- Views: 35579
[STM] Tutorial: Getting started with STM32F3 Discovery board
Lesson #1. This guide briefly describes how to get started programming SMT32F3 board using IAR Embedded Workbench. First tutorial shows how to create a simple blinking LEDs firmware for this board. #include <stm32f30x.h> #include <stm32f30x_rcc.h> #include <stm32f30x_gpio.h> int main() { GPIO_In...
- 06-Oct-2014, 19:45
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [STM] Getting started with IAR for ARM. IDE quick setup.
- Replies: 1
- Views: 31991
[STM] Getting started with IAR for ARM. IDE quick setup.
Hello. First of all you should download installation package for: "IAR Embedded Workbench for ARM" at http://www.iar.com/Service-Center/Downloads/ (size-limited evaluation license) When the installation is complete you need to register online (you can use any name and country, but you need valid e-m...
- 07-Aug-2014, 13:06
- Forum: Unix, Linux, Mac OS, DOS
- Topic: [RPI] How to update the kernel and the firmware?
- Replies: 0
- Views: 62376
[RPI] How to update the kernel and the firmware?
We need internet connection and terminal window (or PuTTY). Use Win32DiskImager to make backup-file of your SD card. If your Raspberry PI uses small SD-card ( < 4GB) you can get the "out of free space" error. Try to delete temporary files and unused downloaded package files (.deb files) in "/var/cac...
- 17-Apr-2014, 22:10
- Forum: Windows, .Net, OpenGL
- Topic: [IE] Loading HTML content from any source
- Replies: 0
- Views: 61536
[IE] Loading HTML content from any source
Introduction Some time ago I faced with the task to dynamically load HTML-page and parse its content. I thought this "trivial problem" will take couple of hours. In fact it took a week to solve. Some solutions I have found are ugly or buggy, wrong or incomplete, some of which are from Microsoft tec...
- 17-Apr-2014, 19:00
- Forum: Windows, .Net, OpenGL
- Topic: [IE] Rendering an IHTMLElement to an Image File
- Replies: 0
- Views: 37876
[IE] Rendering an IHTMLElement to an Image File
Rendering an IHTMLElement to an Image File What This Article Is About This code can take a snapshot of a webpage and store it as an image for viewing later. I would like to extract a bitmap from an html page. I expected to find a IStream, IPersistStream or IPersistStreamInit from the IHTMLImgElemen...
- 14-Apr-2014, 20:29
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [SD] How to Use MMC/SDC
- Replies: 3
- Views: 36947
Re: [SD] How to Use MMC/SDC
Consideration to Bus Floating and Hot Insertion Any signals that can be floated should be pulled low or high properly via a resister. This is a generic design rule on MOS devices. Because DI and DO are normally high, they should be pulled-up. According to SDC/MMC specs, from 50k to 100k ohms is rec...
- 14-Apr-2014, 19:19
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [SD] How to Use MMC/SDC
- Replies: 3
- Views: 36947
Re: [SD] How to Use MMC/SDC
Data Transfer Data Packet and Data Response In a transaction with data transfer, one or more data blocks will be sent/received after command response. The data block is transferred as a data packet that consist of Token, Data Block and CRC. The format of the data packet is showin in right image and...
- 14-Apr-2014, 19:10
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [SD] How to Use MMC/SDC
- Replies: 3
- Views: 36947
Re: [SD] How to Use MMC/SDC
Initialization Procedure for SPI Mode After power on reset, MMC/SDC enters its native operating mode. To put it SPI mode, follwing procedure must be performed like this flow. sd_init_diagram.png Power ON (Insersion) After supply voltage reached 2.2 volts, wait for one millisecond at least. Set SPI ...
- 14-Apr-2014, 19:04
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [SD] How to Use MMC/SDC
- Replies: 3
- Views: 36947
[SD] How to Use MMC/SDC
How to Use MMC/SDC The Secure Digital Memory Card (SDC below) is the standard memory card for mobile equipments. The SDC was developped as upper-compatible to Multi Media Card (MMC below). SDC compleant equipments can also use MMCs in most case. There are also reduced size versions, such as RS-MMC,...
- 11-Apr-2014, 20:59
- Forum: Hardware, DIY (Do-It-Yourself)
- Topic: [AVR] Работа с SPI модулем.
- Replies: 1
- Views: 26114
Re: [AVR] Работа с SPI модулем.
Программный код Минимальный программный код для работы с SPI модулем состоит из двух функций: - функции инициализации. - функции передачи/приема байта данных Инициализация SPI модуля Инициализация включает в себя конфигурирование выводов SPI модуля и управляющего регистра SPCR. #define SPI_MISO 6 #...