RadioLocman.com Electronics ru
Advanced Search +
  
Go Back   RadioLocman Forum > Electronics and ... > Microcontrollers (MCU)

Microcontrollers (MCU) Application and programming of MCUs, Evaluation Kits and Demonstration Boards, Programmers.

Reply
 
Thread Tools Search this Thread
Old 06-17-2016, 09:20 AM   #1
Em_13
Junior Member
 
Join Date: Feb 2016
Posts: 15
Em_13 is on a distinguished road
Default ATmega128 error in fuse bits read

I am using USBasp to program my board with ATmega128, hardware is single side PCB by Thomas Fischl http://www.fischl.de/usbasp/
My board was working well and I decided to change some parts of the code but when I tried to read chip signature I got error (attachment) as well as when I tried to read fuse bits. I thought that maybe I have issue with CLK fuses and I applied external clock (5 V, 16.67 MHz) to the XTAL1 pin but without any success. I am confused because my board is still working as before but I cant make any change in program. Why I can not read fuse bits?
Em_13 is offline   Reply With Quote
Old 06-18-2016, 05:15 PM   #2
crazy-igzp
Junior Member
 
Join Date: Jan 2016
Posts: 6
crazy-igzp is on a distinguished road
Default

check:
* power supply
* reset
* uC clock frequency (in case you already selected it)
* programming clock (if you are not sure then try less than 100kHz)
crazy-igzp is offline   Reply With Quote
Old 08-16-2016, 04:20 PM   #3
RobertBil
Junior Member
 
Join Date: Aug 2016
Posts: 1
RobertBil is on a distinguished road
Default

Hi..i worked on many projects using the ATmega128 and as per my knowledge the problem is there because of faulty firmware. This happened because of that only. Also as suggested above check your CLK and power supply as well as programming CLK.

pcb assembly supplier

Last edited by RobertBil; 09-20-2016 at 06:37 PM.
RobertBil is offline   Reply With Quote
Old 08-18-2016, 11:11 AM   #4
Em_13
Junior Member
 
Join Date: Feb 2016
Posts: 15
Em_13 is on a distinguished road
Default

Hi RobertBil
The problem was in the inverse bit programming
What programmer you use?
Em_13 is offline   Reply With Quote
Old 08-21-2016, 09:05 AM   #5
rapid
Member
 
Join Date: Nov 2013
Posts: 40
rapid is on a distinguished road
Default

I use a calculator Fyuz. I'm changing only the frequency setting.
rapid is offline   Reply With Quote
Old 08-28-2016, 09:55 AM   #6
Jon
Junior Member
 
Join Date: Oct 2013
Posts: 20
Jon is on a distinguished road
Default

The future for Arduino
There are no such problems with installations.
Jon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UART Atmega128 is not working Anatoly Microcontrollers (MCU) 5 01-25-2016 09:13 AM
PIC16F676 5k Potentiometer Analog Read Ali_Ahmer Microcontrollers (MCU) 3 01-15-2016 06:26 PM
Modem AT command error Rocketman46 Microcontrollers (MCU) 1 01-03-2016 09:11 AM
Glass Tube Fuse Identification havovh Electronic Components 0 10-31-2015 01:00 PM
Simple ATmega8 fuse bit doctor vgeorgiev Microcontrollers (MCU) 2 11-08-2014 06:38 PM

All times are GMT. The time now is 08:01 AM.




Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus