# RCM5700 external sram

**URL:** <https://forums.digi.com/t/rcm5700-external-sram/8984>\
**Category:** Rabbit\
**Created:** [June 22, 2009, 4:56am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984 "2009-06-22T04:56:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [June 22, 2009, 4:56am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/1 "2009-06-22T04:56:46Z")

</div>

Hi,  
A install a extra sram AS7C34096 into the RCM5700 board.  
The external ram works fine. It can store data, or running code in it.  
The external sram uses CS1 OE1.

I am sure the external sram is OK, if I force the CS\_RAM to CS1 OE1 WE1 for “store program in flash”, MB2CR is 0xC5 which mean it point to the external sram.

But if I change BOARDTYPES.LIB:

#if _BOARD\_TYPE_ == RCM5700  
//the RCM5700 has only 128k of internal RAM available  
#ifdef _RAM_  
#if **SEPARATE\_INST\_DATA**  
#error “The RCM5700 does not support compiling to”  
#error " RAM when Separate I&D space is enabled."  
#fatal " Turn off Separate I&D or compile to flash."  
#endif  
#endif  
//#define CS\_RAM (CS3OE0 & \_MBC\_CS\_MASK)  
#define CS\_RAM (CS1OE1 & \_MBC\_CS\_MASK) //change it here

And then choose “compile-\> store program in ram” it stopped just after the RabbitBios.c is transfered. There is not response from the target board, and the Dynamic C stopped!

Is there some code need to be changed if I choose to compile in EXTERNAL sram?

Thanks

LTZ

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [June 22, 2009, 6:47am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/2 "2009-06-22T06:47:03Z")

</div>

Solve it by updating to DC10.54

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [June 23, 2009, 4:05pm UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/3 "2009-06-23T16:05:01Z")

</div>

It look working while sometime, but maybe stopped at the point stdbios is transfered. I had test several board, they have the same kind of problem.  
So I think maybe some problem inside bios?

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [June 27, 2009, 5:33am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/4 "2009-06-27T05:33:30Z")

</div>

N:Deed to change the pilot.bin to get it enable cs1.

---

<div class="post-metadata">

**Author:** ![luisma2203](https://avatars.discourse-cdn.com/v4/letter/l/f07891/32.png) [@luisma2203](https://forums.digi.com/u/luisma2203)\
**Post date:** [July 20, 2009, 12:40pm UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/5 "2009-07-20T12:40:10Z")

</div>

Hello wiserltz,

I want to install an AS7C34096 sram into RCM5700 too. I’ve understood all steps, but i don’t understand the last one “Change the pilot.bin”. May you tell me that it means?

Thank you!

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [July 20, 2009, 1:01pm UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/6 "2009-07-20T13:01:10Z")

</div>

If you want to use the External sram to be choose as the default sram when boot up,  
you can simply change the BIOS. But by this you will not be able to debug that program, you will have to change pilot.bin to select the external sram as default one also.

---

<div class="post-metadata">

**Author:** ![luisma2203](https://avatars.discourse-cdn.com/v4/letter/l/f07891/32.png) [@luisma2203](https://forums.digi.com/u/luisma2203)\
**Post date:** [July 20, 2009, 1:55pm UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/7 "2009-07-20T13:55:31Z")

</div>

How can I change pilot.bin? Where is source code file for pilot.bin?

Thanks.

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [July 21, 2009, 2:17am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/8 "2009-07-21T02:17:21Z")

</div>

There is not source for pilot.bin, this is only a file that contain triplet machine code.

---

<div class="post-metadata">

**Author:** ![luisma2203](https://avatars.discourse-cdn.com/v4/letter/l/f07891/32.png) [@luisma2203](https://forums.digi.com/u/luisma2203)\
**Post date:** [July 21, 2009, 8:21am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/9 "2009-07-21T08:21:11Z")

</div>

If there isn’t source code for pilot.bin, how did you know where enable CS1 in pilot.bin?

Thanks.

---

<div class="post-metadata">

**Author:** ![wiserltz](https://avatars.discourse-cdn.com/v4/letter/w/e36b37/32.png) [@wiserltz](https://forums.digi.com/u/wiserltz)\
**Post date:** [July 23, 2009, 9:45am UTC](https://forums.digi.com/t/rcm5700-external-sram/8984/10 "2009-07-23T09:45:36Z")

</div>

Hack the machine code!
