Chip Tester de 8bit-museum.de - Reloaded

Proyectos que no sean de hardware abierto o que no incluyan el código abierto

Moderador: Fundadores

Reglas del Foro
Aquí se puede hablar de proyectos de hardware que no tenga sus esquematicos, o si llevan software que este no disponga del código fuente.
Responder
Avatar de Usuario
España Popopo
Demonio segundo orden
Demonio segundo orden
Mensajes: 1366
Registrado: 05 Nov 2019, 15:25
Has thanked: 1539 times
Been thanked: 115 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por Popopo » 13 Sep 2020, 12:31

geloalex escribió:
12 Sep 2020, 21:07
Very good job Slabbi :|
there are some photos that i cant see can you revise them?
I can see all of them... have you tried to click on them to open it?

Avatar de Usuario
Germany slabbi
Le gustan las llamas
Le gustan las llamas
Mensajes: 95
Registrado: 23 Ago 2020, 22:14
Has thanked: 1 time
Been thanked: 84 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por slabbi » 13 Sep 2020, 15:07

The next firmware release will contain a function to readout PALs (not all, there are some limitation and you have to analyze the result manually):

Imagen

Avatar de Usuario
España Valfac
Aspirante a demonio
Aspirante a demonio
Mensajes: 330
Registrado: 26 Ene 2019, 20:31
Has thanked: 64 times
Been thanked: 74 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por Valfac » 13 Sep 2020, 20:44

Great!

The chip tester has become increasingly multi-faceted and more powerful :)
slabbi escribió:
13 Sep 2020, 15:07
The next firmware release will contain a function to readout PALs (not all, there are some limitation and you have to analyze the result manually):

Imagen

Avatar de Usuario
Germany slabbi
Le gustan las llamas
Le gustan las llamas
Mensajes: 95
Registrado: 23 Ago 2020, 22:14
Has thanked: 1 time
Been thanked: 84 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por slabbi » 19 Sep 2020, 09:21

A small warning for users who ignore warnings and use an USBASP with an ATmega chip.

Since some users wanted to use an USBASP to flash the firmware, here is a warning:
Don't try without having some experience to recover an ATmega chip.

1. The USBASP with the original firmware has a bug that does not allow to flash >128 kb.
See this posting: https://forum.arduino.cc/index.php?topic=363772.0

