|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||||
|
|||||
|
Re: Dynamic memory MC18
To the best of my recollection, the PIC18 did not support dynamic memory allocation. You always have the option of declaring a big array at global scope and using that area as "scratch" for dynamic memory operations.
You could also dig up some EEPROM code and use that as your "dynamic" memory (Kevin Watson had written a nifty utility to read and write EEPROM). Just be aware that EEPROM is typically much slower than using the stack. EDIT: I have checked and confirmed; the PIC does not support dynamic memory allocation. Last edited by Jared Russell : 18-08-2009 at 16:37. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamic Memory Allocation Woes | slavik262 | Programming | 7 | 12-02-2008 16:15 |
| Dynamic Tables in PHP | FRANK(WGH) | Website Design/Showcase | 12 | 09-07-2007 16:07 |
| Dynamic Debugging Tool | MarkVH | Programming | 5 | 04-02-2005 18:09 |
| Dynamic Linking with PHP | plutonium83 | Website Design/Showcase | 6 | 12-01-2005 19:41 |
| Dynamic Input/Output Changing | Paolo | Control System | 6 | 23-09-2004 19:09 |