Does the MB use the CPU to generate beep codes?

T

Todd

Hi All,

Question: does the motherboard use the CPU to generate beep codes?

Many thanks,
-T
 
Y

Yousuf Khan

Hi All,

Question: does the motherboard use the CPU to generate beep codes?

I think if the CPU itself is the problem, then there's no way for the
CPU to generate a beep code. So likely the beep codes are programmed
into the chipset instead.

Yousuf Khan
 
P

Paul

Todd said:
Hi All,

Question: does the motherboard use the CPU to generate beep codes?

Many thanks,
-T

As far as I know, beep codes are programmed by the CPU. There are
some registers than need to be programmed. On the motherboards I
have here, if I connected the motherboard SPKR pins to the case
speaker, and just powered up the motherboard, there would be silence
if there was no CPU present.

There have been cases, where something like a short in a RAM module,
can prevent any beep codes from being emitted. Normally, you'd
expect a two beep or three beep error code for "bad RAM", but if
the RAM is bad enough to upset chipset power, it can stop the thing dead.
The BIOS code can run using CPU registers for temporary storage, while
the RAM is being set up. Otherwise, you wouldn't be able to bootstrap
the system, if there was a strict RAM dependency.

The reason the PC generates "one beep" on a good POST, is as a "speaker
test", the equivalent of a "lamp test" on other gear. That's to tell you
the speaker/beeper scheme is good, on each system startup. Then, if some day
you hear nothing, you're more likely to conclude the CPU has failed etc.

Systems can use more than just SPKR. Some Dells have four diagnostic LEDs,
to give a status code. There are motherboards with "Port 80 seven segment
LED display". And Asus used to have "Vocal POST", a Winbond chip capacitively
coupled into one side of the lime green audio output of the onboard sound,
and it would "tell" you what the error code was. The Vocal POST had
pretty poor fidelity, and all you could hear was mumbling, and then
you'd match the "cadence" of the sound you were hearing, to a list
of error messages listed in the manual. I still liked it as a feature,
but the design wasn't the best in terms of fidelity.

Paul
 
D

dadiOH

Bill said:
Unless you mean some scratchpad RAM that is also present on the CPU
chip, I'm not sure I understand that: As far as I know, the CPU
registers themselves can only hold a byte, word, or double word,

That's storage. It is very common to stash values into registers
temporarily. Don't know about now but at one time one CPU had an alternate
set of registers and one could swith back and forth at will. That was real
handy :)


--

dadiOH
____________________________

dadiOH's dandies v3.06...
....a help file of info about MP3s, recording from
LP/cassette and tips & tricks on this and that.
Get it at http://mysite.verizon.net/xico
 
D

David H. Lipman

From: "Todd said:
Hi All,

Question: does the motherboard use the CPU to generate beep codes?

Many thanks,
-T

The BIOS generates beep codes in POST. However it takes the CPU to run the BIOS routines.
 
P

Paul

Bill said:
Unless you mean some scratchpad RAM that is also present on the CPU chip,
I'm not sure I understand that: As far as I know, the CPU registers
themselves can only hold a byte, word, or double word, and thus are only
used for basic arithmetic or logic operations made during each instruction
cycle. In other words, there is not much "storage" there (in the CPU
registers themselves) to speak of, except for what a 16 bit or 32 bit
register itself can hold (which is only a single word or double word operand
or result or op code).

The BIOS uses register-based code, until the Northbridge memory controller is
programmed. One thing the memory controller must have programmed, is the CAS
value. A special cycle is done by the memory controller, setting up CAS,
so all the memory chips and the controller, "agree" on a common value. While
that programming is going on, the BIOS code will be register based. And the
motherboard doesn't know what value to use, until all the DIMM SPD chips
have been read and processed. You can't "cheat" and load it ahead of time.

It's possible to use processor caches for storage as well, but I'm not
familiar with the details. Some programmers at work, made such a claim,
but I was never able to verify it. I couldn't figure out how that
was possible.

As an example of storage space on a CPU, you have a series of floating point
registers, and the set of those, just gets bigger with each generation.

Paul
 
C

Char Jackson

The BIOS uses register-based code, until the Northbridge memory controller is
programmed. One thing the memory controller must have programmed, is the CAS
value. A special cycle is done by the memory controller, setting up CAS,
so all the memory chips and the controller, "agree" on a common value. While
that programming is going on, the BIOS code will be register based. And the
motherboard doesn't know what value to use, until all the DIMM SPD chips
have been read and processed. You can't "cheat" and load it ahead of time.

Many of the systems I've seen in recent years have a section in the
BIOS where you can specify a CAS value, (among other memory settings),
or you can select the option to "Use SPD". Is using anything other
than "Use SPD" an example of cheating?
It's possible to use processor caches for storage as well, but I'm not
familiar with the details. Some programmers at work, made such a claim,
but I was never able to verify it. I couldn't figure out how that
was possible.

I suspect using them isn't the problem. The problem would be
protecting them so that your data isn't quickly overwritten.
 
P

Paul

Char said:
Many of the systems I've seen in recent years have a section in the
BIOS where you can specify a CAS value, (among other memory settings),
or you can select the option to "Use SPD". Is using anything other
than "Use SPD" an example of cheating?

I'm referring to the hardware somehow knowing in advance, what
the agreed-on CAS timing value should be. It's computed during
POST and loaded into the hardware. The Northbridge, passes the
value to the memory chips, via a special bus cycle, so the memory
can then know the value too. It allows both pieces of hardware
to time events from the same reference event.

Whether the computed value is based on lowest-common-denominator
of SPD values, or based on a BIOS value selected by the user, it
still must be resolved on the fly and loaded into the Northbridge.
And the BIOS code doing that, can't use system memory, until
the simple math involved is completed.

Paul
 
T

Todd

The BIOS generates beep codes in POST. However it takes the CPU to run the BIOS routines.

Hi All,

Thank you for confirming what I suspected.

-T

p.s. the alarm for a bad CPU is an alternating high
low alarm. Sound like a European police siren.
 
P

Paul

Todd said:
Hi All,

Thank you for confirming what I suspected.

-T

p.s. the alarm for a bad CPU is an alternating high
low alarm. Sound like a European police siren.

I'd be checking temperatures or the VCore volts reading,
in the hardware monitor page. The CPU isn't necessarily bad,
but the police siren can mean something is wrong with
the "environment".

Paul
 
T

Todd

Todd wrote:

I'd be checking temperatures or the VCore volts reading,
in the hardware monitor page. The CPU isn't necessarily bad,
but the police siren can mean something is wrong with
the "environment".

Paul

Had this happen when an anti virus did a scan. Called
Supermicro and let them listen over the phone. They
said what I was hearing was a fault meaning someone had
reached down and pulled the processor off the board.
Amusing, being as the computer was running fine other
than the high low alarm. :)
 
B

BillW50

In
J. P. Gilliver (John) said:
Yes; if it is a "bad CPU" alarm, it must be very specific to a
particular motherboard, or range of motherboards. Because you need a
processor to actually generate the alarm! (Or, at the very least, to
alternate the tones, if they're generated by a hardware oscillator.)

I only ran across three bad CPUs and two of them nothing would happen.
The third was damaged from severe heat. That one passed POST, but it
only would boot XP halfway and then BSOD. My guess is that when switched
to protected mode it would fail.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Bios Beep 4
CPU Fan problem 29
Strange beep solved 13
Beep codes 8
Booting up question 33
AMI BIOS Codes 7
System Beep 5
Windows 10 One of my previous builds is experiencing random, multiple BSODs 9

Top