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.
已解决! 转到解答。
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!
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.
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.