Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 02:14:22 14:14


Login with username, password and session length


Pages: [1]
Print
Author Topic: how to compile profgram in PIA 8255 using bascom-AVR software  (Read 3539 times)
0 Members and 1 Guest are viewing this topic.
jai
Guest
« on: March 28, 2008, 06:11:57 06:11 »

im using atmel mega 8535 and another input output interface that is 8255, im using stk 2000 to connect to pc to program using software bascom-AVR. but the program from controller that sent to 8255 not give an signal because there is a problem in my programming that i dont know the cause of it.8255 cannot read and give an output to my 8255 port that is port.a port.b and port.c (as output) and if i set port.d as an input. please help me to give the solution of programming in bascom -AVR..
plz.....

 Cry
Logged
Mr Dee
Newbie
*
Offline Offline

Posts: 27

Thank You
-Given: 28
-Receive: 1


« Reply #1 on: March 29, 2008, 06:26:38 06:26 »

maybe your 8255 mode setting is wrong , did you read 8255 datasheet ?
Logged
jai
Guest
« Reply #2 on: April 04, 2008, 07:39:32 19:39 »

im read on that data sheet..

yup.. actually my programming also wrong..
so i dont know how to solve it..


it seem like that we can write that data..

but the data not read it and not give a feedback signal to controller...
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC