To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 583
582  |  584
Subject: 
Re: Malloc
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 12 Jul 1996 16:15:14 GMT
Original-From: 
Fred G. Martin <fredm@media.mit.eduANTISPAM>
Viewed: 
4073 times
  
8K might be all that IC allows for user global data.  The memory map
can be rearranged, but only at the compile-time of the IC application.

Newton Labs should be able to give you a definitive answer about the
memory organization of IC 3.1.

-Fred


In your message you said:
> I'm trying to allocate three large arrays to store data in...
> Such as the following declared globally:
> char stoA(4000);
> char stoB(4000);
> char stoC(4000);
> 
> and then some code...not very long, just to capture data and
> store it in these arrays from the analog ports.
> 
> BUT! when I load the code from IC 3.1 the handy board crashes...
> It gets up to about 14500, and then just stops..
> When I tried allocating just one array, it worked, but when
> I make that one array more than ~8000 and load it, it locks up.
> 
> 
> Is there a malloc for interactive C or an equivalent?
> THANKS!

joeo@symtec.com
> 
> 



Message is in Reply To:
  Malloc
 
I'm trying to allocate three large arrays to store data in... Such as the following declared globally: char stoA(4000); char stoB(4000); char stoC(4000); and then some code...not very long, just to capture data and store it in these arrays from the (...) (30 years ago, 12-Jul-96, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR