Testing code for ATmega8535L

Status
Not open for further replies.

beeboss

Newbie level 5
Joined
Jun 28, 2011
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Activity points
1,330
Hi all,

I am using ATmega8535L controller and i wrote code for SPI protocol and also i implemented ADC.But i failed to test the code. Anybody please help me in this regard.
 

What do you mean by "failed to test the code" ?:-|
Did you get compile error, or is your code not working when downloaded to MCU?
More details required.
 

hi srikanth,

Thanks for ur feed back. I already compiled those codes in the AVRstudio,I got error free msg. But when i downloaded into the MCU, it threws an error like failed to enter the programming mode. Please do the need.
 

Is the ISP programming frequency below 1/4 of clock frequency?
 

Ya.... I have choosen 250HZ freq....
 

Are your SPI lines connected to other circuits also, or they are dedicated to ISP?

Also did you change fuse bits, or you could never manage to get into fuse bit settings?
 

I am using AVRISP mkii programmer and AVRstudio4.18 as a tool...
 

Are your SPI lines connected to other circuits also, or they are dedicated to ISP?

Also did you change fuse bits, or you could never manage to get into fuse bit settings?

If it is easy, post your circuit also.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…