Re: Is it worth to buy the Keil Compiler Package PK51
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <007301c3d915$c97ba4d0$764000b4@kardis> |
If you can change your app so that it only allocates memory at the beginning, and avoids it while running, you might be able to avoid the garbage collector tying up your system. Take a look at the TINI Specification (http://www.maxim-ic.com/products/tini/devguide.cfm). Chapter 11 has a section on memory consumption that might be useful. Kris ----- Original Message ----- From: "Weber Florian" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Thursday, January 08, 2004 4:55 AM Subject: [TINI]Is it worth to buy the Keil Compiler Package PK51 > Hallo TINI Forum, > > since 8 months I've been working with the DS80C400. Everything is working fine! There is just a small problem I can't solve. > I developed an application for a CAN/Ehternet bridge in Java. I can send and recieve CAN messages from a local PC very easy. But if the traffic on the CAN bus rises 10 ms per Msg (with 500 kbaud/s) my server starts to lose Msgs. > Some analysis of the free memory size showed that the free ram decreases than the application is interrupted. In this moment the application loses CAN messages. Afterwards the free ram starts to increase. This ups and downs are reproduceable. > > So, here is my question. If I control the memory allocation by myself, like it is in "C" programming, will this solve my problem? Does anybody has experiences with memory allocation in C with Keil developing package PK51 (The package costs a lot!!! 2600.- !!!)? > > Thank You!!! > Have fun with your TINI System! > > Best regards > > Flo > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini