Windows error 0x00000010, 16

Detailed Error Information

CURRENT_DIRECTORY[1]

MessageThe directory cannot be removed.
Declared inwinerror.h

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

SPIN_LOCK_NOT_OWNED[2]

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

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 Code16 (0x0010)

Questions

39votes
2answers

What is com.google.android.gms.persistent and why is it always using the CPU?

Even when nothing else is happening this system process seems to use a steady 1-2% of the CPU. Over the course of a day this drains a significant amount of battery even when the device wasn't used for anything. I haven't been able to correlate it to any other apps [...] read more
android
android-6.0-marshmallow
37votes
1answer

Getting Symbols from debugged process MainModule

I started writing a debugger in C#, to debug any process on my operating system. For now, it only can handle breakpoints (HW, SW, and Memory), but now I wanted to show the opcode of the process. My first attempt was with nidsasm (NASM), but this is not suitable, because [...] read more
c#
debugging
pinvoke
debug-symbols
34votes
4answers

Indexing .PDF, .XLS, .DOC, .PPT using Lucene.NET

I've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
.net
asp.net
lucene
solr
lucene.net
20votes
4answers

How to convert a float into hex

In Python I need to convert a bunch of floats into hexadecimal. It needs to be zero padded (for instance, 0x00000010 instead of 0x10). Just like http://gregstoll.dyndns.org/~gregstoll/floattohex/ does. (sadly i can't use external libs on my platform so i can't use the one provided on that website) What is the [...] read more
python
python-2.7
floating-point-conversion
17votes
2answers

Brightness Issue during stress testing

My application has the ability to Wipe all contacts and calendar events. It has been working fine as far as we had not done stress testing. During this, it was observer that device brightness goes down when we execute following use case 1. Sync Facebook, Gmail etc accounts with device [...] read more
iphone
ios
stress-testing
12votes
3answers

Reducing video mode switching during Linux boot

When I boot up my desktop computer, which only has Linux on it, the video mode and/or console font gets switched four times: * When GRUB starts, it switches from 80x25 text to a graphical mode so it can draw a pretty background behind its menu; * GRUB then goes [...] read more
linux
boot
graphics-card
grub
11votes
2answers

Map network drive programmatically in C# on Windows 10

I followed the approache to map a network drive programmatically in the following link:Mapping Network Drive using C# The drive seems to be connected correctly because I can query directories and files within C#. BUT I do not see the drive on my computer. My target is to map certain [...] read more
c#
network-programming
8votes
6answers

Why is 0x00000100 = 256?

Shouldn't 0x00000100 = 4. I understand that 0x00000001 = 1 since 2^0 and 0x00000010 = 2 since 2^1. What is wrong with my thinking? initVariable(&variable1, "variable1", "1, 2, 3", 0x00000100); assertIntegerEquals(variable1.address, 4); // 0x00000100 = 4? My assertion fails because it says that 256 != 4 read more
c
binary
6votes
1answer

eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/qtquickcontrols2 application utilising the eglfs backend on a raspberry-pi 2b, accelerated by vc4, of course. Ideally, it should run in kiosk mode and it definitely needs accelerated gl functionality. To minimise [...] read more
qt5
raspberry-pi2
qtquickcontrols2
archlinux-arm
eglfs
5votes
1answer

Exchange 2010 Outlook Anywhere not working - RPC Proxy, Address Book?

Ugh. We built a greenfield AD and Exchange 2010 environment a few months back for a large client. Outlook Anywhere isn't working. Outlook clients just never connect, doesn't seem to be an error or timeout. This was a migration. Originally we had a cert mismatch for Outlook Anywhere so I'm [...] read more
exchange-2010
outlook-anywhere
5votes
1answer

Server Suddenly became Unresponsive to SSH

Server suddenly became unresponsive to SSH, I reported the previous time it happened here on another server I have about 2 months ago. The server setup is CentOS6 64bit, it runs a very basic apache2 server that serves up static files and should be under very small loads, as it [...] read more
ssh
centos
5votes
2answers

Is it possible to create an internal SSL certificate with Subject Alternative Names

Having just upgraded from Exchange 2003 to Exchange 2010, I'm attempting to create a certificate that can be used both internally and externally (by staff). Previously with exchange 2003, we didn't need an certificate for internal use, so we simply created an certificate from our internal CA, with the CN [...] read more
iis-7
exchange-2010
ssl-certificate
active-directory
certificate
5votes
1answer

Rediredting stdout for createprocessasuser to pipe hangs on read

I'm using CreateProcessAsUser to run a process from a service, and am redirecting the stdout to a named pipe. But when I try to read from the named pipe it hangs on the read and never returns. I tried this in a separate task(as currently implemented below) and just reading [...] read more
c#
pipe
createprocessasuser
5votes
1answer

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
4votes
1answer

EXC_BAD_ACCESS (SIGABRT), ios crash log

I have some problem with my iPhone/ipad app. its published in app store, but now it seems like a few users experiences crashes when they try to start the app. Sometimes it helps with a hard reboot. Would be very happy if someone could help me sorting out whats going [...] read more
iphone
xcode
unity3d
sigabrt
crash-log
4votes
0answers

How to make GCC create checksum-same builds?

In company where I work there is complicated industrial ARM arch router project, consisting primarily of many C and C++ apps with Linux kernel. Currently we are preparing to certification and certification organization wants us to send them all sources and binary checksum of resulting root filesystem image. Of course [...] read more
c++
c
gcc
build
binary-reproducibility
3votes
1answer

Debian Server Keeps Restarting Unexpectedly

My laboratory' server with Debian-Wheezy-7.8-Stable keeps restarting few times after some hours of uptime without any notification. This server is set up for considerably high load numerical computation as well as parallel computation. I have printed log from var/log/messages and last reboot but I found it hard to understand this [...] read more
linux
debian
hardware
uptime
3votes
2answers

