Pages: [1]   Go Down
Author Topic: Boot Cloner  (Read 780 times)
0 Members and 1 Guest are viewing this topic.
Madrid
Offline Offline
Full Member
***
Karma: 0
Posts: 217
¡¡ Siempre aprendiendo !!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I've tried to make a boot cloner like this one ...

http://www.arduino.cc/playground/BootCloner/BootCloner

... but it doesn't work well and I don't know why. It starts with the green led (idle) ... I push the start button  ... and it turns inmediately to red (problem). It only stays yellow (working) while I'm pressing the start button.

I've tested all the conections in the prototyping board and the are no short-circuit. The conections are like in the schematic.

Can anybody help me?

Here are you are some photos:






Thank you very much,

Igor
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 203
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you monitored the serial output while it runs? As I recall the stock boot cloner had some helpful status messages as it progressed.
Logged

Madrid
Offline Offline
Full Member
***
Karma: 0
Posts: 217
¡¡ Siempre aprendiendo !!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok. I'll try it this evening.

Thanks,

Igor
Logged

FR
Offline Offline
Full Member
***
Karma: 0
Posts: 105
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I never tried the boot-cloner.
But is it possible to use it with a Atmega8L target chip (as I can see on pictures) ?

Nicolas
Logged

Madrid
Offline Offline
Full Member
***
Karma: 0
Posts: 217
¡¡ Siempre aprendiendo !!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Sorry, I'm not an expert ... which are the differences between different models?.

I have some ATmega8 of different models ... ATmega8L-8PU, ATmega8L-8PC, ATmega8-16PI, ATmega8-16PU ... depending on the shop I've bought it.

I've read the atmega8 datasheet and I can't see the difference. Only the operating range (temperature).

Thank you for all the information,

Igor
Logged

0
Offline Offline
Faraday Member
**
Karma: 8
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The mega8L can run at lower voltages (down to 2.7V) but can only run at maximum 8MHz.  The mega8 runs up to 16MHz but requires 5V.

The other part number variations indicate commercial vs. industrial temperature ranges, Pb vs. RoHS parts, and different packages (DIP, TQFP, QFN).

Check the data sheet for the whole story.

-j
Logged

Madrid
Offline Offline
Full Member
***
Karma: 0
Posts: 217
¡¡ Siempre aprendiendo !!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok ...   smiley

The crystal in my boot cloner is of 16 MHz !!!!!.   smiley-sad

I will try with another atmega8 models.

Thanks again,

Igor
Logged

Madrid
Offline Offline
Full Member
***
Karma: 0
Posts: 217
¡¡ Siempre aprendiendo !!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Hi again,

It doesn't work with an ATmega8-16PI, neither with an ATmega8-16PU.

This is the error in the serial monitor:

Starting...

Program Enable ERROR (result 1)

Starting...

Program Enable ERROR (result 1)


Any idea??

Thanks again,

Igor
Logged

USA, Minnesota
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Based on those errors you're seeing, the target AVR isn't responding.

Ensure that the MISO/MOSI/CLK/RESET pins are connected according to the schematic.
Make sure the chip isn't plugged in backwards - that happens to me alot.
After checking those, I'd recommend removing the shield you made, removing the avr from it and testing the contacts between the chip socket pins and the wires (other pins) that plug into the arduino. (there could be a bad trace, maybe?)

Clearly though, the start button and LEDs are working, so it must be either a typo in the software (or a different Arduino IDE version) or a wire connection issue. I wrote the code with arduino 0005 for windows.

Logged

Pages: [1]   Go Up
Jump to: