tomcollinsaz | 2 Nov 20:51 2009

Re: RCM5600w & RCM5700 large data storing

 



You want to get a copy of Dynamic C 10.56 and take a look at sflash.lib. On lines 136 to 152, there's a series of defines that can be adapted to work on the RCM5600W so you can write directly to serial flash pages using the API you probably used on the RCM3700.

In your program, before you #use "sflash.lib", you'll want to duplicate the serial config shown for Serial Port B with chip select on PD6, and define the SF_PROTECT_LOW and SF_PROTECT_HIGH macros appropriately (protect the firmware with _LOW and protect the UserBlock with _HIGH). I'd copy the existing _HIGH definition, and set _LOW to 300K (to give yourself a little room).

-Tom

--- In rabbit-semi <at> yahoogroups.com, rout192 <at> ... wrote:
>
> Hello,
> I'm trying to make a porting of my own file system from the rcm3700 board to rcm5600w board.
> The rcm5600w has 1Mb serial flash and my firmware is about 200Kb long.
> I planned the minimum size of my own file system should not be less 250 Kbytes.
> I'm looking for a way to read from and write into the serial flash.
> I think the functions "writeUserBlock" & "readUserBlock" are not suitable for my intent for the following reasons:
> 1) the area for the userblocks is limited to few Kbytes.
> 2) the power-fail safe feature of the userblock functions is redundant for my own file system becouse it already has a similar feature.
> I think sbfWriteFlash function should be right for my purpose becouse it has not limits in the total amount of byte that an user can write in flash (at my own risk, I know it),but it don't work.
> So I ask if you could show me an example code for sbfWriteFlash and sbfRead, or if you have a better way to suggest me.
> thank you in advance for your consideration
>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Sitebuilder

Build a web site

quickly & easily

with Sitebuilder.

.

__,_._,___
fierza83 | 3 Nov 11:05 2009
Picon

Re: global symbol table overflow

 


Hello Marco!

I have the same error and I have not managed to fix it. You've been already?

Thank you very much, I hope your answer

--- In rabbit-semi <at> yahoogroups.com, "marco6550" <mpriarone <at> ...> wrote:
>
> Hi all,
> has anyone idea how to avoid the compiler error message: "Global
> symbol table overflow, increase table size"?
> Obviously I have increased the table size in DCW.CFG but this error
> still persists..
> Many thanks,
> Marco
>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Sell Online

Start selling with

our award-winning

e-commerce tools.

.

__,_._,___
fierza83 | 3 Nov 11:01 2009
Picon

Global Symbol Table

 

Hello! I'm working with R3000, and in my program I need to define 386 parameters. But when I build a 2-dimensional array:

unsigned char tableParam[386][4];

When I insert the code for each parameter:

Example: strcpy (tableParam [0], "ITS");
So until the 386 parameters that need.

When compiling I get the following error:

Global symbol table overflow, increase symbol table size

Where can I get the size of the table and increase it?
Thank you very much.
I would appreciate any advice

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Share Photos

Put your favorite

photos and

more online.

.

__,_._,___
Phahee | 3 Nov 10:16 2009
Picon

External Interrupts on BL2600

 

Hi Friends,

 

I have been using BL2600 for my projects. I am trying to use external interrupts to capture the pulses from a proximity sensor. I followed the sample EXTINT3000.C and modified it to use PE4 and PE5 pins (DIN16 and DIN17). When I set raising edge and priority 1 as shown below it jumps into the ISR 2 times for every single pulse from proximity sensor.

      WrPortI(PEDDR, &PEDDRShadow, 0x00);

      SetVectExtern3000(0, my_isr0);

      WrPortI(I0CR, &I0CRShadow, 0x21)

 

When I set falling edge and priority 1 as below, it jumps into ISR on both edges instead of falling edge.

                 WrPortI(PEDDR, &PEDDRShadow, 0x00);

                 SetVectExtern3000(0, my_isr0);

                 WrPortI(I0CR, &I0CRShadow, 0x11)

 

I tried with different pulse generators (PLC, digital switch, proximity sensor etc) and different BL2600 boards, but the result is the same.

I am using an opto-coupler to filter the signals. (Without opto-coupler the result is worse)

 

Has anyone encountered such a problem? Could anyone help me solve this problem?

 

Phahee

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! News

Get it all here

Breaking news to

entertainment news

Biz Resources

Y! Small Business

Articles, tools,

forms, and more.

.

__,_._,___
fierza83 | 3 Nov 13:41 2009
Picon

Global Symbol Table

 

Hello!
I have a problem with global Symbol table:

ERROR: Global Symbol table overflow, increase symbol table size.

Tech support told me to 1) reduce the number of variables in my code and 2) look in the root directory of Dynamic C for a file calles DCW.CFG. In the DCW.CFG file there should be a line that reads sys=30000. I was told I could increase this to be sym=32767 but that this is the upper limit due to some other limits within Dynamic C.

I have done everything he says,but still giving me the same error.
Could you give me some solution?
Thank you very much

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Fashion News

What's the word on

fashion and style?

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Share Photos

Put your favorite

photos and

more online.

.

__,_._,___
seecwriter | 3 Nov 18:31 2009
Picon

Re: Global Symbol Table

 

My suggestion is that you create 386 4-char arrays instead of one large 2-dimensional array. And then create an array of pointers and fill it with the addresses of each of the 386 arrays.

char tableParam1[4];
char tableParam2[4];
char tableParam3[4];
...
char tableParam386[4];

char *tableParam[386];

tableParam[0] = tableParam1;
tableParam[2] = tableParam2;
...

strcpy(tableParam[0], "ITS");

Steve

--- In rabbit-semi <at> yahoogroups.com, "fierza83" <fierza83 <at> ...> wrote:
>
> Hello!
> I have a problem with global Symbol table:
>
> ERROR: Global Symbol table overflow, increase symbol table size.
>
>
> Tech support told me to 1) reduce the number of variables in my code and 2) look in the root directory of Dynamic C for a file calles DCW.CFG. In the DCW.CFG file there should be a line that reads sys=30000. I was told I could increase this to be sym=32767 but that this is the upper limit due to some other limits within Dynamic C.
>
> I have done everything he says,but still giving me the same error.
> Could you give me some solution?
> Thank you very much
>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Fashion News

What's the word on

fashion and style?

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Share Photos

Put your favorite

photos and

more online.

.

__,_._,___
Jon L | 3 Nov 18:55 2009
Picon

Requires the FAT filesystem module be installed.

 
Recent Activity
Visit Your Group
Yahoo! News

Get it all here

Breaking news to

entertainment news

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Share Photos

Put your favorite

photos and

more online.

.

__,_._,___
Scott Henion | 3 Nov 20:08 2009

Re: Requires the FAT filesystem module be installed.

Jon L wrote:
> I want to run the example program fat_create.c 
>
> and it says at the top:
>
>         Requires the FAT filesystem module be installed.
>
> how do I do that?
>
>   

What version of DC? After version 9.5x or so, the FAT library is included.

-- 
------------------------------------------
| Scott G. Henion| shenion@... |
|   Consultant   |   Stone Mountain, GA  |
|   SHDesigns http://www.shdesigns.org   |
------------------------------------------

today's fortune 
"I made the decision to name the Justice Department building after Robert
Kennedy because he's deservant."

George W. Bush
November 20, 2001
Speaking to reporters in the Oval Office about his decision to name the
Justice Dept. building after former U.S. Attorney General, Robert Kennedy.
Aired on CNN.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rabbit-semi/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rabbit-semi/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:rabbit-semi-digest@... 
    mailto:rabbit-semi-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    rabbit-semi-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Jon L | 3 Nov 20:28 2009
Picon

Re: Requires the FAT filesystem module be installed.

 


Thanks,

yea I just figured that out by searching around on the web and getting to:

http://www.rabbit.com/support/downloads/modules/fat.shtml

Its brand new, 10.56 DC with the new BL4s200 and I was a bit confused when I saw that there example package didn't include a FAT disk example.

The board's documentation details a test program sdflash_inspect.c which takes the SD card and has it partitioned raw in 512 byte blocks (I think, the documentation switches between "pages"/"sectors"/and "blocks" I'm not sure yet if these three terms are interchangable or not) as best I can make out. Everything is a bit in pieces.

So I've got two ways to proceed now, 1) the sdflash_inspect.c example with is raw 512 byte blocks, or the 2) fat_create.c example which seems to be at a much higher programming level. Fat.create.c should leave the mini sd card in a state that I should be able to pull the card and read it by a PC, so that is very attractive. I'm just a bit perplexed as to why the fact_create.c example is shown as the test case for the SD reader/writer.

--- In rabbit-semi <at> yahoogroups.com, Scott Henion <shenion <at> ...> wrote:
>
> Jon L wrote:
> > I want to run the example program fat_create.c
> >
> > and it says at the top:
> >
> > Requires the FAT filesystem module be installed.
> >
> > how do I do that?
> >
> >
>
> What version of DC? After version 9.5x or so, the FAT library is included.
>
>
> --
> ------------------------------------------
> | Scott G. Henion| shenion <at> ... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns http://www.shdesigns.org |
> ------------------------------------------
>
> today's fortune
> "I made the decision to name the Justice Department building after Robert
> Kennedy because he's deservant."
>
> George W. Bush
> November 20, 2001
> Speaking to reporters in the Oval Office about his decision to name the
> Justice Dept. building after former U.S. Attorney General, Robert Kennedy.
> Aired on CNN.
>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! News

Odd News

You won't believe

it, but it's true

Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Sell Online

Start selling with

our award-winning

e-commerce tools.

.

__,_._,___
Scott Henion | 3 Nov 20:52 2009

Re: Re: Requires the FAT filesystem module be installed.

Jon L wrote:
> Thanks, 
>
> yea I just figured that out by searching around on the web and getting to:
>
> http://www.rabbit.com/support/downloads/modules/fat.shtml
>
> Its brand new, 10.56 DC with the new BL4s200 and I was a bit confused when I saw that there example package
didn't include a FAT disk example.  
>
> The board's documentation details a test program sdflash_inspect.c which takes the SD card and has it
partitioned raw in 512 byte blocks (I think, the documentation switches between "pages"/"sectors"/and
"blocks" I'm not sure yet if these three terms are interchangable or not) as best I can make out.  Everything
is a bit in pieces.  
>
> So I've got two ways to proceed now, 1) the sdflash_inspect.c example with is raw 512 byte blocks, or the 2)
fat_create.c example which seems to be at a much higher programming level.  Fat.create.c should leave the
mini sd card in a state that I should be able to pull the card and read it by a PC, so that is very attractive.   I'm
just a bit perplexed as to why the fact_create.c example is shown as the test case for the SD reader/writer. 
>   
>

The samples were written when the FAT library was needed to be purchased
separately. Now it is included, so they will work without the extra step.

-- 
------------------------------------------
| Scott G. Henion| shenion@... |
|   Consultant   |   Stone Mountain, GA  |
|   SHDesigns http://www.shdesigns.org   |
------------------------------------------

today's fortune 
Be careful when you bite into your hamburger.
		-- Derek Bok

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/rabbit-semi/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/rabbit-semi/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:rabbit-semi-digest@... 
    mailto:rabbit-semi-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    rabbit-semi-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane