Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi





Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | RCM5600w & RCM5700 large data storing

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.

RCM5600w & RCM5700 large data storing - rout...@yahoo.it - Oct 31 12:04:26 2009

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
------------------------------------



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


Re: RCM5600w & RCM5700 large data storing - tomcollinsaz - Nov 2 14:51:16 2009



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 r...@yahoogroups.com, rout192@... 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
>

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

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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

Re: RCM5600w & RCM5700 large data storing - astros - Nov 4 7:21:10 2009

Thank you Tom
I'll try....

--- In r...@yahoogroups.com, "tomcollinsaz" wrote:
>
> 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 r...@yahoogroups.com, rout192@ 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
>

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



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

Cell modems - Scott Henion - Nov 4 9:19:13 2009


Looking at a project sending SMS data via cell. I have used modems in
the past that were specified by clients. I remember using two different
ones. Both had issues (required power down to get out of lost
connections; poorly documented AT commands, unreliable connection.)

One I did get working right by reverse-engineering a PC app. They were
provider-specific (TDMA) and one provider worked much better.)

I'm curious as to what people are using. I notice even ZW has quietly
hidden their cell development kit. I'm looking for a basic GSM modem for
SMS messages (data may be used later.) Would need to be global. Serial
interface to be mounted on a board but a stand-alone will work also.

I'm curious as to what people use. Seems everyone who is a dealer has no
info other than they will sell you a complete solution; not what i want.
Just a modem and docd.

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

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

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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

Re: Cell modems - ebrains2003 - Nov 4 10:48:52 2009



Wow, Scott...your modem issues sound a lot like some that I've experienced (poor AT command documentation and modems that get hosed and will only come out if you hard reset them) I'm consulting for a company that is using a MultiTech CDMA modem to transmit alarm data via a TCP/IP connection (not SMS, although it has that capability). Most of their products do use GSM, though. This product was designed to fill in the gaps where there is no GSM coverage. And yes, you do have to specify the wireless carrier. That may be your biggest issue - global connectivity.

So have you looked at MutiTech? They do have GSM modems. Again, they are probably linked to a specific carrier. Is AT&T global enough?

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



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

RE: Cell modems - Dave Moore - Nov 4 11:27:47 2009

Don't have any advice on the SMS part, but I do regarding the hardware
interface. Make sure you can programmatically remove power from whatever
device you choose. I've had too many modems go into la-la land on me. Some
come with a hard reset line...that's better than nothing. But if you just
hook up TX/RX/GND and a few flow control signals, you're looking for
trouble.

-- Dave

-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Scott Henion
Sent: Wednesday, November 04, 2009 6:19 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] Cell modems
Looking at a project sending SMS data via cell. I have used modems in
the past that were specified by clients. I remember using two different
ones. Both had issues (required power down to get out of lost
connections; poorly documented AT commands, unreliable connection.)

One I did get working right by reverse-engineering a PC app. They were
provider-specific (TDMA) and one provider worked much better.)

I'm curious as to what people are using. I notice even ZW has quietly
hidden their cell development kit. I'm looking for a basic GSM modem for
SMS messages (data may be used later.) Would need to be global. Serial
interface to be mounted on a board but a stand-alone will work also.

I'm curious as to what people use. Seems everyone who is a dealer has no
info other than they will sell you a complete solution; not what i want.
Just a modem and docd.

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

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



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

Re: Re: Cell modems - Scott Henion - Nov 4 13:54:00 2009

ebrains2003 wrote:
> Wow, Scott...your modem issues sound a lot like some that I've experienced (poor AT command documentation and modems that get hosed and will only come out if you hard reset them) I'm consulting for a company that is using a MultiTech CDMA modem to transmit alarm data via a TCP/IP connection (not SMS, although it has that capability). Most of their products do use GSM, though. This product was designed to fill in the gaps where there is no GSM coverage. And yes, you do have to specify the wireless carrier. That may be your biggest issue - global connectivity.
>
> So have you looked at MutiTech? They do have GSM modems. Again, they are probably linked to a specific carrier. Is AT&T global enough?
>

Multitech is one I'm looking at. GSM is a worldwide standard, so SMS
should work with any carrier (data may need different connect
sequences.) Would need to find the correct band. This app is one country
only, but do want something that I can reuse.

I hope I can grab the SIM card from my phone and test it here. ;)

> I have successfully used the Telit GM862 modems for a couple of designs with
> great success. These have been embedded modules requiring a power supply and
> level shifting etc but there are terminal available for them too as I am not
> sure what your actual hardware requirments are?
>
Checked their site, actual datasheets! Not just, marketing and when you
look for a distributer and try and find info, it just links back to the
previous site (Multitech.) Telit looks good.

> Don't have any advice on the SMS part, but I do regarding the hardware
> interface. Make sure you can programmatically remove power from whatever
> device you choose. I've had too many modems go into la-la land on me. Some
> come with a hard reset line...that's better than nothing. But if you just
> hook up TX/RX/GND and a few flow control signals, you're looking for
> trouble.
Yes, the other design i worked with was just TX/RX (not my design). I
will add power down also for sleep mode.

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

today's fortune
People seem to enjoy things more when they know a lot of other people
have been left out on the pleasure.
-- Russell Baker

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



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

RE: Re: Cell modems - "Michael Coop (SL4P)" - Nov 4 16:20:07 2009

While SMS is easy enough to handle, when you step past that in the future,
you can spend a LOT of time chasing your tail.

The TELIT modules are hard to beat. And a broad range as well.
I began to look at MultiTech - and they were attractive, but once I played
with the first Telit modem - on recommendation from another engineer, I was
sold.

I was using another brand for a long time, and recently moved to the Telit
GE864 modules.
Their embedded functionality makes GPRS data a no-brainer. No more swapping
in and out of command mode (big relief!)

Cheers
Michael COOP

-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Scott Henion
Sent: Thursday, 5 November 2009 05:54
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Re: Cell modems

ebrains2003 wrote:
> Wow, Scott...your modem issues sound a lot like some that I've experienced
(poor AT command documentation and modems that get hosed and will only come
out if you hard reset them) I'm consulting for a company that is using a
MultiTech CDMA modem to transmit alarm data via a TCP/IP connection (not
SMS, although it has that capability). Most of their products do use GSM,
though. This product was designed to fill in the gaps where there is no GSM
coverage. And yes, you do have to specify the wireless carrier. That may
be your biggest issue - global connectivity.
>
> So have you looked at MutiTech? They do have GSM modems. Again, they are
probably linked to a specific carrier. Is AT&T global enough?
>

Multitech is one I'm looking at. GSM is a worldwide standard, so SMS
should work with any carrier (data may need different connect
sequences.) Would need to find the correct band. This app is one country
only, but do want something that I can reuse.

I hope I can grab the SIM card from my phone and test it here. ;)

> I have successfully used the Telit GM862 modems for a couple of designs
with
> great success. These have been embedded modules requiring a power supply
and
> level shifting etc but there are terminal available for them too as I am
not
> sure what your actual hardware requirments are?
>
Checked their site, actual datasheets! Not just, marketing and when you
look for a distributer and try and find info, it just links back to the
previous site (Multitech.) Telit looks good.

> Don't have any advice on the SMS part, but I do regarding the hardware
> interface. Make sure you can programmatically remove power from whatever
> device you choose. I've had too many modems go into la-la land on me.
Some
> come with a hard reset line...that's better than nothing. But if you just
> hook up TX/RX/GND and a few flow control signals, you're looking for
> trouble.
Yes, the other design i worked with was just TX/RX (not my design). I
will add power down also for sleep mode.

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

today's fortune
People seem to enjoy things more when they know a lot of other people
have been left out on the pleasure.
-- Russell Baker

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



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

Re: Re: Cell modems - Alan Matheson - Nov 4 16:58:08 2009

I use Telit GSM862 for SMS messaging in an instrument and can vouch for Telits documentation, its superb. On the other hand I am having problems trying to get GPRS going but I think this is to do with the phone company Vodafone, rather than the Telit device.

So far as worldwide is concerned my daughter in the UK can query an instrument in New Zealand via SMS and it works fine

I really like the Telit modems.
Alan Matheson

----- Original Message -----
From: Michael Coop (SL4P)
To: r...@yahoogroups.com
Sent: Thursday, November 05, 2009 10:19 AM
Subject: RE: [rabbit-semi] Re: Cell modems

While SMS is easy enough to handle, when you step past that in the future,
you can spend a LOT of time chasing your tail.

The TELIT modules are hard to beat. And a broad range as well.
I began to look at MultiTech - and they were attractive, but once I played
with the first Telit modem - on recommendation from another engineer, I was
sold.

I was using another brand for a long time, and recently moved to the Telit
GE864 modules.
Their embedded functionality makes GPRS data a no-brainer. No more swapping
in and out of command mode (big relief!)

Cheers
Michael COOP

-----Original Message-----
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Scott Henion
Sent: Thursday, 5 November 2009 05:54
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Re: Cell modems

ebrains2003 wrote:
> Wow, Scott...your modem issues sound a lot like some that I've experienced
(poor AT command documentation and modems that get hosed and will only come
out if you hard reset them) I'm consulting for a company that is using a
MultiTech CDMA modem to transmit alarm data via a TCP/IP connection (not
SMS, although it has that capability). Most of their products do use GSM,
though. This product was designed to fill in the gaps where there is no GSM
coverage. And yes, you do have to specify the wireless carrier. That may
be your biggest issue - global connectivity.
>
> So have you looked at MutiTech? They do have GSM modems. Again, they are
probably linked to a specific carrier. Is AT&T global enough?
>

Multitech is one I'm looking at. GSM is a worldwide standard, so SMS
should work with any carrier (data may need different connect
sequences.) Would need to find the correct band. This app is one country
only, but do want something that I can reuse.

I hope I can grab the SIM card from my phone and test it here. ;)

> I have successfully used the Telit GM862 modems for a couple of designs
with
> great success. These have been embedded modules requiring a power supply
and
> level shifting etc but there are terminal available for them too as I am
not
> sure what your actual hardware requirments are?
>
Checked their site, actual datasheets! Not just, marketing and when you
look for a distributer and try and find info, it just links back to the
previous site (Multitech.) Telit looks good.

> Don't have any advice on the SMS part, but I do regarding the hardware
> interface. Make sure you can programmatically remove power from whatever
> device you choose. I've had too many modems go into la-la land on me.
Some
> come with a hard reset line...that's better than nothing. But if you just
> hook up TX/RX/GND and a few flow control signals, you're looking for
> trouble.
Yes, the other design i worked with was just TX/RX (not my design). I
will add power down also for sleep mode.

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

today's fortune
People seem to enjoy things more when they know a lot of other people
have been left out on the pleasure.
-- Russell Baker

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

Yahoo! Groups Links

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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