Il tester ti dice quanta tensione c'è, l'oscilloscopio ti fa vedere come cambia nel tempo. È lo strumento che separa un clock sano da uno che arriva a metà, una linea dati viva da una che fluttua, una RAM che risponde da una morta. Questa guida parte da zero: sonda, comandi, trigger e poi le forme d'onda giuste e sbagliate di un Commodore 64 e di un Amiga. Il simulatore a due canali qui sotto ha i comandi di un oscilloscopio vero: puoi sbagliare quanto vuoi e provare gli esercizi "trova il guasto".
A multimeter tells you how much voltage there is; an oscilloscope shows you how it changes over time. It is the tool that tells a healthy clock from one that only gets halfway, a live data line from a floating one, a working RAM from a dead one. This guide starts from scratch: probe, controls, trigger, then the right and wrong waveforms of a Commodore 64 and an Amiga. The two-channel simulator below has the controls of a real scope: make as many mistakes as you like and try the "find the fault" exercises.
La massa della sonda è collegata alla terra della presa di corrente. Mai agganciarla al primario di un alimentatore switching o al telaio di un monitor a tubo senza trasformatore di isolamento: è un corto circuito verso terra. Leggi la sezione sicurezza prima di misurare dentro un alimentatore o un monitor.
The probe ground is tied to mains earth. Never clip it to the primary side of a switching supply or to the chassis of a CRT monitor without an isolation transformer: that is a short circuit to earth. Read the safety section before measuring inside a power supply or a monitor.
Canale 1 in giallo, canale 2 in azzurro. Le frecce a sinistra segnano lo zero di ogni canale, la freccia arancione a destra il livello del trigger e quella in alto il punto del trigger. Si parte dal calibratore con una sonda da tarare: prova a girare la compensazione finché l'onda quadra ha gli spigoli dritti.
Channel 1 in yellow, channel 2 in cyan. The arrows on the left mark each channel's zero, the orange arrow on the right the trigger level and the one at the top the trigger point. You start on the calibrator with a probe that needs adjusting: turn the compensation until the square wave has straight corners.
Ogni esercizio imposta il simulatore su una scheda con un problema e nasconde il nome del segnale. Regola i comandi finché vedi bene, poi scegli la risposta.
Each exercise sets the simulator up on a board with a problem and hides the signal name. Adjust the controls until you can see clearly, then pick an answer.
⚠ Sonda e canale non coincidono: le tensioni lette sono sbagliate di 10 volte.⚠ Probe and channel don't match: readings are off by a factor of 10.
⚠ Sonda e canale non coincidono: le tensioni lette sono sbagliate di 10 volte.⚠ Probe and channel don't match: readings are off by a factor of 10.
Lo schermo è una griglia di 10 divisioni in orizzontale (il tempo) e 8 in verticale (la tensione). Tutti i comandi principali dicono quanto vale una divisione:
The screen is a grid of 10 horizontal divisions (time) and 8 vertical ones (voltage). Every main control sets what one division is worth:
| ComandoControl | Cosa faWhat it does | EsempioExample |
|---|---|---|
| Volt/div | Quanti volt vale ogni quadretto in verticale.How many volts each square is worth vertically. | Un segnale TTL da 0 a 5 V a 1 V/div occupa 5 quadretti.A 0–5 V TTL signal at 1 V/div spans 5 squares. |
| Tempo/divTime/div | Quanto tempo vale ogni quadretto in orizzontale. Tutto lo schermo vale 10 volte tanto.How much time each square is worth horizontally. The whole screen is 10 times that. | A 500 ns/div lo schermo copre 5 µs: circa 5 cicli del Φ2 di un C64.At 500 ns/div the screen covers 5 µs: about 5 cycles of a C64's Φ2. |
| Posizione verticaleVertical position | Sposta su e giù lo zero di un canale (la freccia a sinistra).Moves a channel's zero (the left-hand arrow) up and down. | Con due canali metti uno in alto e uno in basso.With two channels, put one at the top and one at the bottom. |
| Posizione orizzontaleHorizontal position | Sposta il punto del trigger: vedi più "prima" o più "dopo" l'evento.Moves the trigger point: shows more "before" or more "after" the event. | Utile per guardare cosa succede prima di un glitch.Handy to see what happens just before a glitch. |
| DC | Mostra il segnale com'è, continua compresa.Shows the signal as it is, DC included. | È la scelta giusta per i segnali logici: vedi se lo 0 è davvero vicino a 0 V.The right choice for logic signals: you see whether a 0 is really near 0 V. |
| AC | Toglie la componente continua con un condensatore: resta solo la parte che varia.Blocks the DC part with a capacitor: only the varying part is left. | Per vedere 30 mV di ripple su un +5 V, o l'audio del SID che sta su qualche volt di continua.To see 30 mV of ripple on a +5 V rail, or SID audio sitting on a few volts of DC. |
| GND | Scollega l'ingresso e mostra lo zero.Disconnects the input and shows zero. | Serve per allineare lo zero a una riga della griglia.Used to line zero up with a grid line. |
Le sonde in dotazione hanno quasi sempre un interruttore 1x / 10x. In 10x la sonda divide la tensione per 10 e presenta al circuito circa 10 MΩ e pochi pF: disturba poco e passa tutta la banda dell'oscilloscopio. In 1x il circuito vede il cavo e l'ingresso dello strumento (decine di pF in più) e la banda scende a pochi MHz, spesso tra 6 e 35 MHz secondo il modello: un dot clock a 7,88 MHz diventa una specie di sinusoide.
The probes that come with a scope almost always have a 1x / 10x switch. In 10x the probe divides the voltage by 10 and loads the circuit with about 10 MΩ and a few pF: it barely disturbs it and passes the scope's full bandwidth. In 1x the circuit sees the cable and the scope input (tens of pF more) and bandwidth drops to a few MHz, often 6 to 35 MHz depending on the model: a 7.88 MHz dot clock turns into something like a sine wave.
Una sonda 10x contiene un partitore con un piccolo condensatore regolabile che va adattato all'ingresso del tuo oscilloscopio. Si fa una volta per ogni sonda e per ogni canale: aggancia la sonda all'uscita del calibratore sul pannello (un'onda quadra a 1 kHz di qualche volt), metti circa 200 µs/div e gira il trimmer con il cacciavite di plastica finché gli spigoli sono dritti. Una sonda sovracompensata aggiunge punte su ogni fronte, una sottocompensata li arrotonda: in entrambi i casi misuri male ampiezze e tempi di salita.
A 10x probe contains a divider with a small adjustable capacitor that has to be matched to your scope input. You do it once per probe and per channel: hook the probe to the calibrator output on the front panel (a 1 kHz square wave of a few volts), set about 200 µs/div and turn the trimmer with the plastic screwdriver until the corners are square. An over-compensated probe adds spikes on every edge, an under-compensated one rounds them: either way, amplitudes and rise times come out wrong.
Il filo di massa con il coccodrillo è lungo 10–15 cm: è un'induttanza che, insieme alla capacità della sonda, forma un circuito risonante. Su ogni fronte veloce compaiono oscillazioni smorzate che nel circuito non esistono. Per i clock e i bus usa la mollettina di massa che si infila sulla punta, o un filo cortissimo verso il piedino GND più vicino. Il coccodrillo lungo va bene per segnali lenti: alimentazioni, audio, reset.
The ground lead with its alligator clip is 10–15 cm long: it is an inductance that, with the probe capacitance, makes a resonant circuit. Every fast edge then shows damped ringing that isn't really in the circuit. For clocks and buses use the ground spring that slips over the probe tip, or a very short wire to the nearest GND pin. The long clip lead is fine for slow signals: supplies, audio, reset.
La banda (in MHz) dice fino a che frequenza l'oscilloscopio misura senza attenuare. Un'onda quadra è fatta della sua frequenza più le armoniche dispari: per vederla ancora quadra serve almeno la 5ª armonica, quindi una banda di 5 volte la frequenza. Il tempo di salita più veloce che lo strumento riesce a mostrare è circa 0,35 / banda: 7 ns con 50 MHz, 3,5 ns con 100 MHz.
Bandwidth (in MHz) is the highest frequency the scope measures without attenuating it. A square wave is its frequency plus the odd harmonics: to still see it square you need at least the 5th harmonic, so a bandwidth of 5 times the frequency. The fastest rise time the scope can show is about 0.35 / bandwidth: 7 ns at 50 MHz, 3.5 ns at 100 MHz.
| SegnaleSignal | PAL | NTSC | Banda consigliataSuggested bandwidth |
|---|---|---|---|
| C64 Φ2 (clock della CPU)(CPU clock) | 0,985248 MHz | 1,022727 MHz | 20 MHz bastano20 MHz is enough |
| C64 dot clock (8 × Φ2, pixel del VIC-II)(8 × Φ2, VIC-II pixels) | 7,881984 MHz | 8,181818 MHz | 50 MHz o più50 MHz or more |
| C64 quarzo coloreC64 colour crystal | 17,734475 MHz | 14,31818 MHz | 100 MHz |
| Amiga clock CPUAmiga CPU clock (68000) | 7,09379 MHz | 7,15909 MHz | 50 MHz o più50 MHz or more |
| Amiga quarzoAmiga crystal | 28,37516 MHz | 28,63636 MHz | 100–200 MHz |
| Riga videoVideo line | 64 µs (C64: 63 cicli = 63,94 µs)64 µs (C64: 63 cycles = 63.94 µs) | 63,5 µs (C64: 65 cicli)63.5 µs (C64: 65 cycles) | 20 MHz bastano20 MHz is enough |
Per un C64 e un Amiga un oscilloscopio da 50–100 MHz a due canali va benissimo. Più della banda conta usarlo bene: sonda in 10x compensata, massa corta, trigger giusto.
For a C64 and an Amiga a two-channel 50–100 MHz scope is plenty. Using it well matters more than bandwidth: a compensated 10x probe, a short ground, the right trigger.
Un segnale da 1 MHz si ripete un milione di volte al secondo. Lo schermo invece si aggiorna qualche decina di volte al secondo: se ogni immagine partisse in un punto a caso del segnale, vedresti le onde scorrere e sovrapporsi. Il trigger fa partire ogni acquisizione nello stesso punto: quando il segnale attraversa il livello scelto nel verso scelto (salita o discesa). Così tutte le immagini combaciano e la traccia sta ferma.
A 1 MHz signal repeats a million times a second. The screen only refreshes a few dozen times a second: if each picture started at a random point of the signal, you would see waves drifting and overlapping. The trigger starts every acquisition at the same point: when the signal crosses the chosen level in the chosen direction (rising or falling). All the pictures then line up and the trace stands still.
| ModalitàMode | Cosa faWhat it does | Quando usarlaWhen to use it |
|---|---|---|
| AUTO | Se il trigger scatta mostra l'immagine agganciata; se non scatta entro poco disegna lo stesso, senza aggancio.If the trigger fires it shows a locked picture; if not, it draws anyway after a short wait, unlocked. | Per cominciare: vedi sempre qualcosa, anche una linea ferma a 0 V.To get started: you always see something, even a line stuck at 0 V. |
| NORMAL | Disegna solo quando il trigger scatta; altrimenti tiene sullo schermo l'ultima immagine.Draws only when the trigger fires; otherwise it keeps the last picture on screen. | Per eventi rari o irregolari: l'immagine non viene coperta da tracce senza aggancio.For rare or irregular events: the picture is not overwritten by unlocked traces. |
| SINGLE | Aspetta il primo trigger, acquisisce una volta e si ferma (STOP).Waits for the first trigger, captures once and stops (STOP). | Per catturare un evento unico: l'accensione, un reset, un glitch che capita una volta ogni tanto.To catch a one-off event: power-on, a reset, a glitch that happens once in a while. |
Alcuni segnali sono fatti di raffiche: qualche impulso, una pausa, di nuovo qualche impulso. Ogni impulso della raffica soddisfa il trigger, quindi l'oscilloscopio si aggancia a volte al primo, a volte al terzo: le immagini non combaciano. L'holdoff dice allo strumento di ignorare i trigger per un certo tempo dopo l'ultimo valido. Se lo imposti più lungo della raffica e più corto della pausa, il trigger cade sempre sul primo impulso e l'immagine si ferma.
Some signals come in bursts: a few pulses, a gap, a few pulses again. Every pulse in the burst satisfies the trigger, so the scope locks sometimes on the first, sometimes on the third: the pictures don't line up. Holdoff tells the scope to ignore triggers for a set time after the last valid one. Set it longer than the burst and shorter than the gap and the trigger always lands on the first pulse: the picture stands still.
Una linea dati cambia in modo diverso a ogni ciclo: se fai trigger su di lei, ogni immagine è diversa e vedi solo un groviglio. Il trucco è mettere il secondo canale sul clock (Φ2 sul C64, o /RAS per le RAM) e prendere il trigger da quel canale. Il clock è perfettamente regolare, quindi l'asse dei tempi sta fermo, e sulla linea dati vedi le commutazioni sempre allo stesso punto del ciclo, con lo 0 e l'1 sovrapposti: si vede subito se i livelli sono buoni e se arrivano in tempo.
A data line changes differently on every cycle: trigger on it and each picture is different, so all you see is a tangle. The trick is to put the second channel on the clock (Φ2 on a C64, or /RAS for the RAMs) and take the trigger from that channel. The clock is perfectly regular, so the time axis stands still, and on the data line you see the transitions always at the same point of the cycle, with 0 and 1 overlaid: you can tell at once whether levels are good and on time.
Per i livelli logici TTL ricorda due soglie: un ingresso legge 0 sotto 0,8 V e 1 sopra 2 V. In mezzo c'è la zona proibita: un segnale che ci resta è un guasto. Le uscite sane danno meno di 0,4–0,5 V per lo 0 e più di 2,4–2,7 V per l'1. Gli esempi sono di un C64 PAL; le forme di /RAS e /CAS sono indicative, controlla i tempi esatti sullo schema della tua scheda.
For TTL logic levels remember two thresholds: an input reads 0 below 0.8 V and 1 above 2 V. In between is the forbidden zone: a signal that stays there is a fault. Healthy outputs give less than 0.4–0.5 V for a 0 and more than 2.4–2.7 V for a 1. Examples are from a PAL C64; the /RAS and /CAS shapes are indicative, check exact timings on your board's schematic.
Una linea bloccata a 1 sta sopra i 4 V con solo piccoli disturbi: può essere in corto con il +5 V o tenuta alta da un chip guasto (▶ prova). Per trovare il colpevole confronta la linea con le altre del bus: in un bus sano si assomigliano tutte.
A line stuck at 1 sits above 4 V with only small glitches: it can be shorted to +5 V or held high by a faulty chip (▶ try it). To find the culprit compare it with the other bus lines: on a healthy bus they all look alike.
Nel C64 le otto 4164 (64K × 1 bit) sono comandate dal VIC-II, che genera /RAS e /CAS (piedini 18 e 19). In ogni ciclo di Φ2 ci sono due accessi: con Φ2 basso legge il VIC-II, con Φ2 alto la CPU. Quindi /RAS scende due volte per ciclo, e /CAS lo segue poco dopo. Il /CAS che arriva alle RAM passa dalla PLA (segnale CASRAM): quando la CPU legge ROM o I/O manca. Sulle RAM: /RAS piedino 4, /CAS piedino 15, ingresso D piedino 2, uscita Q piedino 14.
In the C64 the eight 4164s (64K × 1 bit) are driven by the VIC-II, which makes /RAS and /CAS (pins 18 and 19). Each Φ2 cycle has two accesses: the VIC-II reads while Φ2 is low, the CPU while it is high. So /RAS falls twice per cycle and /CAS follows shortly after. The /CAS reaching the RAMs goes through the PLA (the CASRAM signal): it is missing when the CPU reads ROM or I/O. On the RAMs: /RAS pin 4, /CAS pin 15, D input pin 2, Q output pin 14.
All'accensione il circuito di reset (nel C64 un timer 556) tiene /RESET basso per una frazione di secondo, finché l'alimentazione è stabile, poi lo porta a 5 V e lo lascia lì. Si misura sul piedino 40 del 6510 con una base dei tempi lenta (100 ms/div), trigger NORMAL o SINGLE sul fronte di salita, poi spegni e riaccendi. Se resta basso la CPU non parte mai: schermo nero.
At power-on the reset circuit (a 556 timer in the C64) holds /RESET low for a fraction of a second, until the supply is stable, then takes it to 5 V and leaves it there. Measure it on pin 40 of the 6510 with a slow timebase (100 ms/div), NORMAL or SINGLE trigger on the rising edge, then power-cycle. If it stays low the CPU never starts: black screen.
Con il monitor collegato (75 Ω di carico) una riga PAL dura 64 µs (il VIC-II 6569 fa 63 cicli, 63,94 µs). Comincia con l'impulso di sincronismo da 0 V, lungo circa 4,7 µs, poi il livello del nero a 0,3 V con il burst di colore a 4,43 MHz, poi l'immagine fino a circa 1 V per il bianco. Trigger sul fronte di discesa del sincronismo, livello a 0,15 V. Senza carico le ampiezze raddoppiano.
With the monitor connected (75 Ω load) a PAL line lasts 64 µs (the 6569 VIC-II does 63 cycles, 63.94 µs). It starts with the sync pulse at 0 V, about 4.7 µs long, then black level at 0.3 V with the 4.43 MHz colour burst, then the picture up to about 1 V for white. Trigger on the falling edge of sync, level 0.15 V. Without a load, amplitudes double.
L'uscita audio del SID (piedino 27) porta il suono sopra una tensione continua di alcuni volt. In DC a 2 V/div vedi una riga spessa in alto; passa in AC a 0,2 V/div e appare la forma d'onda. Un SID muto mostra solo la continua: confronta con il segnale all'uscita audio della presa A/V per capire se il problema è nel SID o dopo.
The SID audio output (pin 27) carries the sound on top of a few volts of DC. In DC at 2 V/div you see a thick line near the top; switch to AC at 0.2 V/div and the waveform appears. A silent SID shows only DC: compare with the audio pin of the A/V socket to tell whether the problem is in the SID or after it.
Uno schermo nero vuol dire solo "la CPU non arriva a disegnare la schermata di avvio". Con l'oscilloscopio si va in ordine, dalla base verso l'alto: ogni misura esclude un blocco intero.
Una cartuccia di diagnostica (Dead Test) aiuta molto, ma funziona solo se reset, clock e bus sono almeno vivi: è proprio quello che verifichi con questi passi.
A black screen only means "the CPU never gets to draw the start-up screen". With the scope you go in order, from the bottom up: every measurement rules out a whole block.
A diagnostic cartridge (Dead Test) helps a lot, but only works if reset, clock and bus are at least alive: exactly what these steps check.
Il coccodrillo di massa della sonda è collegato, attraverso l'oscilloscopio, al filo di terra della presa. Se lo agganci a un punto che non è a potenziale di terra crei un corto circuito attraverso la sonda: scintille, piste bruciate, sonda e oscilloscopio danneggiati, e rischio per te.
Mai collegare la massa della sonda al primario di un alimentatore switching (la parte dopo il ponte raddrizzatore e il condensatore grosso è a tensione di rete raddrizzata, oltre 300 V) né al telaio di un monitor a tubo o di un televisore che non ha un trasformatore di isolamento: molti monitor arcade e TV hanno il telaio "caldo".
The probe's ground clip is connected, through the scope, to the mains earth wire. Clip it to a point that isn't at earth potential and you create a short circuit through the probe: sparks, burnt traces, a damaged probe and scope, and danger to you.
Never connect the probe ground to the primary side of a switching supply (everything after the bridge rectifier and the big capacitor sits at rectified mains, over 300 V) or to the chassis of a CRT monitor or TV without an isolation transformer: many arcade monitors and TVs have a "hot" chassis.
Frequenze verificate: C64 PAL con quarzo colore da 17,734475 MHz, Φ2 = quarzo / 18 = 0,985248 MHz e dot clock = 8 × Φ2 (C64 Wiki, articolo sul VIC-II di Christian Bauer); Amiga PAL 28,37516 MHz / 4 = 7,09379 MHz, NTSC 7,15909 MHz (Amiga Hardware Reference Manual). Piedinature di 6510, 6569, 6581, 8701 e 4164 come nella pagina Pinout chip. Le forme d'onda del simulatore sono modelli semplificati per imparare: confronta sempre con lo schema della tua scheda. Vedi anche Alimentatori e Connettori video.
Frequencies checked: PAL C64 with a 17.734475 MHz colour crystal, Φ2 = crystal / 18 = 0.985248 MHz and dot clock = 8 × Φ2 (C64 Wiki, Christian Bauer's VIC-II article); PAL Amiga 28.37516 MHz / 4 = 7.09379 MHz, NTSC 7.15909 MHz (Amiga Hardware Reference Manual). Pinouts of the 6510, 6569, 6581, 8701 and 4164 as on the Chip pinouts page. The simulator waveforms are simplified models for learning: always compare with your board's schematic. See also Power supplies and Video connectors.