Pages: [1]   Go Down
Author Topic: Problem Uploading Example Code with Vista OS  (Read 396 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello all,

I am having trouble uploading 'Blink' to my Arduino Diecimila.  I suspect that it is Vista as I can get it to work successfully on an XP machine (friend's) on first pass.  I know it works on hers because the yellow LED flashes as it should, and I get a success message.  My Vista Home Premium has SP1 installed.

The error I get is:

     10 [main] ? (7776) C:\Arduino-0009\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


    393 [main] avr-gcc 13164 child_copy: stack write copy failed, 0x22EA50..0x230000, done 0, windows pid 2288004, Win32 error 5


     11 [main] ? (12448) C:\Arduino-0009\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


   2749 [main] avr-gcc 14128 child_copy: stack write copy failed, 0x22D9C0..0x230000, done 0, windows pid 2283764, Win32 error 5


     10 [main] ? (12492) C:\Arduino-0009\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


3253278 [main] avr-gcc 14128 child_copy: stack write copy failed, 0x22D9C0..0x230000, done 0, windows pid 2283764, Win32 error 5


      9 [main] ? (13996) C:\Arduino-0009\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


7518787 [main] avr-gcc 14128 child_copy: stack write copy failed, 0x22D9C0..0x230000, done 0, windows pid 2283764, Win32 error 5


     10 [main] ? (13480) C:\Arduino-0009\tools\avr\bin\avr-gcc.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096


13760150 [main] avr-gcc 14128 child_copy: stack write copy failed, 0x22D9C0..0x230000, done 0, windows pid 2283764, Win32 error 5


avr-gcc: fork: No error


Couldn't determine program size: /cygdrive/c/Arduino-0009/tools/avr/bin/avr-size: 'C:\Users\BUTTER~1\AppData\Local\Temp\build41619.tmp\Blink.hex': No such file



I suspected that it was write access issue, but I have tried both putting the program in a My Document subfolder, as well as in c:/arduino/.  I noticed that some other files are generated after I click 'upload file'

I also noted that I get this error even when I press the 'compile' key -- looks like a play button.

I have tried three different example codes, all with similar errors.  I have gone through the troublehsooting guide, ensured that I have the correct COM port 4 selected (determined from Device Manager), ensured that I chose ATMega168, as well as tried multiple USB ports (all of which work with other USB devices).  I also have no reason to suspect that the board is damaged as it is able to download code from another computer.

Do you have any suggestions?  I have searched the forums with 'vista' keyword reading all the english posts and I have not found a similar problem.  Am I going crazy?  smiley

Please help.  Thanks!
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try Arduino 0010.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Im on Vista also and am having the same cant alocate heap problems.
When I try to compile the blink program(not upload, just compile) I gets the heap error message.

Does anybody have any sugestions?
thanx
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

its the version number
arduino 10 does the trick ;D
Logged

Pages: [1]   Go Up
Jump to: