Re: [Sdcc-user] pointer reference stays empty

2009-07-21 Thread Bart
Maarten, It's an ADuC832 8051 compatible from Analog Devices. I did some research about _sdcc_startup_external and read the datasheet of the controller again and inserted the following into my code: unsigned char _sdcc_external_startup(void) { CFG832 |= 0x01; return 0; } Since i enable

Re: [Sdcc-user] pointer reference stays empty

2009-07-21 Thread Maarten Brock
Bart, Did you ever mention which mcu you're using? You say it has 2kB of internal ram. But have you checked if you need to enable it? SDCC will not do that for you! The best place to do it is in _sdcc_external_startup(). Maarten > Hello Bodo & Maarten > > My apologies for the very late reply, i

Re: [Sdcc-user] pointer reference stays empty

2009-07-21 Thread Bart
Hello Bodo & Maarten My apologies for the very late reply, i was very busy at work with getting these things done but without the malloc cause i had some deadline pressure. For the moment of this mail i'm not able to look at the outputs with a scope or something so i will do that as soon as i get