Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | Re: Creating bin file for RAM application

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.

Re: Creating bin file for RAM application - Scott Henion - Mar 12 14:38:43 2008

Matt wrote:
> Hi,
>
> I am developing a program for the rabbit 2000 that will run in RAM to
> get the flash id. The program will be loaded over the slave port by
> the main system processor. Is there a way to compile a bin file using
> Dynamic C 8.61 that can be loaded to RAM? Does anyone have any tips
> for running a RAM application that would be helpful?
>
> The program I have will run when I use the programming cable to load it
> to RAM, however when you compile it to RAM there is no bin file created
> that I could load to the Rabbit from the main system processor.
>
>

1. In the compiler options set BIOS memory mode to "Compile to RAM".

2. Set default Compile mode to: "Compile defined target configuration to
.bin file"
(do not use compile to .bin using attached target, that is unreliable.)

3. Set the board type in the "Targetless compile" tab.

4. Use F5 to compile

--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
Lois Griffin: To hell with the cameras! How could we ever let them replace our little girl? Oh, I miss her, Peter.
Peter Griffin: Me, too. She's like that dorky Baldwin brother who isn't as good-looking or successful and never answers my letters, but he's still a Baldwin, damn it!



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


Re: Creating bin file for RAM application - Matt - Mar 12 16:14:26 2008

--- In r...@yahoogroups.com, Scott Henion wrote:
>
> Matt wrote:
> > Hi,
> >
> > I am developing a program for the rabbit 2000 that will run in
RAM to
> > get the flash id. The program will be loaded over the slave port
by
> > the main system processor. Is there a way to compile a bin file
using
> > Dynamic C 8.61 that can be loaded to RAM? Does anyone have any
tips
> > for running a RAM application that would be helpful?
> >
> > The program I have will run when I use the programming cable to
load it
> > to RAM, however when you compile it to RAM there is no bin file
created
> > that I could load to the Rabbit from the main system processor.
> >
> >
>
> 1. In the compiler options set BIOS memory mode to "Compile to RAM".
>
> 2. Set default Compile mode to: "Compile defined target
configuration to
> .bin file"
> (do not use compile to .bin using attached target, that is
unreliable.)
>
> 3. Set the board type in the "Targetless compile" tab.
>
> 4. Use F5 to compile
>
> --
> ------------------------------------------
> | Scott G. Henion| shenion@... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns http://www.shdesigns.org |
> ------------------------------------------
> Rabbit libs: http://www.shdesigns.org/rabbit/
> today's fortune
> Lois Griffin: To hell with the cameras! How could we ever let them
replace our little girl? Oh, I miss her, Peter.
> Peter Griffin: Me, too. She's like that dorky Baldwin brother who
isn't as good-looking or successful and never answers my letters, but
he's still a Baldwin, damn it!
>

Thanks Scott! Works Great.



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