can u attach that MADos flash here?!![]()
can u attach that MADos flash here?!![]()
[URL=http://www.gsmcyber.com]MADos, N-Gage, Comic, etc...[/URL]
Loading a great idea to write here :D
Hi there.
I have uploaded here two versions (including source code).
mados_5110_min.zip (loader.fls = 24652 bytes)
mados_5110_DSP_MBUS.zip (loader.fls = 35716 bytes).
But the DSP_MBUS version is newer. I have added there source for DSP and MBUS. There is MDI also and 3 dsp blocks added.
But most important is that I have fixed there bug with stacks. Just do diff of that my two versions. It is in include/code/sched.h
:
unsigned char stack_buffers[THREAD_STACK_SIZE*SCHED_THREADS];
unsigned int sched_stacks[SCHED_THREADS] = {
// what the hack is this ????
// RAM get's rewritted by stack and we have exception
//0x00110000, 0x00111000, 0x00112000, 0x00113000,
//0x00114000, 0x00115000, 0x00116000, 0x00117000
(unsigned int)(stack_buffers+THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+2*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+3*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+4*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+5*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+6*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+7*THREAD_STACK_SIZE),
(unsigned int)(stack_buffers+8*THREAD_STACK_SIZE)
};
#endif
So in that non DSP version, that bug is present (but it's working)
And in that DSP version i am using my own block for stack.
I don't know if this bug is already fixed in CVS. So I will check it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks