TDEB Top Bar

Trending
Semiconductor Industry News — The Digital Electronics Blog
Follow Us

TDEB Masthead

The Semiconductor Hub

Semiconductors.  Chips and Systems.  Innovation.

Indexed by leading Search Engines, AI and referenced by Engineers worldwide 500+ Articles 10M+ Pageviews 30+ Reports 50+ Citations

First Silicon Back, Part 10: Reset and Boot, When the Chip Powers Up but Will Not Start

The Semiconductor Hub
by
0
Share Facebook X LinkedIn WhatsApp Email
Terminal-style boot timeline showing oscillator start, reset release margin, boot ROM flash timeouts, the first UART character time and a baud error from a wrong reference.

The rails are good and the PLL locks, or at least the reference clock is running. You release reset and wait for the first message on the serial port. Nothing comes. This is one of the most common first-silicon moments: a chip that is powered, clocked and apparently healthy, but will not start. The cause can sit anywhere between the reset pin and the first instruction of software, and the way through is to check each step of the start-up chain in order.

This is Part 10 of First Silicon Back. Part 9 covered getting the clock running. Today: what happens between power-good and the first instruction, how to tell which step failed, and a triage flow for a chip that powers up but will not boot.

Key takeaways

  • Start-up is a chain: supplies valid, clock stable, reset released, straps latched, boot ROM runs, boot source read, code handed over. Find the first broken link.
  • Reset release timing matters. Releasing reset before the clock is stable can leave parts of the chip stuck.
  • Boot mode straps are sampled once, at a defined moment. What matters is their level at that moment, not later.
  • Use the simplest boot path first, usually a serial or no-boot debug mode, before flash or complex media.
  • Write down timings. Many boot failures are a timeout or a window you did not know about.

In this post

The start-up chain

Between power-on and running software, a typical SoC goes through these steps:

  1. All supplies reach their valid range.
  2. The reference oscillator starts and settles.
  3. Power-on reset is released.
  4. Boot mode straps are latched.
  5. A boot ROM, built into the chip, starts running.
  6. The ROM reads the boot source the straps selected: flash, serial port, or a debug wait mode.
  7. The ROM loads the next stage of code and jumps to it.

Any step can fail, and from the outside most failures look the same: no output. The work is to find signals that show how far the chip got. In the Hub lifecycle this belongs to the Bring-up and Silicon Validation stage.

Reset: release it at the right time

A reset that is released too early is a classic first-silicon problem. TI's AM62x board design guide notes that the data sheet gives a startup delay so the clock can start and stabilize before the cold reset input is released (Processor Clocking). Its reset section describes separate cold and warm reset inputs, reset status outputs, and a pulldown near one output to hold attached devices in reset during supply ramp (Processor Reset).

Inside the chip, reset is usually applied at once but released in step with a clock. That design choice has a bench consequence: if the clock is not running when reset is released, the logic that should leave reset may not. A chip that starts when reset is pressed a second time, a few seconds after power-up, is pointing at this.

Reset status outputs are your friends. If the chip drives a pin to say it has left reset, put a scope on it alongside the supplies, the clock and the reset input. Four channels on one trigger show the order of events in a way no register read can.

Boot straps: sampled once

Boot mode pins are read once, at a defined moment, then often reused for other functions. On the AM62x, TI says the boot mode inputs are latched at the rising edge of a reset status output, after which the pins can be used for their other functions (Latching of Processor Boot Mode Configuration Inputs).

Other chips do it differently. TI's AM26x bring-up note explains that the boot mode pins are sampled after an internal supply-good signal, that no device pin shows the sampling moment, and that you can watch an internal analog supply ramp to locate it (SOP Boot Mode Latch Timing). The lesson for your own chip: know exactly when straps are sampled, and measure their levels at that moment. A strap that reads correctly on a meter a second later can still have been wrong when it mattered, for example if another device on the board drives the same pin during reset.

The boot ROM and the boot source

The boot ROM is the first code to run, and on first silicon it is also first-silicon code: it may have bugs, and it depends on clocks, memories and pins that are being exercised for the first time. Most ROMs try a boot source, wait for a timeout, and may then try a fallback. If you do not know the timeouts, you can easily look at the wrong pin at the wrong time.

Many ROMs give a sign of life on a serial port. TI's AM26x note, for example, says that with the device in UART boot mode and a terminal at 115200 baud, 8 data bits, no parity and 1 stop bit, the character "C" prints to the console after power-on reset; if it does not, check the baud rate and boot mode and reset again (Configure Host PC for UART Boot Validation). Find out what your own ROM prints, and in which mode, before power-on day.

Take the simplest path first

