Motorola MC32N0 CodeTyphon Cross Compile. Application crash - windows-ce

I compile application with CodeTyphon for Motorola MC32N0 device (processor: Cortex A9 OMAP4430; OS: Windows CE 7.00).
When I try launch application, it crashes on start with unspecific message:
"
An unhandled exception occurred at $000xxxxx:
EAccessViolation: Access violation $000xxxxx
".
Compiler settings are:
Target OS: WinCE
Target CPU family: arm
Target processor: ARMv7 (with other settings are the same error)
P.S. aygshell.dll, coredll.dll, oleaut32.dll, commctrl.dll and other dlls are in Windows folder. I can not copy them to application folder because system does not allow copy files from rom, but I think it is not important.
May be someone had same problem?
Thanks.

Your target OS is not supported yet, so it will not work. According to http://wiki.lazarus.freepascal.org/WinCE_port last supported version is Windows Mobile 6.5 - WinCE version: 5.2.1.

Related

I can't install HAXM even after trying everything

I initially tried to install haxm though android studio. Not working.
I downloaded the installer for haxm though intel. Not working because: VT-x is not supported by this computer or it is being exclusively used by Hyper-V.
But vt is supported and it's not used by hyper-v.
I checked windows feautures and all hyper-v options/suboptions are off. I checked windows defender -> core isolation -> memory integrity and it's off. I have no other antivirus software that could possible block hyper-v, I have only windows defender.
I tried turning off, in case it's on, with command line and then rebooted and tried installing again.
I checked the bios/uefi and vt is enabled, mts (multithreading) is enabled.
I checked windows services and there was no service, relative to hyper-v, running.
I don't believe that there might be another software running in the same time which causes this problem (like amd driver (andrenaline), asrock rgb, or I don't know what). 
Any idea? 
CPU : ryzen 5 2600. MOBO: Asrock Fatal1ty B450 Gaming K4. OS: Windows 10 Education (latest version)
(I am not sure if this post fits here but I have seen a couple of posts regarding installation problems of HAXM. I read them. Still, they're not helpful for my problem as it seems)
Do check the following things
go to BIOS of your system, if your system (laptop/desktop) have intel processor then enable the VT-X (virtualization technology).
if your laptop/desktop have AMD processor then enable HYPER-V form your BIOS.
This will fix your problem for sure. If not then try to update your BIOS.
Fixed it having the following settings:
Under advanced/cpu settings:
SVM enabled. MTS enabled.
Under advanced/northbridge:
SR-IOV enabled.
On windows:
Hyper-V off. Windows Hypervisor on.
On windows defender:
Core Isolation -> Memory Integrity: off
On android studio:
Settings/System Settings/Android SDK:
Android Emulator On
Android Emulator Hypervisor Driver for AMD Processors On
(Check running services for related tasks. Check 3rd party software)
Reboot.
Don't try to install Intel x86 Emulator Accelator(HAXM) with AMD. There is no way to do it with AMD.

This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V error

I'm using Android Studio on windows 10 currently. However, as I try to install HAXM via android studio, there is an error which always pops up "This computer does not support Intel Virtualization Technology (VT-x) or it is being exclusively used by Hyper-V. HAXM cannot be installed".
The weird thing is that when I checked my installed programs, HAXM is already installed by default. I have no idea why I am not able to upgrade. I'm using a decent gaming laptop with an 8th Gen Intel Core i7 processor.
Things I have tried :
I have already went into my bios and made sure all virtualization options were enabled and went to "Windows Features"and unchecked Windows Hyper-visor Platform but to no avail as the problem still persists
I recently had the same issue, and even though Intel virtualization was enabled in the BIOS and my Windows 10 doesn't have the Hyper-V option because it's the home edition, I wasn't able to use Android Studio emulators/virtual machines or upgrade/reinstall Intel HAXM. I then found out that an enabled feature on Windows Defender was the cause of the problem. Try the following steps (sorry, my device is in portuguese so the options might have another naming other than the direct translation to english):
In Windows Defender, go to Device Security (The one with a laptop icon).
Choose Kernel Isolation Details (first option).
And disable the Memory Integrity option if it isn't disabled already (in case it is, I'm sorry but this solution won't help you out).
If you have to change the option to disabled, restart your computer and try upgrading HAXM via Android Studio again.
I hope this helps. :)
In my case, after disabling Hyper-V in Windows Features I had to turn the antivirus (Kaspersky) off to install Intel x86 Emulator Accelerator (HAXM) 7.5.6 on Windows 10 Pro (1909).
IF u have AMD CPU you have to install Driver for AMD processor Check img

