Windows error 0x000000C5, 197

Detailed Error Information

IOPL_NOT_ENABLED[1]

MessageThe operating system is not presently configured to run this application.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800700C5.

DRIVER_CORRUPTED_EXPOOL[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0xC5: DRIVER_CORRUPTED_EXPOOL.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code197 (0x00c5)

Possible solutions

5

Cortex-M0+ Linker Script and Startup Code

assembly
linker
arm
startup
interrupt

I solved it. After carefully reading http://community.arm.com/docs/DOC-8769, I found that Reset_Handler should be a function, or .thumb_func. Apparently a subroutine won't work. All I did was change my

.global Reset_Handler
Reset_Handler:
    b main

to:

.func Reset_Handler, Reset_Handler
.type Reset_Handler, %function
.thumb_func
.align

Reset_Handler:
    b main

.size Reset_Handler, . - Reset_Handler
.pool

.endfunc

I don't understand the underlying reason yet, but this works.

Update

Apparently dwelch is right. In my original code, if I place .thumb_func before the .global, it works. It seems that that directive is needed to generate correct code.

answered on Stack Overflow Nov 25, 2014 by Carl Dong • edited Nov 25, 2014 by Carl Dong
1

Multiple BSOD Windows 7

windows-7
google-chrome
memory
bsod

ok, the RAM timings are ok. So it is no RAM issue. From the dumps, I can see that you use Windows 7 RTM at a patch level from June 2012. In April 2013 MS stopped releasing Updates for Win7 RTM. So install the Windows 7 Sp1 to get newer updates which also fix bugs.

answered on Super User Aug 14, 2013 by magicandre1981
0

Cortex-M0+ Linker Script and Startup Code

assembly
linker
arm
startup
interrupt

If you add -mthumb to your assembler options (you currently have it in CFLAGS) you shouldn't need .thumb_func prior to Reset_Handler.

-mthumb instructs the assembler to create Thumb instructions, rather than ARM.

answered on Stack Overflow Jul 16, 2017 by donturner
0

Constant bluescreens upon Windows 7 login

windows-7
multi-boot
bsod

I would say it's a driver issue. I've used a free utility from Nirsoft - BlueScreenView. It scans all minidump files and presents them in a single table that makes identifying the culprit a lot easier.

answered on Super User Mar 15, 2017 by redschuhart

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0