Comparision current disspation among AVR, PIC and H8
I have an AVR writer which I bought a few years ago. I could not use it in those days, because the writing application works for WinXP. How does it consume dissipation current, comparing with other PIC and H8?

I need SCI to communicate with PC by RS232 and A/D to measure voltage. ATmega8 of ATMEL AVR has 10-bit A/D with 6CH multiplexer. Reset power supply current of ATmega8 comsumes less 20mA at 16MHz.[1] A site tells that PIC consumes 50mA at 20MHz.

 Install Atmel Studio 6
A few sites tells that PIC programming is more difficult than AVR. Is it true? Anyway, I downloaded AVR Studio 6 to program AVR, though my 1.7GHz PC does not satisfy 1GB+512MB RAM.[3] The Atmel site transferred 527MB at 4MB/s. It was 32Mbps across the Pacific! at 2-3am (GMT+9). But deployment took 5min 26s (1.61MB/s). Installation was very slow. Installer showed,
    Atmel Sudio 6.0 requires the following items to be installed on your computer. Click intall to begin installing these requirements.
    Microsoft Visual Studio Isolated Shell 10.0
    Atmel USB Driver
The created Atmel folder size is 1.39GB. I installed to try programming. When was ATtiny2113 released? AVR was developed by Atmel in 1996.[4] Hitachi began selling sample of H8/3664F on 13 April 2000.

I copied and pasted a sample program on Editor of Atmel Studio 6. The Editor shows red underlined comments of Japanese characters. The error can be fixed by removing checked 'Underline spelling errors' in VassistX menu.[6] I have already simply changed them in roma-ji or English. I built a test program. IDE showed,
    Program Memory Usage : 116 bytes 5.7 % Full
    Data Memory Usage : 0 bytes 0.0 % Full
Atmel Studio tells the ratio of code size. I knew that ATtiny2313 work on small code size comparing with H8/3664F. Is this the merit of RISC? Flash memory of ATtiny2313 is only 2KB, while H8/3664 has 32KB. Atmel Studio 6 is slow, when it is running at start on my PC. The PC has the limit of 1GB memory. I cannot increase any more.

 A tip to use ATiny2313 for RS232 communication
I will use Atmel ATiny2313 to test RS232 serial communication. I downloaded Atmel ATiny2313 manual. It is available for internal clock of 4MHz or 8MHz. The manual describes recommended max receiver error at p.126-127. In case of 8 bits data no parity, allowable error is ±2% for normal speed. The table58 shows errors at various baud rates. I have to make RS232 tranceiver/receiver with ATiny2313, as ATiny2313 is a bare chip.

[1] ATmega8(L)
[2] PIC toha
[3] Atmel Studio 6 download
[4] Atmwl AVR
[5] News Release
[6] AVR Studio 5

Biwa Lake JAPAN   aboutMe
© 2011 Enoki Sensor All Rights Reserved