(you are viewing a thread; or go back to
list of threads)
24 ~ 27 Ic Pins Failure Atmega32A & 16L (by MFQ)
DEAR SIR
ATMEGA32A
ATMEGA32 16PU
ATMEGA32A PU
ATMEGA16L
SAME LOGIC TEST OF 22,23,28 & 29 PINS SAME PROG WORKING OK
SAME LOGIC TEST OF 24,25,26 & 27 PINS SAME PROG NOT WORKING
WHATS PROBLEM IS THERE ?
TEST BY OSCILLOSCOPE & LOGIC PROBE
(no subject) (by MFQ)
DEAR MPG
DO YOU FACE THIS PROBLEM ABOUT THAT (ATTACH FILE)
PLEASE IF YOU HAVE ANY SOLUTION ABOUT IT INFORM. THANKS
(no subject) (by MGP)
Ihor is the man you need, not me.
I'm a PIC-man and can not change the source code of LDmicro.
(no subject) (by Ihor Nehrutsa)
I recommend using pintest.ld with different frequency on the output pins.
(no subject) (by Ihor Nehrutsa)
This will identify the outputs.
(no subject) (by Ihor Nehrutsa)
To MFQ:
You are trying to use 44 leads/pads packages of ATmega32?
(no subject) (by Ihor Nehrutsa)
40-PDIP package has a different numbering sequence of chip pins from 44-TQFP/MLF packages.
For example
in 40-PDIP 26 pin is PC3,
in 44-TQFP/MLF 26 pin is PC7.
LDmicro now support "Atmel AVR ATmega32 40-PDIP".
(no subject) (by Ihor Nehrutsa)
I compile pintest.ld, got a pintest.hex and pintest.asm.
I developed scheme about ATMEGA32 with pintest.hex in Proteus.
(no subject) (by MGP)
Ihor, I found a bug in the editor(compatibility)
Your program PINTEST.LD looks like this in the V2.3, see the printscreen.
(no subject) (by Ihor Nehrutsa)
You can see more details in zip archive. All files attached above are in ZIP archive.
Please pay attention to excerpts from Atmel documents:
ATmega32_page*.jpg
ATmega32A_page*.jpg
or use original www.atmel.com datasheet pdfs.
I change LPC cycle time to 1ms and add CTC counters.
PINTEST\pintest.ld
PINTEST\pintest.hex
PINTEST\pintest.asm
Proteus scheme in PINTEST\pintest\PROTEUS\pintest_ATmega32.DSN. Work in Poteus 7.10.
pintest_ATmega32_1.JPG
pintest_ATmega32_2.JPG
pintest_ATmega32_3.JPG
show different horizontal scan of Y signals on oscilloscope.
About asm you can read
https://github.com/LDmicro/LDm...R-Studio-or-PIC-MPLAB-software
(no subject) (by Ihor Nehrutsa)
to MGP:
It is not a bug. It is a new feature of CTC. CTC moved from the end of line to leaf of a rung. After the CTC counter overflow, CTC generate OSR at its output. This feature is back compatible with old LD files.
In this thread
http://www.cq.cx/ladder-forum.pl?action=viewthread&parent=4832
I offered
"CTC need upgrading!"
and
Jonathan Westhues
says
"That seems like a good change. It should be possible to make it as backwards-compatible for the file format always, and forwards-compatible for all programs not using the new feature; so there should be no problem with existing programs."
(no subject) (by Ihor Nehrutsa)
To MFQ and all:
I can add "Atmel AVR ATmega32 44-Pin packages" into LDmicro.
It will cost $10.
I can add "Atmel AVR ATmega328 32-Pin packages"
It will cost $10.
As I wrote earlier:
"
I appreciate his work at $ 20 / hour.
...
Also, the addition to the list of processors AVR with a change in package type (eg ATmega8 PDIP -> ATmega8 TQFP) I set price at $10 (0.5 hour).
"
On the question of payment, please contact [email protected].
(no subject) (by MGP)
Sorry, I forgot you had already written this.
(no subject) (by MFQ)
Dear thanks .
trying to solve my problem but there is no problem.
problem in programming.exe
too much different attempt on both ic atmega32 and 16 both ic status 24 25 26 27 not work but 22 23 28 29 work properly.
there is no use 44 pin pakage
PDIP 40 pin use
(no subject) (by MFQ)
dear
use different ic use and programming but all ic shown same status
(no subject) (by MFQ)
SEE IC PACKAGE
(no subject) (by MFQ)
NEXT DAY TO TEST YOUR RECOMMENDED PROG. AT HARDWARE THEN INFORM YOU THAT IS WORK OR NOT
THANKS
(no subject) (by MFQ)
DEAR THIS PROG ALSO TESTED BUT NOT SUCCESS
(no subject) (by Ihor Nehrutsa)
to MFQ:
Please send you pintest.hex and tested.hex
(no subject) (by Ihor Nehrutsa)
to MFQ:
Are you using JTAG interface? This is a fragment of ATmega32 datasheet:
...
Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The
Port C output buffers have symmetrical drive characteristics with both high sink and source
capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port C pins are tri-stated when a reset condition becomes active,
even if the clock is not running. If the JTAG interface is enabled, the pull-up resistors on pins
PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset occurs.
The TD0 pin is tri-stated unless TAP states that shift out data are entered.
Port C also serves the functions of the JTAG interface and other special features of the
ATmega32 as listed on page 60.
...
(no subject) (by MFQ)
Dear Ihor Nehrutsa
Good Job
Thanks to solve this problem ( you Done it )
Best of the Best Try about it (thanks a lot Ihor Nehrutsa)
from MFQ
Post a reply to this comment:
|