← RTL Design Interviews · SoC Architecture Interviews

Interview Question · Plan Boot, Reset, and Power Transitions

Bring up a Cold Chip

L1 JuniorL3 Seniorboot reset and power

The Question

The interviewer asks

A board starts without power. The processor must fetch its loader from ROM. What has to happen before you release the processor?

Reveal the Model Answer

Wait for supply good, start the oscillator, then start the PLL once the oscillator is ready. After lock, sample the strap once. A saved zero starts at 0x0000_0000 in boot ROM. One starts at 0x8000_0000 in SRAM and needs a preloaded image. For this cold ROM boot, select zero and release the bus and ROM, wait for ROM readiness, then release the processor. Check that ROM successfully answers the reset-vector fetch.

Self-Check

Tick each key point you covered in your answer.

What Interviewers Want to Hear (Junior)

Name the responder that must be ready before the core starts.

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 waited for the PLL.

The clock is locked and the saved strap selects ROM. The ROM still reports busy. Which release can proceed?

Reveal the Model Answer

Release the bus and ROM so initialization can finish. Hold the processor until the ROM reports ready. Clock lock alone says nothing about instruction availability.

Self-Check

Tick each key point you covered in your answer.

Set the Boot Handoff Condition

A reviewer wants to save time by releasing the core earlier and shortening the image copy. What two conditions must the faster design still prove?

Reveal the Model Answer

The selected boot target must answer the first instruction fetch successfully. Before jumping, the loader must have placed the entire required image at its linked addresses. Test both boundaries from a cold start.

Self-Check

Tick each key point you covered in your answer.

I traced the first instruction.

ROM fetches succeed. The ROM loader must copy the external flash image. What bus activity should follow?

Reveal the Model Answer

Look for reads of the flash data register at 0x1000_5000 paired with SRAM writes. After the final word, expect a jump and a successful fetch at the SRAM entry address.

Self-Check

Tick each key point you covered in your answer.

Set the Boot Handoff Condition

A reviewer wants to save time by releasing the core earlier and shortening the image copy. What two conditions must the faster design still prove?

Reveal the Model Answer

The selected boot target must answer the first instruction fetch successfully. Before jumping, the loader must have placed the entire required image at its linked addresses. Test both boundaries from a cold start.

Self-Check

Tick each key point you covered in your answer.

I verified the entry fetch.

The entry word runs after either reset. A later instruction fails only after cold power-up. Which transfer would you check?

Reveal the Model Answer

Compare the last required flash word with the corresponding SRAM write before the jump. A short copy can leave a good old word after a warm restart or a debugger load.

Self-Check

Tick each key point you covered in your answer.

Set the Boot Handoff Condition

A reviewer wants to save time by releasing the core earlier and shortening the image copy. What two conditions must the faster design still prove?

Reveal the Model Answer

The selected boot target must answer the first instruction fetch successfully. Before jumping, the loader must have placed the entire required image at its linked addresses. Test both boundaries from a cold start.

Self-Check

Tick each key point you covered in your answer.

What People Get Wrong

Common wrong answers and why they fail.

Half-Truth

Seeing address zero proves the processor booted.

The ROM can return an error at the expected address.

Misconception

The loader can jump once the first program word arrives.

Later words may still contain data from an earlier run.

Source S11.2, incomplete cold image.

Learn It, Then Prove It