This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Code over 450k does not work for RCM3720 - bluetech_th - Aug 7 9:54:38 2009
Dear all,
Now I use these library Rabbitweb , SNMP, DHCP, SMTP, Graphic LCD, Serial Flash , web
pages and UDPDLM (from Scott Henion) .
But when my code size is over 450k , it can't run. I don't know why ?
However I need more space to add my code .
Is any body know how to increase the free space or reduce my code?
and
Is there any MACRO to disable some function that I never use ?
Thanks in advance,
Sakorn
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Code over 450k does not work for RCM3720 - Jules Karim - Aug 7 12:50:19 2009
Write directly to Rabbit, they have free e-mail support, and once you have the answer from
them please post it for us.
--- On Fri, 8/7/09, bluetech_th
wrote:
From: bluetech_th
Subject: [rabbit-semi] Code over 450k does not work for RCM3720
To: r...@yahoogroups.com
Date: Friday, August 7, 2009, 6:54 AM
Dear all,
Now I use these library Rabbitweb , SNMP, DHCP, SMTP, Graphic LCD, Serial Flash , web
pages and UDPDLM (from Scott Henion) .
But when my code size is over 450k , it can't run. I don't know why ?
However I need more space to add my code .
Is any body know how to increase the free space or reduce my code?
and
Is there any MACRO to disable some function that I never use ?
Thanks in advance,
Sakorn

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Code over 450k does not work for RCM3720 - bluetech_th - Aug 11 22:55:40 2009
Rabbit's Support answer me as the follow,
There are limits to the memory available on an embedded device.=20
When using an embedded device managing your available memory is important.
Read this article on managing your memory:
http://www.rabbit.com/documentation/docs/refs/TN238/TN238.htm
Sakorn
--- In r...@yahoogroups.com, Jules Karim
wrote:
>
> Write directly to Rabbit, they have free e-mail support, and once you hav=
e the answer from them please post it for us.
>=20
> --- On Fri, 8/7/09, bluetech_th wrote:
>=20
>=20
> From: bluetech_th
> Subject: [rabbit-semi] Code over 450k does not work for RCM3720
> To: r...@yahoogroups.com
> Date: Friday, August 7, 2009, 6:54 AM
>=20
>=20
> =A0=20
>=20
>=20
>=20
> Dear all,
>=20
> Now I use these library Rabbitweb , SNMP, DHCP, SMTP, Graphic LCD, Serial=
Flash , web pages and UDPDLM (from Scott Henion) .=20
>=20
> But when my code size is over 450k , it can't run. I don't know why ?
>=20
> However I need more space to add my code .=20
>=20
> Is any body know how to increase the free space or reduce my code?
> and=20
> Is there any MACRO to disable some function that I never use ?
>=20
> Thanks in advance,
> Sakorn
>
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Code over 450k does not work for RCM3720 - mr_horton - Dec 1 10:22:49 2009
--- In r...@yahoogroups.com, "bluetech_th"
wrote:
>
> Dear all,
>
> Now I use these library Rabbitweb , SNMP, DHCP, SMTP, Graphic LCD, Serial Flash ,
web pages and UDPDLM (from Scott Henion) .
>
> But when my code size is over 450k , it can't run. I don't know why ?
>
> However I need more space to add my code .
>
> Is any body know how to increase the free space or reduce my code?
> and
> Is there any MACRO to disable some function that I never use ?
>
> Thanks in advance,
> Sakorn
>
Convert your SysIDBlock from version 4 or higher to version 2. The SysIDBlock is contained
in the user block which by default is 16K. SysIDBlock V4 or higher is mirrored which means
that the amount of space that needs to be set aside for the user block is 2 x 16K. That's
32K of flash that cannot be used for code. Changing the SysIDBlock to V2 will (eventually)
free up 16K of code space since it is unmirrored.
You will need to ensure that the UserBlocSize & UserBlocLoc elements in SysIDBloc are set
to correct values and recalculate the checksum of the SysIDBlock. Finally you will need to
update the definition, MAX_USERBLOCK_SIZE, in the rabbit bios file so that the compiler
only sets aside the correct amount of space for the userblock. In the scenario I have
already illustrated, MAX_USERBLOCK_SIZE can be reduced from 0x8000 to 0x4000.
Do you actually use the userblock for anything? You could reduce it down to 4K (0x1000).
This can free up 24K of extra code space.
I used a modified version of Rabbits writeIDBlock function in order to make sure that my
SysIDBlock changes were done correctly.
Hope that helps.
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )