Wednesday, 31 August 2016

today i got the call for installation of tersterm, baiscally teraterm is used to view the output from the board. when we build a binary on the board and then it is flashed. After flashing, it generates an output which we want to see. 

the output is viewed just like it is viewed when we run a simple c or java program and then it is run.

On teraterm we select a proper COM port on which our MCU is recognised. after recognition, serial port settings are changed according to given code. all the code according to its setting work on different baud rates or parity or any other option.

So today I mademy code run and just printed a HELLO after flashing just to check code works fine and I get to know some settings.

Tuesday, 30 August 2016

with stm cubemx, we can generate an initial code which forms the basic outline for writing the advance part of the code.

in this software, we select the type of board on which we have to work, select the name of that particular board and some options inside which generate the code.


STM32CubeMX is part of STMicroelectronics STMCube™ original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.
STM32Cube includes the STM32CubeMX which is a graphical software configuration tool that allows generating C initialization code using graphical wizards.
It also embeds a comprehensive software platform, delivered per series (such as STM32CubeF4 for STM32F4 series). This platform includes the STM32Cube HAL (an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio), plus a consistent set of middleware components (RTOS, USB, TCP/IP and graphics). All embedded software utilities come with a full set of examples.
STM32CubeMX is a graphical tool that allows configuring STM32 microcontrollers very easily and generating the corresponding initialization C code through a step-by-step process.
Step one consists in selecting the STMicroelectronics STM32 microcontroller that matches the required set of peripherals.
The user must then configure each required embedded software thanks to a pinout-conflict solver, a clock-tree setting helper, a power-consumption calculator, and an utility performing MCU peripheral configuration (GPIO, USART, ..) and middleware stacks (USB, TCP/IP, ...).
Finally, the user launches the generation of the initialization C code based on the selected configuration. This code is ready to be used within several development environments. The user code is kept at the next code generation.
Key Features
  • Intuitive STM32 microcontroller selection
  • Microcontroller graphical configuration:
    • Pinout with automatic conflict resolution
    • Clock tree with dynamic validation of configuration
    • Peripherals and middleware functional modes and initialization with dynamic validation of parameter constraints
    • Power sequence with estimate of consumption results
  • C code project generation covering STM32 microcontroller initialization compliant with IAR™, Keil™ and GCC compilers.

it releases code which could be used for a particular board only.

Monday, 29 August 2016


I put a request on friday to install system work bench, today I got the call for installation of the software. There is another software which sir asked me to install.

Terterm, it is a hyperterminal as windows 7 and vista do not come with any..
Teragerm is opensource software terminal emulator that works with windows 7 and vista.

Again I requested them to install this into my machine.

System workbench was installed on my machine. Sir asked me to download all the lua source code which  is available on github.
I put a request on friday to install system work bench, today I got the call for installation of the software. There is another software which sir asked me to install.

Terterm, it is a hyperterminal as windows 7 and vista do not come with any..
Teragerm is opensource software terminal emulator that works with windows 7 and vista.

Again I requested them to install this into my machine.

System workbench was installed on my machine. Sir asked me to download all the lua source code which  is available on github.

Friday, 26 August 2016

today I  was asked to download system workbench which is eclipse based iDE to interact with the board. it is alsoan open source technology which can be easily downloaded from ac6 website by registering. It has 2 ways to download either with the installer or through eclipse.

In the installer, we get ST link driver in it which is used to link and recognise the board.

a request was made on my part to the manager as I didnt have admin rights.

Thursday, 25 August 2016

Today I did a complete study for UART.

A UART (Universal Asynchronous Receiver/Transmitter) is the microchip with programming that controls a computer's interface to its attached serial devices. Specifically, it provides the computer with the RS-232C Data Terminal Equipment ( DTE ) interface so that it can "talk" to and exchange data with modems and other serial devices. As part of this interface, the UART also:
  • Converts the bytes it receives from the computer along parallel circuits into a single serial bit stream for outbound transmission
  • On inbound transmission, converts the serial bit stream into the bytes that the computer handles
  • Adds a parity bit (if it's been selected) on outbound transmissions and checks the parity of incoming bytes (if selected) and discards the parity bit
  • Adds start and stop delineators on outbound and strips them from inbound transmissions
  • Handles interrupt s from the keyboard and mouse (which are serial devices with special port s)
  • May handle other kinds of interrupt and device management that require coordinating the computer's speed of operation with device speeds
More advanced UARTs provide some amount of buffering of data so that the computer and serial devices data streams remain coordinated. The most recent UART, the 16550, has a 16-byte buffer that can get filled before the computer's processor needs to handle the data. The original UART was the 8250. If you purchase an internal modem today, it probably includes a 16550 UART (although you should ask when you buy it). According to modem manufacturer US Robotics, external modems do not include a UART. If you have an older computer, you may want to add an internal 16550 to get the most out of your external modem.