Subject:
|
Malloc
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 12 Jul 1996 14:43:10 GMT
|
Original-From:
|
Joey <JOEO@SYMTEC.antispamCOM>
|
Viewed:
|
1613 times
|
| |
| |
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 has 1 Reply: | | Re: Malloc
|
| 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 (...) (28 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
|
|
|
|