2. The USBASP is very unreliable. When something went wrong during step 1 (setting the fuses) or step 2 (flashing the firmware), in the worst case you cannot longer talk to the ATmega (doesn't matter what programmer you have).

I know that even when I give a warning in the manual, some people will still try (and some will have success), other might run into troubles.

To make it clear: When you have a patched USBASP flashing works in most(?) of the cases and even when the flash is interrupted no problems should occur. But when you are unlucky you run in the above described problem.


Here is a method how to recover the chip (this procedure will be also explained in the next manual update):

Basically, two types of errors are possible:
  • By setting the fuses, the internal 1MHz clock is switched to the external crystal. If the ATmega2560 can no longer be addressed immediately afterwards, the crystal or one of the 22pF capacitors may be defective.
  • If you started to flash the firmware after setting the fuses, then an error occurred and afterwards communication with the ATmega2560 is no longer possible, the fuses may have been affected.
If the AVRDUDE error message "initialization failed, rc=-1, double check connections..." appears: First of all, don't panic! It is almost impossible to lock yourself out of your ATmega2560 by software.

Presumably the fuses are in a state that the external crystal is not used and the internal 1 MHz are not available either (e.g. if all fuses have been deleted and an external clock is required), i.e. the chip lacks the clock source.
You can set the fuses again quite easily: All you have to do is apply a clock source to pin 34 (XTAL1) of the ATmega2560. It sounds more complicated than it is.
First you need a clock source. Here you can use an Arduino Uno or Mega, which you program with the following program:

Código: Seleccionar todo

#include <avr/io.h>

void setup() { }

void loop() {
    DDRB = 0xFF;
    while(1) {
        PORTB ^= 0xFF;
    }
}
This program generates a clock on pins 8 to 13 on the Arduino UNO and pins 10-13, 50-52 on the Arduino MEGA. If this program is loaded into the Arduino, the LED connected to pin 13 lights up only very weakly due to the constant on/off processes.

Now you connect pin 13 to XTAL1. The right leg of the 1 MOhm resistor below the crystal is ideal here. The connection must not have any wobbles and must not come into contact with the crystal.

Usually the crystal does not have to be unsoldered because the 5V clock of the Arduino is much stronger than the weak signal of the crystal. However, the firmware should not be fully programmed in this way, but rather the fuses should only be correctly programmed "quickly" so that the programming process can take place again without the external clock (with the existing crystal).

Once this connection has been established and the ISP programmer is connected, you can now try again to set the fuses (the programmer and port must be adjusted accordingly):

Código: Seleccionar todo

avrdude.exe -C"avrdude.conf" -B 4 -patmega2560 -cstk500 -PCOM5 -U lfuse:w:0xff:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
This process does not necessarily work the first time it is called, repeat it several times if necessary. Possibly, the crystal must also be removed.
If the fuses could now be set correctly, the firmware can be programmed.

Avatar de Usuario
Germany slabbi
Le gustan las llamas
Le gustan las llamas
Mensajes: 95
Registrado: 23 Ago 2020, 22:14
Has thanked: 1 time
Been thanked: 84 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por slabbi » 19 Sep 2020, 09:31

btw:

Noel's Retro Lab (one of my favorite channels) had a Chip Tester in his mail bag ;)


Avatar de Usuario
China nandove
Aspirante a demonio
Aspirante a demonio
Mensajes: 280
Registrado: 20 Sep 2016, 17:13
Has thanked: 62 times
Been thanked: 25 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por nandove » 19 Sep 2020, 12:46

Aviso a los que los estan montado, el manual tiene fotos de la rev.1.2 y el bom es de la 1.2, en cambio nuestras placas son de la 1.2c y ya me he dado cuenta que hay una sutil diferencia, hay resistencias que en el antiguo bom eran de 1k y ahora son de 470 son las de la fila de resistencias y transistores que estan justo encima del switch de reset.

Si encontrais algun cambio mas avisad para tener todos los cambios de una sola vez y aviar a slabbi que actualice el bom del proyecto :D

Avatar de Usuario
Germany slabbi
Le gustan las llamas
Le gustan las llamas
Mensajes: 95
Registrado: 23 Ago 2020, 22:14
Has thanked: 1 time
Been thanked: 84 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por slabbi » 19 Sep 2020, 13:43

Careful: The picture on the manual is quite old. It shows a first release of 1.2.
I have not taken a new one (ok, now I will do *g*).

The BOM "ibom 12c.html" is correct. It is created directly from the design. And also the manual contains the correct BOM. 470 Ohm is the correct value!


Update:
The new picture of Rev.1.2c

Imagen

Avatar de Usuario
España_Galicia geloalex
Demonio tercer orden
Demonio tercer orden
Mensajes: 512
Registrado: 19 Abr 2018, 19:21
Has thanked: 77 times
Been thanked: 124 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por geloalex » 19 Sep 2020, 15:11

nandove escribió:
19 Sep 2020, 12:46
Aviso a los que los estan montado, el manual tiene fotos de la rev.1.2 y el bom es de la 1.2, en cambio nuestras placas son de la 1.2c y ya me he dado cuenta que hay una sutil diferencia, hay resistencias que en el antiguo bom eran de 1k y ahora son de 470 son las de la fila de resistencias y transistores que estan justo encima del switch de reset.

Si encontrais algun cambio mas avisad para tener todos los cambios de una sola vez y aviar a slabbi que actualice el bom del proyecto :D
Gracias por avisar ,yo los estoy montando segun el Bom de la 12c no obstante, lo acabo de comprobar y lo tengo correctamente montado ,además de que la placa pone el valor serigrafiado de todos los componentes.
Un saludo
SpectrumZX48,ZX48+,ZX128+2CommodoreA500,C64AmstradCPC464,CPC6128 MSXHB20P,HBF1XD,SVI728 Atari2600Sixer,2600Jr,7800 PhillipsVideopac G7000 NintendoGAMEBOY,NES,SNES,N64,GBASegaGAMEGEAR,SMS,SMS2,MD1,MD2,MEGACD2,SATURN,DCMicrosoftXBOX360Sony PSX,PS2,PS3,PS4,PSP,PSVitaMINISNES,SNES,MD,PSX

Avatar de Usuario
Germany slabbi
Le gustan las llamas
Le gustan las llamas
Mensajes: 95
Registrado: 23 Ago 2020, 22:14
Has thanked: 1 time
Been thanked: 84 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por slabbi » 19 Sep 2020, 16:26

Sí, me aseguré de que todos los valores estén impresos en la pizarra. No me gusta mirar una lista de componentes por mí mismo, simplemente me detiene. :-]

This was Google :)

Avatar de Usuario
España cacharreo
Aspirante a demonio
Aspirante a demonio
Mensajes: 252
Registrado: 09 Ago 2019, 10:17
Has thanked: 122 times
Been thanked: 77 times
Contactar:

Re: Chip Tester de 8bit-museum.de - Reloaded

Mensaje por cacharreo » 19 Sep 2020, 17:10

¿Enlace a la BOM correcta? Gracias

Responder

Volver a “Proyectos de hardware generales”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado