When starting the IDE in Windows 7, the proram will work fine until a project is loaded at which point it will report an error:
CodeWarrior encountered an unhandled exception 0xc0000005 at address {different each time} (The memory at address {different random address} could not be read)
Location: IDE.EXE:{same as the first random address}
Crash dump written to MEM_FREE.b2830.20090320.122156A.dump
Choose 'Abort' to end the program, 'Retry' to debug, or 'Ignore' to continue (at your own risk!)
Abort will kill it, Retry will cause it to be unresponsive, and Ignore just brings the same error back up a few times until I get this:
Generic Error 32770. An unknown error has occured.
Neither running as Administrator nor taking ownership of the Program Files folder seems to help.
Solved! Go to Solution.
I found this work-around. . .
Again, I am using 32-bit Win7 Pro. I run CW with the "Disble desktop composition" enabled (checked). You can find that option on the Compatability tab of CW's Properties dialog.
I also meet this problem. I think your graphic card is nvidia series and the driver is the latest one. With the same, I am using a notebook with the graphic card of Quadro NVS160M, when I install the old driver(179.**), everything works well. But when I install the latest drivers ( For example, 18*.** or 19*.**), codewarrior will have some unlandled exceptions. It seams that some dll file is not compatible with the new graphic driver!
Hope freescale solve this problem early!
Audi:You are a hero!
Freescale: Pull your pants up...
Add me to the list.
32-bit Windows 7
CW 5.9
MC9S processor
Possible work-around #1 - uninstall everything CodeWarrior related. Go to your user folder (e.g., C:\Users\MyUserName\) and create a folder called Apps. Then reinstall and when you're given the choice of where to install, select the Apps folder you created (e.g., C:\Users\MyUserName\Apps). It seems MOST of the problems are caused by Windows' new security on the Program Files folder(s).
Note - still unresolved issues include: CodeWarrior crashing if you attempt to move it to a second display (e.g., if you have more than one LCD hooked up), and programming via USB devices may be hit-or-miss. I've as of yet been unable to program via our SofTec unit. However, some of these problems may be because I'm also running x64 edition of Windows 7, so your mileage may vary.
Possible work-around #2 - Install XP Mode. This raises its own issues, namely that the USB handling is really poor and you often have to reconnect the programmer until XP Mode "catches" the device. It also has many other limitations (e.g., it's slow, randomly disconnects local drives, won't work with dual displays, and isn't the reason you got Windows 7 anyway).
I found this work-around. . .
Again, I am using 32-bit Win7 Pro. I run CW with the "Disble desktop composition" enabled (checked). You can find that option on the Compatability tab of CW's Properties dialog.
Yo uso Windows 7 Enterprise, equivalente al profesional y uso CodeWarrior for Microcontrollers v6.3, este ha funcionado deshabilitando la composicion del escritorio, ejecutandolo en modo de compatibilidad con Windows XP Service Pack 2 y ejecutandolo en modo Administrador, aun falla cuando trato de cerrar algun proyecto pero funciona bien para programar y compilar.
I am using CW5.1 in WINDOWS 7, my problem is when I open any of my previous project created on XP doesnt open on W-7 and getting below error.... Can anyone please tell me the reason.
Its solved
steps
1.Right click on CWx.x project and sellect Properties
2.sellect compatability
3.click on "desktop composition"(sellect check box )
4. OK
I thought CW5.1 for S12(X) should work natively on Win7. I tried it on Win7 PRO x86 and got the same annoying Unhandled Exception.
Thanks Audi for solution!
Hi all,
I follow all the instructions of this topic, but still have some problems. I can open a project correctly, but when I close codewarrior I have some errors, like:
- CodeWarrior encountered an unhalted exception 0xc0000005 at adress 0x76f96bf0 (....memory could not be written) ... crash dump ... etc
- Generic error 32770...
My set-up: win7 (32 bits), CodeWarrior IDE v5.9 running as admin with compatability options enabled.
Any idea?
Thanks in advance!
Does this error happens only for Processor Expert enabled projects? Without processor expert CW opens and closes just fine. For PE you probably need to find some PE executable and enable same compatibility option for it.
Audi's right!
Hi Audi,
I run the CW as an Administrator But still getting the unhandled Exception error.
Please tell where I can find this Desktop compatibility option in the CW.
Thanks,
Randhawa
Using 32-bit Win7 Pro, right-click on the CW short-cut in your Start menu. Select properties. Select the Compatability tab. Check the "Disble desktop composition" option.
So sad, I've had an open ticket with both P&E and FreeScale for months and neither one could fix this issue. Thanks for the fix.
@Audi
Thanks for the hint, that solved the persistens crashes with Codewarrior 2.7 for MPC 56xx under Windows 7 x64, too.
Another option that works is to "Run As Administrator".