← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Diagnose a Chip from Evidence

A Board That Used to Say Hello

L2 Mid-LevelL3 Seniordiagnose from evidence

The Question

The interviewer asks

The new build gives a blank console. You have the working image and can record a few signals. Which comparison would you make first?

Reveal the Model Answer

Keep the input bytes, program and stopping point fixed. Record first fetch, issued peripheral address, selected target, accepted byte and board output. The last agreement and first difference bracket a smaller fault than the console symptom alone.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Mid-Level)

Use an observation that distinguishes two causes of the same symptom.

Choose Your Follow-up

I’ve answered the opening question

Choose the route closest to your reasoning. Answer the follow-up aloud, then open the closing question.

I suspected the peripheral map.

In S11.3 trial 2 the failing build counts two GPIO writes. Trial 1 instead changes the status address from 10000004 to 10001004. Which probe separates them?

Reveal the Model Answer

Compare the issued address before decoding. A wrong address implicates the software map. A correct UART address selecting GPIO implicates decode. After repair, access both UART and GPIO. A fix that aliases them would pass a UART-only test.

Self-Check

Tick each key point you covered in your answer.

Choose a Probe for the Next Build

The board has room for one small capture. What would you save before reset recovery erases the clues?

Reveal the Model Answer

Trigger on the first failed operation. Save its address, select and readiness if failure precedes a store. If the UART accepted “hi”, capture owner and pin instead. That narrow probe costs visibility elsewhere. Preserve the control run and replay the failing case plus its neighbor.

Self-Check

Tick each key point you covered in your answer.

I never saw the store.

S11.5 trial 7 records “first fetch=00000000 ROM ready=0”. Trial 10 instead reaches 80000000 with ROM ready=1. What would you change in each?

Reveal the Model Answer

For trial 7 delay requester release until ROM is ready. For trial 10 compare the strap at sampling with the saved selection. Strap 1 starts the core at 80000000. ROM never runs, and only ROM holds this lab’s greeting. Repeat first fetch with each legal boot selection.

Self-Check

Tick each key point you covered in your answer.

Choose a Probe for the Next Build

The board has room for one small capture. What would you save before reset recovery erases the clues?

Reveal the Model Answer

Trigger on the first failed operation. Save its address, select and readiness if failure precedes a store. If the UART accepted “hi”, capture owner and pin instead. That narrow probe costs visibility elsewhere. Preserve the control run and replay the failing case plus its neighbor.

Self-Check

Tick each key point you covered in your answer.

I verified the outbound text.

S11.3 trial 3 ends “queued=3 pending[2:1]=10”. S11.5 trial 8 instead records three source events and zero serviced. How would you avoid fixing the wrong boundary?

Reveal the Model Answer

Trace the event at the device, destination sample and assigned source number together. In trial 3, queued=3 proves the bytes reached UART, whose request is pending on GPIO’s input. Restore UART to source one and test GPIO separately. In trial 8 the queue gets nothing. Hold each request until capture, then sweep phase and spacing against the receiving clock.

Self-Check

Tick each key point you covered in your answer.

Choose a Probe for the Next Build

The board has room for one small capture. What would you save before reset recovery erases the clues?

Reveal the Model Answer

Trigger on the first failed operation. Save its address, select and readiness if failure precedes a store. If the UART accepted “hi”, capture owner and pin instead. That narrow probe costs visibility elsewhere. Preserve the control run and replay the failing case plus its neighbor.

Self-Check

Tick each key point you covered in your answer.

I checked how many bytes arrived.

Trial 5 reports first three="aaa" and queued=3. Would counting only the three reads catch the fault?

Reveal the Model Answer

No. Three reads returned the first byte three times, leaving all three bytes queued. Send distinct bytes, compare their values in order and check that the queue drains after service.

Self-Check

Tick each key point you covered in your answer.

Choose a Probe for the Next Build

The board has room for one small capture. What would you save before reset recovery erases the clues?

Reveal the Model Answer

Trigger on the first failed operation. Save its address, select and readiness if failure precedes a store. If the UART accepted “hi”, capture owner and pin instead. That narrow probe costs visibility elsewhere. Preserve the control run and replay the failing case plus its neighbor.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Misconception

A blank console proves the UART never accepted data.

The pin-mux trial accepts both letters internally.

Source S11.3, trial 4.

Misconception

I would repeatedly read the receive queue.

Each destructive read changes what remains to diagnose.

Source S11.3, mistake 3.

Learn It, Then Prove It