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
Popopo
Hermano de Lucifer
Hermano de Lucifer
Mensajes: 3466
Registrado: 05 Nov 2019, 15:25
Has thanked: 1120 times
Been thanked: 570 times

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

Mensaje por Popopo »

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
slabbi
El infierno es su lugar
El infierno es su lugar
Mensajes: 176
Registrado: 23 Ago 2020, 22:14
Been thanked: 1 time
Contactar:

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

Mensaje por slabbi »

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
Valfac Isle of Man
Aspirante a demonio
Aspirante a demonio
Mensajes: 498
Registrado: 26 Ene 2019, 20:31
Has thanked: 10 times
Been thanked: 15 times

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

Mensaje por Valfac »

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
slabbi
El infierno es su lugar
El infierno es su lugar
Mensajes: 176
Registrado: 23 Ago 2020, 22:14
Been thanked: 1 time
Contactar:

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

Mensaje por slabbi »

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
slabbi
El infierno es su lugar
El infierno es su lugar
Mensajes: 176
Registrado: 23 Ago 2020, 22:14
Been thanked: 1 time
Contactar:

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

Mensaje por slabbi »

btw:

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

Avatar de Usuario
nandove
Aspirante a demonio
Aspirante a demonio
Mensajes: 347
Registrado: 20 Sep 2016, 17:13
Been thanked: 3 times

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

Mensaje por nandove »

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
slabbi
El infierno es su lugar
El infierno es su lugar
Mensajes: 176
Registrado: 23 Ago 2020, 22:14
Been thanked: 1 time
Contactar:

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

Mensaje por slabbi »

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
geloalex !Msx 3
Demonio segundo orden
Demonio segundo orden
Mensajes: 1393
Registrado: 19 Abr 2018, 19:21
Ubicación: Instagram: geloalex
Has thanked: 933 times
Been thanked: 485 times

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

Mensaje por geloalex »

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
SpectrumZX81,ZX48,ZX48+,ZX128+2+3CommodoreA1200,A500,C64,C64C,C16AmstradCPC464,CPC6128MSXHB20P,HB75P,HBF1,HBF1XD,SVI728,8020Atari2600Sixer,2600Jr,7800PhillipsVideopacG7000NintendoGB,GBC,GBA,NES,FAMICOM,SNES,N64PCEnginePCEngine,PCEngineDUOSegaGG,SMS,SMS2,MD1,MD2,MEGACD2,SATURN,DC,NAOMIMicrosoftXBOX360Sony PS1,PS2,PS3,PS4,PSP,PSVitaMINISNES,SNES,MD,PSX INSTAGRAM: geloalex
Avatar de Usuario
slabbi
El infierno es su lugar
El infierno es su lugar
Mensajes: 176
Registrado: 23 Ago 2020, 22:14
Been thanked: 1 time
Contactar:

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

Mensaje por slabbi »

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
cacharreo !Sinclair 1
Moderador
Moderador
Mensajes: 5580
Registrado: 09 Ago 2019, 10:17
Ubicación: /home/cacharreo/
Has thanked: 1184 times
Been thanked: 2697 times
Contactar:

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

Mensaje por cacharreo »

¿Enlace a la BOM correcta? Gracias
© cacharreo
Responder

Volver a “Proyectos de hardware generales”