2、也有个别说是WinAVR版本的问题,解决方案就是卸载再安装,多试几次就OK了,这简直是碰运气,我也试过,都快把我弄崩溃了。
I did have the same problem beginning of this week.
Formerly I always worked with WIN98 and it worked ok but now with WinXP.
I am not sure what it was but I think it had something to do with Turtoise CVS because it also uses Cygwin.
This is what I did to make it work again :
Uninstall WINAVR (build 20040404)
Install WINAVR (build 20040404) >> Still did not work
Uninstall Turtoise CVS >> WINAVR still did not work
Uninstall WINAVR (build 20040404)
Install WINAVR (build 20030424) >> Works (expect Progrs. Notepad but ok)!
Install Turtoise CVS >> Keeps working
Uninstall WINAVR (build 20030424)
Install WINAVR (build 20040404) >> Everything works including PN)
Hope this works for you too
3、还有人说是电脑运行的其他的一些常驻内存的程序引起的,像杀毒软件什么的,关了的话就可以,我测试过,对我没什么用。
i found the problem. It seemed to be a problem with the available memory in the started shell. So i closed all "memory
resident" programs. The critical program was my firewall "Securepoint". After closing Securepoint every thing worked well.
I just found out the following after finally getting it back working.
1) The re-install didn't seem to help any
2) Disabling Panda antivirus completely allowed it to run properly again
3) After re-enabling anti-virus features one at a time, isolated the specific one that was causing the problem: "Blocking of
unknown threats / Enable behavioral analysis"
So with all antivirus features enabled but that one it works fine...
4、也有人提出说是Cygwin内存分配的问题,说内存分配的不够大,要修改注册表,我也照着做了,也没解决。可能对有的朋友有用,
原文如下:
By default no Cygwin program can allocate more than 384 MB of memory (program+data). You should not need to change this
default in most circumstances. However, if you need to use more real or virtual memory in your machine you may add an entry
in the either the HKEY_LOCAL_MACHINE (to change the limit for all users) or HKEY_CURRENT_USER (for just the current user)
section of the registry.
Add the DWORD value heap_chunk_in_mb and set it to the desired memory limit in decimal MB. It is preferred to do this in
Cygwin using the regtool program included in the Cygwin package. (For more information about regtool or the other Cygwin
utilities, see the section called “Cygwin Utilities” or use each the --help option of each util.) You should always be
careful when using regtool since damaging your system registry can result in an unusable system. This example sets memory
limit to 1024 MB:
regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 1024
regtool -v list /HKLM/Software/Cygnus\ Solutions/Cygwin
Exit all running Cygwin processes and restart them. Memory can be allocated up to the size of the system swap space minus any
the size of any running processes. The system swap should be at least as large as the physically installed RAM and can be
modified under the System category of the Control Panel.
5、也有人说跟环境变量、虚拟内存的大小有关,我试了也没用。
6、我最后的解决方式:rebase -b 0x76000000 c:\winavr\utils\bin\msys-1.0.dll,然后问题就解决了,主要参考的网站:
=
My name is hyungon.kim (Korea)
I got the same error message.
-Couldn't reserve space for cygwin's heap, Win32 error
487
I trying to several times to solve this problem.
I searching and searching Internet many times.
but I couldn't find a solution.
In 5~6 hours, finally I found it a solution.
solution--------------------------------------
first, You must have rebase.exe
If you search Internet, you find easily, and downloading.
second, rebase -b 0x76000000 /winavr/utils/bin/msys-1.0.dll
0x76000000(examlple) -> you can change this address value
properly, maybe Winavr is compiled well.