Do not start with boot from flash. Start with the mode that needs the least: a serial boot mode, or a mode where the chip waits for the debugger. TI's board design guide recommends planning for development boot modes such as UART boot and a no-boot mode for JTAG debug (Configuring the Boot Mode). If the chip starts in the simplest mode, the core, ROM and basic clocks work, and the problem is in the boot source. If it does not start even there, the problem is earlier in the chain.

When even the simplest mode stays silent, the next way in is the debug port, usually built on the IEEE 1149.1 test access port (IEEE 1149.1 working group). It lets you ask the chip questions without any software running. That is the subject of Part 11.

Deep dive: the numbers and details

This part holds a boot timeline with arithmetic, a triage flow, the red flags and a checklist. Skip it if the overview is all you need.

Worked example: an illustrative boot timeline

All values below are illustrative. Time zero is the moment the last supply is valid.

EventTime from supplies validRule
Oscillator stable3 ms (measured)Chip specification: at least 5 ms between supplies valid and reset release
Reset released by supervisor10 msMargin over the 5 ms rule: 10 minus 5 = 5 ms
Straps latched10 msStraps must be stable from 1 ms before to 1 ms after reset release
Boot ROM tries SPI flash10 to 160 ms3 attempts x 50 ms timeout = 150 ms
Falls back to UART, prints first character160 ms10 + 150 = 160 ms

Two things follow. First, the reset margin is fine on paper, but check it on every board revision; a supervisor with a 2 ms delay would break the 5 ms rule by 3 ms. Second, if the flash is blank or unreadable, nothing appears on the serial port for 160 ms. A script that opens the terminal after power-up and gives up after 100 ms would report a dead chip that is actually working.

Clock errors show up here too. If the reference were 24 MHz instead of 25 MHz, as in Part 9, a UART that should run at 115,200 baud would run at 115,200 x 24 / 25 = 110,592 baud, 4 percent slow. The terminal would show garbage, not silence. Garbage on the console usually means the chip is running and the clock is wrong.

An illustrative boot-failure triage flow

Go down the table and stop at the first "no". The flow is illustrative; adapt it to your chip's start-up chain.

StepQuestionHow to checkIf no
1Are all rails valid at the chip?Meter or scope at chip test pointsBack to power-on (Part 8)
2Is the reference clock running before reset release?Scope reference and reset on one triggerLengthen reset delay; back to clocks (Part 9)
3Does the reset status output change?Scope on status pinReset logic or internal clock; try a second reset after power is stable
4Were straps right at the sampling moment?Scope straps across reset releaseCheck other drivers on strap pins; set by switch
5Does the chip start in the simplest boot mode?Serial boot or debug wait modeCore, ROM or internal memory; go to debug access (Part 11)
6Does the serial port print, and is it readable?Terminal open before reset, watched long enoughSilence: earlier step; garbage: clock or baud
7Does boot from the target source work?Flash with a known-good imageBoot source, pins or timing; compare with step 5

An illustrative log from four parts: parts 1 and 2 pass every step. Part 3 fails step 3 on cold start but passes after a second reset, which points at reset release timing. Part 4 passes steps 1 to 5 and fails step 7, which points at the flash interface, not the core. Two different faults, found in an afternoon, because the flow forced one question at a time.

Red flags table

What you seeLikely meaningWhat to do
Starts only after a second resetReset released before clock or supplies were stableMeasure reset delay against the specification; lengthen it
Boot mode differs from the switch settingStrap driven by another device during resetScope the strap at the sampling moment; isolate the other driver
Garbage on the serial portChip runs, clock or baud is wrongMeasure the reference; check the UART clock source
Silence, but works in debug wait modeBoot source or ROM timeoutWatch longer; check the ROM fallback order
Silence in every modeFault early in the chainGo back to steps 1 to 3; try debug access
Current does not change at reset releaseChip may still be held in resetCheck reset input level and status outputs

Reset and boot checklist

  • Start-up chain written down for your chip, with the expected signal at each step.
  • Reset delay measured against the clock startup rule, with margin recorded.
  • Strap sampling moment known; strap levels captured on a scope at that moment.
  • Boot ROM behavior known: sign of life, timeouts and fallback order.
  • Terminal open before reset, at the right settings, watched past the longest timeout.
  • Simplest boot mode tried first; flash boot only after it passes.
  • Triage result logged per part, so patterns across parts show.

Further reading

Next in the series: JTAG and Debug Access, Your Lifeline Into a Chip That Does Not Talk.

Share Facebook X LinkedIn WhatsApp Email

Post a Comment

0 Comments

Your comments will be moderated before it appears here.

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!