Thinkpad speaker turns mute - Linux Codec issue?

At some point a few days ago the speakers on my Lenovo Thinkpad T410 (Model number: 2537A11) suddenly stopped working randomly. This error happens every time I watch a video or listen to a music file. The sound just abruptly stops. At the moment, I can't produce a single sound [...] read more
linux
audio
thinkpad
speakers
3votes
1answer

emulator crashing, android

New day, new problem. Now it's about emulator. I'm starting it, and then it gives me the error: 12-05 18:25:42.460 2735-2735/? D/AndroidRuntime: CheckJNI is ON 12-05 18:25:42.610 2735-2735/? E/memtrack: Couldn't load memtrack module (No such file or directory) 12-05 18:25:42.610 2735-2735/? E/android.os.Debug: failed to load memtrack module: -2 12-05 18:25:42.630 [...] read more
android
crash
3votes
2answers

Logging from multiple processes with nLog missing logs and inconsistent archives

I have a process that runs on a windows server from multiple users on multiple sessions (could be as many as 50 concurrent users), I would like to: 1. Log from all processes to a single log file 2. limit the size of the logs to 1.5MB (for the purposes [...] read more
c#
logging
nlog
3votes
1answer

How to specify to createfilew function get uncached result?

I need to check whether a file (on a remote server via UNC path) exists or not (permission is not a problem here; I make a required impersonation etc.). I use CreateFileW function for creating file handle. I've also tried GetFileAttributesEx but the behavior is the same. HANDLE CreateFileW( LPCWSTR [...] read more
c#
c++
.net
filesystems
3votes
1answer

Unable to understand Apple Crash Log with -[NSObject(NSObject) doesNotRecognizeSelector:]

This is very weird, I can run my app in a simulator, iPhone 4S and iPhone 5 using Xcode 5 (5A1413) without any problems but when I submitted the app to iTunes store was rejected and this log was provided from Apple. This is the message I got from Apple: [...] read more
ios
ios7
crash-reports
2votes
2answers

SNMP Community String Permissions

I am looking at deploying SNMP Settings for windows servers via Group Policy and have an administrative template prepared. However I am noting strange behaviour when applying the policy. Two Community strings are created, with different permissions. ie: MYCOMMUNITY - READ ONLY MYCOMMUNITY - READ CREATE The Windows Registry also [...] read more
windows
group-policy
snmp
windows-registry
2votes
1answer

No success to simulate mouse click in C#

I'm new to C# and I want to simulate a mouse click(I'm using visual studio 2017 on windows 10). I found this code: using System; using System.Runtime.InteropServices; public class MouseOperations { [Flags] public enum MouseEventFlags { LeftDown = 0x00000002, LeftUp = 0x00000004, MiddleDown = 0x00000020, MiddleUp = 0x00000040, Move = [...] read more
c#
mouseevent
2votes
1answer

Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
c
embedded
stm32
bare-metal
cmsis
2votes
2answers

CubeMX-generated USB HID device sends wrong data when both endpoint and PMA address are changed

I'm debugging a problem with a composite device that I'm creating, and have recreated the issue in freshly-CubeMX-generated HID-only code, to make it easier to resolve. I've added small amount of code to main() to let me send USB HID mouse-clicks, and flash an LED, when the blue-button is pressed. [...] read more
usb
stm32
cubemx
stm32f3
2votes
0answers

struct inode_operations permission function arguments

I'm trying to implement permission management for my device driver and found the following official Kernel documentation related to struct inode_operations: struct inode_operations { //... int (*permission) (struct inode *, int); //... }; The documentation for the permission function: > called by the VFS to check for access rights on [...] read more
c
linux
file-io
linux-kernel
linux-device-driver
2votes
1answer

Instruction after paging is enabled doesn't appear to execute

When I have to setup the EIP register, the program doesn't jump to the correct position. I'm expecting that jmp *%ecx jumps at the right spot in memory setting EIP to around 0xC0100000 (label: StartInHigherHalf) using LEA. I don't think that kmain is necessary because the problem is before it [...] read more
assembly
x86
paging
bootloader
osdev
2votes
1answer

QEMU registers and eip are destroyed after moving 0x18 in ds

Im currently learning to build my own bootloader. I was able to setup a gdt and get into protected mode. But when i tried to move 0x18 (third segment in gdt) into ds most of my registers are destroyed and eip gets something random Code that causes error: (im already [...] read more
assembly
x86
qemu
bootloader
protected-mode
2votes
1answer

Alternative to dynamic creation of variable names

I have a header file (not written by me, which I cannot change) which contains definitions in the following format: #define SPC_TMASK0_NONE 0x00000000 #define SPC_TMASK0_CH0 0x00000001 #define SPC_TMASK0_CH1 0x00000002 #define SPC_TMASK0_CH2 0x00000004 #define SPC_TMASK0_CH3 0x00000008 #define SPC_TMASK0_CH4 0x00000010 #define SPC_TMASK0_CH5 0x00000020 #define SPC_TMASK0_CH6 0x00000040 #define SPC_TMASK0_CH7 0x00000080 #define SPC_TMASK0_CH8 0x00000100 [...] read more
c++
1vote
1answer

Troubleshooting NIC Logs by NETDEV WATCHDOG

I have a CentOS 6.6 server (Linux 2.6.32-504) running on a brand new Dell PowerEdge R320. Just the other day, I began noticing problems in /var/log/messages related to one of my NICs. Note: this is a server cluster that requires eth0 to be used in a crossover network to a [...] read more
linux
centos6
dell-poweredge
nic
broadcom
1vote
1answer

bond failing to start the backup network card on failure of main one

Our production server has 4 network cards, linked 2 by 2 on 2 bonds. External network: bond0 : eth0 up & running, eth1 active-backup Internal network: bond1 : eth2 up & running, eth3 active-backup We got at the same time failure of eth0 and eth2 : Mar 3 10:38:16 localhost [...] read more
networking
linux-networking
ethernet
bonding
1vote
0answers

wired dmesg output and high cpu load

I have like 50 Linux servers with the same hardware and kernel, but recently found that some of them suffers from high CPU load, runs very slowly, top and ps show TIME column with impossible large numbers; ps aux output with many 99% CPU. the kernel is Linux 3.0.13, it's [...] read more
high-load
dmesg
1vote
1answer

After resizing an encrypted LVM device, the machine takes 4 hours to boot

I have a host, under Debian Wheezy. The virtualisation software is qemu/KVM, and uses LVM Volumes as disks for the guests. The guests all have been installed using debian wheezy, full-disk encryption, LVM (/boot is out of the luks device, LVM is divided into /, /home, swap). Two times I [...] read more
debian
lvm
encryption
1vote
0answers

nvidia framerate limiter mode

There's this program https://ci.appveyor.com/project/Orbmu2k/nvidiaprofileinspector/build/artifacts nvidia profile inspector, that allows you to change the registry entries of your nvidia drivers for different games/programs. One setting in particular intrigues me, its called "Frame Rate Limiter Mode" Basically, when one sets it to either "0.00000004 PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_FLIP_BY_FLIPMETERING" or "0x00000010 PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL_MAXWELL" I get substantially less [...] read more
windows
nvidia-graphics-card
1vote
0answers

RunOnceEx not generating log files (Windows 7)

I'm following the RunOnceEx documentation from here: https://support.microsoft.com/en-ie/help/310593/description-of-the-runonceex-registry-key and I want it to generate a log file, so I use both log-file flags: > 0x00000010 Create Error Log File Create C:\Windows\RunOnceEx.err file if errors occur 0x00000020 Create Execution Log File Create a C:\Windows\RunOnceEx.log file with status of commands But no [...] read more
windows-7
boot
automation
logging
1vote
1answer

Macbook kernel panic, esp. during DLs, kernel_task causing page fault

I've owned a 2010 13" Macbook for a little over a year and throughout that time have often downloaded files from sites like MediaFire and RapidShare without any problems. However in the past few months, initiating downloads from these sites has triggered a seemingly increasing number of kernel panics. The [...] read more
macos
kernel-panic
1vote
0answers

A fatal error has been detected by the Java Runtime Environment when trying to run Java

I have strange error when I am trying to run java on my Raspberry pi 3. Command: sudo java -jar NodeJSAutoRun.jar Error: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x769d5130, pid=5043, tid=5044 # # JRE version: (11.0.8+10) (build ) [...] read more
java
1vote
5answers

windll.kernel32.OpenProcess(PROCESS_ALL_ACCESS, PID, False): Process_all_Access not defined

me again. I'm continuing my journey with C and Python. Today, I happened to be making a debugger. Currently, this is what I have from ctypes import * from Debugdeclares import * kernel32 = windll.kernel32 class debugger(): def __init__(self): self.h_process = None self.pid = None self.debugger_active = False def load(self, [...] read more
python
ctypes
1vote
2answers

Prevent WNetAddConnection2 class which allows prohibited user to access shared folder

I had developed C# windows application. OS is Windows 7 Requirement: is to access Network Shared Folder ‘Test’ using code with credentials using WNetAddConnection2 class. Restriction: is some users has access of this shared folder ‘Test’, but for other user,‘deny’ sharing permission is set. in code WNetAddConnection2 validates wrong username/password, [...] read more
c#
windows
networking
directory
shared
1vote
1answer

How i change console application project to windows form app. project

I made a console application project for my project but its console application so how I change it to Form application... can anyone help me to change this console application to Windows form application. Who know change console application codes to form application codes. Please help me.. i want put [...] read more
c#
process
console
mutex
pid
1vote
0answers

python get() function gives different values for class str and type str/class int and type int

I am trying to convert a python 2 code to python 3, and just came to know the difference the type() function on both versions. I am basically pulling data from a json file using pandas. I have a variable word = 0x00000010. I wanted to get the value of [...] read more
python
python-3.x
1vote
1answer

Emulate Touch Event in Windows 8 using Python

I am trying to write a sort of driver using python for windows 8. I will be receiving touch coordinates via serial which I then want to use to make it appear as though someone touched those coordinates on the screen (emulate a touch). My first question is: Is a [...] read more
python
windows-8
touch
simulation
ctypes
1vote
0answers

Trouble assigning ports for tivia TM4C launchpad that ill be connected to components on a breadboard

I am working with a TM4C lunchpad and need to assign Ports E and B as inputs and outputs to be able to control a simple traffic light built on a breadboard. There are three LEDs on the board as well as two buttons: when btn1 is pressed, the LEDs [...] read more
c
keil
fsm
texas-instruments
launchpad
1vote
1answer

How to convert binary values within a list of ndarray objects to decimal values?

My list contains 49 entries. The size of the entries varies. For example, the first entry consists of 3032 rows and 27 columns. This corresponds to 27 signals with 3032 data each. The data is currently in binary. The size of the column also varies within an entry (the 27 [...] read more
python
binary
decimal
data-conversion
1vote
0answers

Android `service` command - how to use compound types as arguments?

I'm trying to automate replies to a group MMS with Tasker. So far, I've been able to write a couple shell scripts with Termux that can poke into the SQLite database where received messages are stored, and get the content of those messages and the numbers of the participants in [...] read more
android
tasker
1vote
1answer

ESP32 as WiFi access point crashes on connection

I'm programming an ESP32 via ArduinoIDE and stumble upon a strange problem. It operates as WiFi access point, the code is quite simple and straight-forward: IPAddress apIP(192,168,1,1); WiFi.mode(WIFI_AP); WiFi.softAP("MyESP32"); WiFi.softAPConfig(apIP,apIP,IPAddress(255,255,255,0)); Now when a client connects to this AP, it often prints out these error messages: dhcps: send_nak>>udp_sendto result 0 dhcps: [...] read more
arduino
wifi
arduino-ide
esp32
access-point
1vote
1answer

Visual Studio - Get the startup project programmatically

I'm building a .Net application that should import a VS2010/2008 solution and find the start up project by reading the .suo file. I looked at How do I programmatically find out the Action of each StartUp Project in a solution? but the solution mentioned works only if I select Multiple [...] read more
c#
.net
1vote
0answers

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
ios
nativescript
nativescript-angular
1vote
2answers

Linker file vector table for bootloader setup

I am currently trying to use a bootloader application created using MCUXPresso that requires that my application start address is located at 0x80000. According to the following documentation:enter image description here [https://i.stack.imgur.com/yTwDO.png] However, the .bin I generate is created with Kinetis Design Studio (an earlier version of MCUXpresso) and does [...] read more
c
embedded
microcontroller
linker-scripts
1vote
0answers

Explanation of st_flags bits

I'm writing a python script to delete files on MacOS, and I run into SIP protected files. I know the presence of st_flags more than likely mean I can't delete the file. Like here: >>> os.stat(f).st_flags 524288 But I'm curious to know what that actually means. I looked in stat.h [...] read more
objective-c
linux
macos
file
unix
1vote
3answers

Xamarin iOS SIGABRT Crash

I have a Xamarin iOS app that keep crashing, crash report below. I can't make heads or tails of what the problem is or where it's happening. It seems like it could be a json issue maybe? Any help would be great. Exception Type: SIGABRT Exception Codes: #0 at 0x23464c84 [...] read more
c#
ios
debugging
xamarin
crash
1vote
1answer

How do I hook a ctypes.windll.user32.MessageBoxW by using ctypes.windll.user32.SetWindowsHookExW?

I wanna make a joke program that at first it opens a message box, after it closes then another message box appear at a random position. It would keep repeating like that until anything kills its task. Using tkinter message boxes then those can't be hooked, I must make another [...] read more
python
ctypes
1vote
1answer

How to create Python ctypes structures for MS Windows PACKAGE_ID and PACKAGE_INFO structures?

I'm trying to translate this SO answer code into Python (and a bit from the other answer there) with the help of official documentation for PACKAGE_ID and PACKAGE_INFO. I'm getting full package names by GetPackageFullName, but some of my structures aren't formed well as OpenPackageInfoByFullName gives Unicode characters that are [...] read more
python
struct
uwp
ctypes
pywin32
1vote
1answer

EXC_CRASH (SIGABRT) UIPopoverPresentationController presentationTransitionWillBegin

I have received crash log from production and cannot understand how to reproduce it. It happened only once on iPad with iOS 9.3 as per information I have. This crash happened after my latest release where I used VIPER methodology for some of my views. I have searched the Internet [...] read more
ios
uipopovercontroller
viper
1vote
1answer

Trouble Converting Smart Card Program to UWP

I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
uwp
raspberry-pi
smartcard
windows-10-iot-core
smartcard-reader
1vote
1answer

Enum with Enum elements in Python3

I'm setting an enumeration "A" of possible commands in my Python code. I would also create another enumeration "B" listing some specific commands "A". Thus I tried : class all_commands(IntEnum): SET_ELEMENT_A = 0x00000001 GET_ELEMENT_A = 0x00000007 GET_ELEMENT_B = 0x0000000E SET_ELEMENT_C = 0x00000010 GET_ELEMENT_C = 0x00000011 GET_ELEMENT_D = 0x00000015 class getter_commands(IntEnum): [...] read more
python-3.x
list
enums
0votes
1answer

linux hang + kernel messages about failed to assign mem

we have 5 Linux rhel machines , we noticed that all machines was hang with the same time from messages file we can se the following Dec 29 19:54:25 localhost kernel: pci 0000:ff:12.4: BAR 4: failed to assign [mem size 0x00000040] Dec 29 19:54:25 localhost kernel: pci 0000:ff:12.0: BAR 1: [...] read more
redhat
kernel
crash
0votes
1answer

need help SolusVM Xen-pv error

I recently use Solusvm and xen and I have a problem with xen-pv there is a xen-pv template by default with the solusvm Centos-5.3-x86 I have created a machine to test it but I have this error : xm create -c vm103.cfg Using config file "./vm103.cfg". Started domain vm103 (id=45) [...] read more
linux
xen
0votes
1answer

ntlmssp_handle_neg_flags: Got challenge flags[0x60898205] - possible downgrade detected! missing_flags[0x00000010] - NT code 0x80090302

I'm trying to access SMB/CIFS resource on NetApp, using following and getting error: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ rpm -qa | grep ^samba- samba-client-4.2.10-6.el7_2.x86_64 samba-libs-4.2.10-6.el7_2.x86_64 samba-common-libs-4.2.10-6.el7_2.x86_64 samba-common-4.2.10-6.el7_2.noarch samba-client-libs-4.2.10-6.el7_2.x86_64 samba-common-tools-4.2.10-6.el7_2.x86_64 $ smbclient //X/Y$ -U DOMAIN/user -L Enter DOMAIN/user's password: ntlmssp_handle_neg_flags: Got challenge flags[0x60898205] - possible downgrade detected! [...] read more
centos
samba
centos7
0votes
0answers

USB 3 hard drive and card not working in super-speed mode

So, I recently added a USB3 card to my computer, and I thought everything was good, Linux detected it, though weirdly (or not?) it comes up as 2 hubs [ 2.086988] xhci_hcd 0000:07:00.0: xHCI Host Controller [ 2.086996] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 2 [ 2.092364] [...] read more
linux
linux-kernel
usb
0votes
1answer

How to display the Command prompt during Logon with a batch file

I have a logon script which runs the 'sc config winrm type= own' command. This command changes the registry value at this location: HKLM\SYSTEM\CurrentControlSet\services\WinRM From this Type = 0x00000020 (32) To This Type = 0x00000010 (16) How do i get the changed Registry entry to display in the command prompt [...] read more
command-line
0votes
0answers

Ubuntu 14.04 Digital Audio stops working

I have an Ubuntu 14.04 HTPC for quite some time. It's connected by toslink to a logitech z5500. Sound was working, but suddenly stopped... I've followed almost every guide and how-to to fix my sound, but it won't seem to help. Some information: !!################################ !!ALSA Information Script v 0.4.63 !!################################ [...] read more
ubuntu
audio
spdif
0votes
0answers

cisco 7912 ip phone

I have cisco 7912 ip phone and trying to update config from tftp. Here is how my gkXXXXXXXXXXXX.txt looks like #txt upgradecode:3,0x601,0x0400,0x0100,0.0.0.0,69,0x060111a,CP7912080000SIP060111A.sbin UIPassword:1234 dhcp:1 Proxy:pbx-ip UID:5424 PWD:pwd123123123 LoginID:0 TimeFormat:H:i:s DateFormat:d/m/y SIPPort:5060 SIPRegInterval:120 SIPRegOn:1 NTPIP:10.45.66.130 AudioMode:0x00000010 NumTxFrames:2 ConnectMode:0x00000010 TimeZone:4 UseTftp:1 CfgInterval:3600 TraceFlags:0x00000000 RingOnOffTime:2,4,25 DialTone:2,31538,814,30831,2032,0,0,0,0,0,0 DialTone2:2,30743,1384,29864,1252,0,0,0,0,0,0 BusyTone:2,30467,1104,28959,1404,1,4000,4000,0,0,0 ReorderTone:0,2,30467,1104,28959,1404,0,0,1,2000,2000,0,0,0,0,0,0 RingBackTone:2,30831,2032,30467,1104,1,16000,32000,0,0,0 CallWaitTone:1,30831,2412,0,0,1,2400,2400,0,0,4800 MediaPort:16384 SigTimer:0x00000064 [...] read more
asterisk
cisco
freepbx
0votes
1answer

Trying to read from switches and output in a LED switch board

I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
assembly
mips
0votes
1answer

IBM-MQ PCF using to get subscriber count with a particular Topic

I'm using IBM-MQ, and I want to get the number of subscribers for a specific topic using PCFMessage MQQueueManager qmgr = null; PCFMessageAgent agent = null; Hashtable<String, Object> hashtable = new Hashtable<String,Object>(); hashtable.put(MQConstants.HOST_NAME_PROPERTY,"HOST NAME"); hashtable.put(MQConstants.PORT_PROPERTY,1414); hashtable.put(MQConstants.CHANNEL_PROPERTY,"CHANNEL NAME"); hashtable.put(MQConstants.USER_ID_PROPERTY, "USER_ID"); hashtable.put(MQConstants.PASSWORD_PROPERTY, "PASSWORD"); agent = new PCFMessageAgent(qmgr); PCFMessage request = new PCFMessage(MQConstants.MQCMD_INQUIRE_TOPIC_STATUS); [...] read more
java
ibm-mq
0votes
0answers

C Structs mnemonics in Linux Socket Filter. trying to make sense

I am trying to discover details about C Linux Socket filter or C Linux BPS sockets. The network filter for socket on this link and other places on this link https://www.kernel.org/doc/Documentation/networking/filter.txtis something like this /* From the example above: tcpdump -i em1 port 22 -dd */ struct sock_filter code[] = [...] read more
c
linux
networking
firewall
raw-sockets
0votes
0answers

ARM-GCC crti.o file does not look right. Is this a bug?

I just spent a while debugging an issue with ARM GCC toolchain, and I'm a bit confused by the results: $ arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There [...] read more
c
gcc
compilation
arm
0votes
1answer

modify build-id in the notes section of the elf file

I need to modify a build-id in the notes section of the ELF file. I see there are plenty of tools to read elf but not to modify them. I found elfedit but it doesn't seem to do what I need. Is it even possible? Here is the output of [...] read more
elf
0votes
0answers

How to start the ApacheDS as a windows service in background using batch file or powershell script?

I want to write a batch file or powershell script as a wrapper that can invoke apacheds.bat provided by ApacheDS to create a new ApacheDS instance and register it as a windows service. Currently I use C# to create powershell process and pass argument: "-c & '$scriptFullName' -Service" to powershell [...] read more
powershell
batch-file
windows-services
apacheds
0votes
1answer

CreateProcessWithTokenW winapi return false but no reason why

I am New to winapi and I am trying to run a process with system privileges. Lot of people suggested to use the Function CreateProcessWithTokenW. I wrote the falling code: $run = @" [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct STARTUPINFO { public Int32 cb; public string lpReserved; public string lpDesktop; [...] read more
c#
powershell
winapi
process
token
0votes
0answers

GetThreadContext winapi call with python / ctypes

I'm currently working on a Python/Winapi project. I want to call Get- and SetThreadContext with Python and ctypes. My setup is Windows10 64bit and Python 64bit. The Apis should work for both, 32bit and 64bit processes. It does work with 32bit processes by calling Wow64GetThreadContext with a WOW64Context. However with [...] read more
python
windows
winapi
64-bit
ctypes
0votes
0answers

opendir() function in FUSE

I'm writing a program using FUSE library and the thing is that I don't know what I've done wrong with my codes. Here is some informations came out when I run my program with '-d' option. > FUSE library version: 2.9.4 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: [...] read more
c
filesystems
fuse
0votes
1answer

get second imei number through adb shell

I was able to get one imei number through adb shell with command adb shell service call iphonesubinfo 1 But device has two imei numbers , How to get second imei number through adb shell The output of adb shell service call iphonesubinfo 1 is as below (which is inbetween [...] read more
adb
0votes
4answers

Finding the cause of React Native Android App Crash

After spending many hours of tracing, I am unable to find the issue for the crash of React Native Android App. A white screen appears after react-native run-android and then suddenly the message displays MyApp has stopped! The App was previously working fine! Maybe the Android Studio updates have caused [...] read more
android
react-native
react-native-android
react-native-navigation
wix-react-native-navigation
0votes
0answers

Freeling analizer is not working with NER, dates, numerals

I am trying to use freeling to recognize and classify named entities in Spanish, I am testing with the analizer as I still don't understand how to use the Python API. So when using the analizer in a text it doesn't recognize or classify named entities or dates or anything [...] read more
python
nlp
ner
freeling
0votes
2answers

Disassemble instruction set for 8051 microcontroller

I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
assembly
reverse-engineering
microcontroller
disassembly
8051
0votes
1answer

Same HTTP request passes with CURL_CLI but fails with LIBCURL

Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
c
curl
libcurl
0votes
1answer

Get path of process without Admin privileges in C#

I am trying to get the path of a running process without admin privileges. There is lots of tutorials online, but i can't get them to work. This is the basic premise that works great when running as administrator: // main Process pname = Process.GetProcessesByName(processName)[0]; string path = GetExecutablePath(pname); // [...] read more
c#
0votes
3answers

System Error Code 0x32 when trying to attach debugger to calc.exe

I am currently learning how debuggers function and I am trying to program one myself following the book 'Gray Hat Python' by Justin Seitz. I am quite new to python and using the Windows API so any help is appreciated. I am using python 2.7 and Windows 10 64bit (in [...] read more
python
ctypes
0votes
1answer

Objcopy symbols are mixed or invalid in executable

As a simple example of my problem, let's say we have two data arrays to embed into an executable to be used in a C program: chars and shorts. These data arrays are stored on disk as chars.raw and shorts.raw. Using objcopy I can create object files that contain the [...] read more
c
gcc
linker
ld
object-files
0votes
1answer

VxWorks 653 Restart after START command

Using VxWorks 653 2.5.0.2 for P2020RDB-PC target, using BSP1.0/4 I have a very simple test application void usrAppInit (void) { RETURN_CODE_TYPE errCode; printf("\n I am alive!"); PROCESS_ATTRIBUTE_TYPE processAttributes; PROCESS_ID_TYPE thandle; processAttributes.BASE_PRIORITY = 10; processAttributes.DEADLINE = SOFT; processAttributes.ENTRY_POINT = (SYSTEM_ADDRESS_TYPE)task; strncpy(processAttributes.NAME, "TASK", MAX_NAME_LENGTH); processAttributes.PERIOD = INFINITE_TIME_VALUE; processAttributes.STACK_SIZE = 1024; processAttributes.TIME_CAPACITY = [...] read more
rtos
vxworks
arinc
0votes
0answers

ESP32 RC car project issue

im using nipplejjs like virtual joystick by sending json request to esp32 to remote a rc car with to dc motors the front motor is for direction and the back motor for speed the fonction rorat hendle the json request i retrive the (distance , angle , degree ,type ) [...] read more
loops
arduino
esp32
arduino-c++
0votes
1answer

Stm32f4 counting pulses (How can I adjust the rising edge voltage ?)

At the moment I use TIM2 on the stm32f4 - Discovery Board to count pulses (rising edges). How can I adjust the thresholds for the rising edges ? I want to count 1 V pulses. At the moment it is just possible to count 2V pulses. I'm not able to [...] read more
timer
stm32
stm32f4discovery
0votes
1answer

Is there a reason for the seemingly random twenty bytes at location 0x284 in the compiled code from gcc?

The following code illustrates: #include <stdio.h> #define NUMBER_1 1 int main(void) { int a; a = NUMBER_1; printf("Output: %d\r\n", a); return 0; } Changing the define to 2 causes the 20 bytes to change completely. I'm using gcc version 7.5.0 under ubuntu version 18.04. I suspect this is some sort [...] read more
c
0votes
0answers

WTSQueryUserToken() return false

I'm trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
c#
windows-10
windows-services
64-bit
watchdog
0votes
0answers

Access violation when closing the form that has floating component

I have a C++Builder VCL application that has some dynamically created components on it. These components should be able to dock and undock from a Panel. The problem is, if the user closes the form while one of these components are undocked (Floating), I get an error: > First chance [...] read more
c++builder
c++builder-10.3-rio
0votes
0answers

Detect if a WEBP image is transparent, in PHP

I'm trying to check if a webp image is transparent in PHP or not. Is it possible? Best would be in pure php. Update: After researching... i wrote this php function. Works great. webp_info() detect transparent and animation in a webp image. function webp_info($f) { // https://github.com/webmproject/libwebp/blob/master/src/dec/webp_dec.c // https://developers.google.com/speed/webp/docs/riff_container // [...] read more
php
0votes
1answer

Updates certain values only if a matching int flag is received

I have an object class that tells me what type of data has changed. object Part { const val CONTRAST = 0x00000001 const val SATURATION = 0x00000010 const val PIXELATION = 0x00000100 const val SHARPNESS = 0x00001000 const val BRIGHTNESS = 0x00010000 const val ALL = 0x11111111 } In my [...] read more
java
kotlin
0votes
1answer

RunAs Verb not showing a UAC popup and not elevating, when invoked from a process created with a Safer token

I want to start a non-elevated process from an elevated one. I've accomplished this using SaferComputeTokenFromLevel. It appears to be working,since: C:\>whoami /groups | findstr BUILTIN\Administrators BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny only Deny only is there. So I am not admin. * 1) Why the (supodsedly) non-admin process [...] read more
c#
winapi
uac
0votes
0answers

Folder chooser with edit box in hybrid batch, how do I retrieve invalid name/path?

I'd like to use a folder chooser dialog in my batch script, I chose BrowseForFolder method with Jscript as it is the fastest I tested. However, if I type a "non-existing path" or an "invalid name" in the edit box, it fails to pass the value back to the batch [...] read more
c#
powershell
batch-file
jscript
hybrid
0votes
1answer

Is it possible to make a hardcoding with the help of the command objcopy

I'm working on Linux and I've just heard that there was a command objcopy, I've found the relative command on my x86_64 PC: x86_64-linux-gnu-objcopy. With its help, I can convert a file into an obj file: x86_64-linux-gnu-objcopy -I binary -O elf64-x86-64 custom.config custom.config.o The file custom.config is a human-readable file. [...] read more
c
linux
linker
objdump
objcopy
0votes
0answers

CannotModifyVisualChildrenDuringTreeWalk

What does these exception mean & how to avoid them or is there further documentation. I am modifing the a textblock inlines on binding updates (behavior that formats) inside a datagrid. Getting this exception from datagrid with virtualization, e.g. virtualized stack panel -> VisualCollection has a guard VisualCollection.cs, from reference [...] read more
wpf
0votes
0answers

adb shell "service call iphonesubinfo 1" requires permission

I used the following adb command to get the IMEI of android devices. adb shell "service call iphonesubinfo 1" But for HUAWEI MediaPad 2.0 this command returns the following output. Result: Parcel( 0x00000000: ffffffff 00000069 00650052 00750071 '....i...R.e.q.u.' 0x00000010: 00720069 00730065 00520020 00410045 'i.r.e.s. .R.E.A.' 0x00000020: 005f0044 00480050 004e004f 005f0045 [...] read more
android
adb
imei
0votes
1answer

C++ Rookie needs help to correct ofstream binary write problem

I'm writing a small command line program that writes a binary file. I use ofstream write (opened as a binary file) to output the file. The problem is that when I run the program, the resulting file does not match the data I presented to the write command. My questions [...] read more
c++
ofstream
0votes
1answer

raspberry pi model 3b+ activity led blinking along gpio 4

I tried to blink the led that I connected to GPIO 4, and it blinks. But what confuses me is that activity LED (the green one) also blinks along with led on GPIO 4. Here is my code that just turns GPIO 4 on: .section ".text.boot" .globl notmain .equ GPIOBASE, [...] read more
arm
raspberry-pi3
bare-metal
0votes
1answer

Code executes correctly only if prints are present (C)

I'm setting up a prototype for a DAQ system for Zynq FPGAs. I receive data from a server through ethernet, write it to a FIFO using the DMA and viceversa using two different pthreads. However, threads work correctly only if printf are executed. I expect there is a memory leak [...] read more
c
pointers
memory-leaks
shared-memory
mmap
0votes
1answer

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and inside the ParseJmsFolder method. This is the exception we [...] read more
.net
jms
ibm-mq
xms
rfh2
0votes
0answers

File type returns empty string

I'm trying get file type name (like Folder, bitmap image, Text file etc...) with c#. I dont want get from registry because of privilege reasons. I found this method from internet. It working well for get file icon (SHGFI_LARGEICON, SHGFI_SMALLICON) But This method always returning blank szTypeName. I've tried different [...] read more
c#
shell32
shell32.dll
0votes
1answer

ReadProcessMemory Read string until NULL

I'm trying to read a string "845120" from a process memory but I have some trouble... I know "845120" is a numeric value, but in some cases it can be alphanumeric, that's why it's a string and not a 4 byte int. Here is my Memory class, where I have [...] read more
c#
memory
0votes
0answers

STM32F103xxxx In Application Programming Using Arduino

I am using Arduino_STM32 rogerclark's library. https://github.com/rogerclarkmelbourne/Arduino_STM32 . Now I want to Develop an In Application Programming(IAP) like a bootloader. Take Code from SD card and Store in Controller flash at 0x8010000 and then jump to that location and run the loaded new application. the code took from SD and [...] read more
arduino
stm32
0votes
1answer

Problems with HTTP client management on Waveshare e-paper ESP32 board

Goodmorning everyone. I am developing an application for an electronic Waveshare display, based on a version of ESP32 on IDE Arduino. The directive is to print on the display a bitmap image provided by a webservice at a specific address. Being a beginner, it is not clear to me how [...] read more
c++
http
arduino
httpclient
esp32
0votes
1answer

What is 'FT' means in Nginx NGX_HTTP_UPSTREAM_FT_* macro/const

There are some macro about nginx upstream and What is 'FT' means in these definitions? #define NGX_HTTP_UPSTREAM_FT_ERROR 0x00000002 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x00000004 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x00000008 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x00000010 #define NGX_HTTP_UPSTREAM_FT_HTTP_502 0x00000020 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x00000040 #define NGX_HTTP_UPSTREAM_FT_HTTP_504 0x00000080 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 #define NGX_HTTP_UPSTREAM_FT_HTTP_429 0x00000400 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000800 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK [...] read more
nginx
0votes
1answer

How can I treat bit mask graceful in C++?

I have met code like this. #define JOB_STATUS_PAUSED 0x00000001 #define JOB_STATUS_ERROR 0x00000002 #define JOB_STATUS_DELETING 0x00000004 #define JOB_STATUS_SPOOLING 0x00000008 #define JOB_STATUS_PRINTING 0x00000010 #define JOB_STATUS_OFFLINE 0x00000020 #define JOB_STATUS_PAPEROUT 0x00000040 #define JOB_STATUS_PRINTED 0x00000080 #define JOB_STATUS_DELETED 0x00000100 #define JOB_STATUS_BLOCKED_DEVQ 0x00000200 #define JOB_STATUS_USER_INTERVENTION 0x00000400 #define JOB_STATUS_RESTART 0x00000800 DWORD func(); The func return a dword which [...] read more
c++
0votes
0answers

Unable to fix this error. PermissionError: [WinError 32] The process cannot access the file because it is being used by another process

I am collecting the owner of the file, directories and sub directories in all the drives. The below code navigates through all folders and sub folders and prints the path and owner of the folder or file. Code import ctypes as ctypes from ctypes import wintypes as wintypes import file_search [...] read more
python
filepath
glob
file-search
ctype
0votes
0answers

how to change HyperLink style and textColor into richtextbox c# winform

How can I change HyperLink into RichTextBox ? I want to change HyperLink ForeColor and Remove UnderLine . I use this codes for this problem but I don't to change I tried to change with this code , but I don't successful .enter image description hereIf any change for this [...] read more
c#
winforms
hyperlink
0votes
0answers

How to solve gfortran compilation and linking error?

I have trying to compile a collection of old fortran and C codes with gfortran. They compile fine on a linux workstation but this fails in a Mac. Any idea on how to solve this ? The Makefile in the Linux version has one extra flag in CFLAGS and FFLAGS [...] read more
fortran
gfortran
0votes
0answers

Make my WinForms application behave just like a Console application when using Console.WriteLine()

I have a .NET WinForms application written in C#. The application has two operational modes: * Regular GUI mode. * Possibility to execute calls with a CLI. When I run my application from a Cmd window, the output appears on screen, but the application does not close until I press [...] read more
c#
pinvoke
0votes
1answer

How to save Bitmap from ActiveX component

Try to save screen of AxMsTscAxNotSafeForScripting (Microsoft Terminal Services Client Control), but cant find any information about it... I try one code, but it screen only field of element... https://i.imgur.com/fo6jKDT.png [Flags] private enum DrawingOptions { PRF_CHECKVISIBLE = 0x00000001, PRF_NONCLIENT = 0x00000002, PRF_CLIENT = 0x00000004, PRF_ERASEBKGND = 0x00000008, PRF_CHILDREN = 0x00000010, [...] read more
c#
bitmap
activex
0votes
1answer

STM32F4 (Nucleo) SPI line doesn't transmit

I can't seem to get my SPI line to work. It doesn't want to transmit at all although it does generate a clock signal on sck pin. The Clock signal has a frequency of 62 kHz, the MOSI and MISO pins remain high indefinitely. I've built the code according to [...] read more
arm
nucleo
coocox
0votes
0answers

I am getting arbitrarily changing variables, I have a warning for "6011 dereferencing null pointer"

My variables seem to change at random. My only lead is "6011 dereferencing null pointer". I am using C++ with allegro on MSVS. I've tried going through the code line by line and placing break points at common problem areas. I actually might have made it worse at one point [...] read more
c++
visual-studio
null-pointer
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
0answers

Spawning processes on Windows with Rust

I'm on Windows 10, and trying to spawn processes with std::process::Command. There are some apps that I want to open with Command::new("cmd"), and then pass in an argument. For example, I want to pass in start ms-settings:windowsupdate as well as start ms-settings:appsfeatures, which would open "Windows Update" and "Apps & [...] read more
windows
process
rust
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
3answers

Ecplise Java JNI, java.lang.UnsatisfiedLinkError loading dll

I'm having a problem with loading printer dll. I have a dll file from the printer manufacturer (JniPrinterStatusLib.dll). I wrote code like printer manufacturer suggested. The code is: package com.printer.test public class JniPrinterStatus { static{ System.loadLibrary("JniPrinterStatusLib"); } public native int GetStatus(String printer); } package com.printer.test public class TestSample { public [...] read more
java
eclipse
java-native-interface
0votes
0answers

NASM assembly modification guidance

I am trying to figure out how to modify the following code and need to also modify the code. I am unsure how to do, as we have not covered this topic in my classes. I could really use some explanation on how to modify the code to meet the [...] read more
assembly
x86
nasm
-1votes
0answers

how do i initialize and use the adc from TM4C123 chip Family

HI i tried to use the ADC0 module of the TM4C123AH6PM chip. but every time i initialize the ADc i get an hard fault error. I think the ADC module is missing the Clock. underneath the source of my initialasation code. the hard fault occurs every time i tried to [...] read more
c
microcontroller
keil
adc
texas-instruments
-1votes
2answers

How to Generate Exceptions on Cortex M3?

I am trying to generate exceptions like Bus Fault, Usage Fault on ARM Cortex-M3. My code for enable exceptions: void EnableExceptions(void) { UINT32 uReg = SCB->SHCSR; uReg |= 0x00070000; SCB->SHCSR = uReg; //Set Configurable Fault Status Register SCB->CFSR = 0x0367E7C3; //Set to 1 DIV_0_TRP register SCB->CCR |= 0x00000010; //Set priorities [...] read more
c
exception
embedded
cortex-m3
-1votes
1answer

Linker error setting loading GDT register with LGDT instruction using Inline assembly

I was compiling my prototype of prototype of a kernel (sounds weird, but it really doesn't matter) and in the installation I need to link the ASM file to a C file compiled with gcc to get a executable that could be used as kernel. The problem is that, after [...] read more
gcc
assembly
x86
kernel
osdev

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