Archive

Author Archive

Piccoletta: a USB developer board for PIC’s – Building an application

May 18th, 2011 No comments

In the last article we described how to modify the Microchip’s Bootloader so to be used with the PICCOLETTA and we described how to modify the linker and sources so to use the MCC18 lite version. The lite version hasn’t all the optimization enabled, so when we try to compile the bootloader it builds an application with a dimension bigger than the space reserved into flash. We modify the sources to support the PICCOLETTA board and specifically we increase the space reserved in flash for the bootloader ( from 0×1000 word to 0x10FF word). Due to the increase of the space reserved to the booloader, an application that will be burned into the flash must be located after the end of the bootloader so it doesn’t rewrite part of the bootloader when the application burning phase. The application will be burned into the flash, from the address 0x112A.

Universal RS232-TTL Adapter – User Manual

February 19th, 2011 No comments

This manual refers to the Adapter shown in this post:

This adapter provides the capability to connect circuits with 3.3V/ 5V logic to a common PC’s COM port  

It provides the capability to take the power directly from the PC’s COM port or directly from the circuit that uses this interface.

Categories: micro controllers Tags: , , , ,

A universal serial RS232 to TTL adapter

February 16th, 2011 1 comment

One of the biggest problems that we have when we begin to play with microcontroller, regards how to "interface" the PC with the microcontroller using the serial line (RS232).

Categories: micro controllers Tags: , , , ,

The Usart Bla bla bla: Using the Standard IO facilities #16

May 28th, 2010 No comments

 

Using the Standard IO facilities of the avr-libc 

The avr-libc gives some facilities of the standard I/O. Only a limited subset of the standard IO is implemented (refer to the <stdio.h>: Standard IO facilities section of the avr-libc manual.). The uart.c source code could be used to interface the uart device with the Standard IO. The following example from the stdio man page of avr-libc illustrates the usage of the uart library.

The Watchdog Timer (Freescale RS08) – Part 3

February 5th, 2009 No comments

The MC9RS08KA1 & MC9RS08KA2 watchdog timer.

The watchdog timer (Freescale named it COP Computer Operate Properly)can only cause the System Reset of the device and it has not the interrupt generation capability.

Categories: micro controllers Tags: ,

The Watchdog Timer (Freescale HCS08) – Part 2

January 30th, 2009 No comments

The MC9S08QG8 & MC9S08QG4 watchdog timer.

 

The watchdog timer (Freescale named it COP computer operate properly) in these devices can only cause the System Reset of the device and it has not the interrupt generation capability.

The Watchdog Timer – Part 1

January 24th, 2009 No comments

The watchdog timer device is used to perform a specific operation after a defined period of time if something goes wrong with an electronic system and the system does not recover on its own. For example, if an application goes into an unpredictable state the watchdog timer could be programmed to perform a system reset. The watchdog device can be an external device or a part of a microprocessor.

Statistical data collected by Statpress SEOlution (blogcraft).