How to solve this emulator: ERROR: x86 emulation currently requires hardware acceleration

After installing android-studio-bundle-141.2456560-windows.exe in Windows 7 32 bit ultimate (6.1 build 7600)
I'm getting HAXM error while run emulator, I have exercised all the possible ways like,
Installing INTEL HAXM hardware accelerator through SDK manager I have uploaded a screenshot of this.
I have unchecked HYPER V option in turn on and off features
When I try to install HAXM from android SDK extras shown in screen shot
Note that I don't have Virtualization option in my BIOS setup if we consider that some advanced SoC will internally takes care about this virtualization
!!!But still android emulator is throwing the error
According to Intel's website, the Core 2 Duo E7200 does not support VT-x
Intel ARK
Unfortunately you cannot run HAXM without vt-x. This means either you'll have to try a different emulation method or use a real android device. Using a real android device will always give you the best results, so I recommend going that route.
if you have not installed intel x86 Emulator Accelerator (HAXM installer) then you need to install it from tools -> SDK Manager there you will find this HAXM installer
if it has been already installed then also the same issue is arising then go to the folder where SDK is stored for me it is
D:\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
and then run silent_install with administrator permission
and you are ready to go..!!!
First, uninstall your "intelhaxm-android.exe".
go to the BIOS and enable "Intel(R) Virtuallzation Technology".
again install "intelhaxm-android.exe".
create a new Virtual device and run.

Need Windows CE in 3072L

I'm trying to create windows CE OS that will run in my industrial CPU using Microsoft Studio 2005. All my tried was failed.
Im trying to build a Windows CE that have
Catalog items view
Storage
Primary disk/storage/master/slave
Secondary
CAB
CF card
Device Manager
Registry flush
Pci 1710
Internet explorer
.netframework
C++
Usb
Uno3072l
Display
Audio
And other basic utilities
I hope that someone will build the windows for me without any error. And share the link here so i can download.
Or, someone who can teach me how to solve the error. I am really stuck.
The Advantech 3072L is a simple x86-basd machine. You can likely use the x86 BSP that ships with Platform Builder, though Advantech may also have a platform specific BSP for any peripherals. Without more info on the version of Platform Builder you're using, what you've tried and the errors you're seeing we can't provide much more help than that.

How to emulate Windows CE 5.0 on ARMV4i architecture

I am developing Qt application for Windows CE 5.0 device.
My setup is:
Qt 4.7.3 compiled with Visual Studio 2005 using Windows CE 5.0 Standard SDK.
Everything works OK on real device, though I would like to test software "locally" in an emulator.
Visual Studio 2005 provides Pocket PC 2003, Windows Mobile 6 emulator images but no Windows CE 5.0.
Windows Microsoft CE 5.0 Emulator does that, but its sample device is based on i486, so this doesn't work for me...
I found some kind "Plaftorm Builder" and "ARMV4i BSP for Windows CE 5.0", but I am not building device or it's SDK, and I am not interested in specific device at all. All i need is "generic" AMRv4 WinCE 5 image for basic testing...
So what is possible outcomes for me?
Microssoft stopped providing Windows CE OS images for the emulator after the x86 emulator was abandoned, and for good reason. Windows CE is a modular OS so it's not possible to create an Emulator OS image that matches what all devices are and my guess is that there were too many support calls and complaints about how the emulator either contained something unwanted or didn't contain something that was wanted. The point being that there is no "generic Windows CE device" so there's no way to create an emulator of one.
The response from Microsoft was to provide the ARM-based Device Emulator 3.0 (available as a Standalone Release) and a BSP for the emulator so developers can create their own OS images that match their actual target hardware OSes.
So your options are to either create an OS yourself or find an OEM that provides an emulator image for their device (I'm not aware of one offhand, but I very, very rarely use the emulators so I've never bothered to look).

Resources