Reply by yasj...@ysmgroup.net May 30, 20112011-05-30
Hi there,

DC9.6x doesn't come with any updating samples/solutions, which means i'll be using Scott Henion's (which i don't really mind at all :)

Thanks for the help, this mailing proves to be a great help. You guys will hear from me soon i'm sure!

Greetings,

Yasja S. de Miranda
Reply by Dave McLaughlin May 30, 20112011-05-30
You can also go on the Yahoo group itself and do a search from there.

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---

From: r... [mailto:r...] On Behalf Of Steve Trigero
Sent: 30 May 2011 10:14
To: r...
Subject: Re: [rabbit-semi] Re: RCM3700 Firmware update over GPRS

Scott posts on this forum quite often. It's hard to believe you
missed all of his posts. He is a Rabbit consultant and has
done extensive work with the Rabbit. You can find his website
here: http://shdesigns.org/rabbit/SHD-DLM.shtml

There's probably no one on this forum that knows more about
rabbit programming than Scott.

_____

From: John Mc Murray
To: r...
Cc: Tom Collins
Sent: Saturday, May 28, 2011 11:54 PM
Subject: Re: [rabbit-semi] Re: RCM3700 Firmware update over GPRS

Hello,

Sorry to jump in here, but I've been looking for firmware updates of GPRS for a long time...

Tom, you mention Scott Henion's method? I'm sorry to sound a little silly, but is he someone who posted something here, or is there a link you can send? For some reason I don't seem to have all of the mails in this thread. If he mentioned a method in this thread, would you mind emailing it to me please...

Thanks,
John Mc Murray
j...@softsmart.co.za
011 083 7085

SoftSmart.co.za / PHP-Web-Host.com
Reply by Steve Trigero May 30, 20112011-05-30
Scott posts on this forum quite often. It's hard to believe you
missed all of his posts. He is a Rabbit consultant and has
done extensive work with the Rabbit. You can find his website
here: http://shdesigns.org/rabbit/SHD-DLM.shtml

There's probably no one on this forum that knows more about
rabbit programming than Scott.

>________________________________
>From: John Mc Murray
>To: r...
>Cc: Tom Collins
>Sent: Saturday, May 28, 2011 11:54 PM
>Subject: Re: [rabbit-semi] Re: RCM3700 Firmware update over GPRS

>Hello,
>
>Sorry to jump in here, but I've been looking for firmware updates of
GPRS for a long time...
>
>Tom, you mention Scott Henion's method? I'm sorry to sound a little
silly, but is he someone who posted something here, or is there a
link you can send? For some reason I don't seem to have all of the
mails in this thread. If he mentioned a method in this thread, would
you mind emailing it to me please...
>
>Thanks,
>
>John Mc Murray j...@softsmart.co.za 011 083 7085 SoftSmart.co.za / PHP-Web-Host.com
>On 2011/05/29 05:51 AM, Tom Collins wrote:

>>For DC9, Digi/Rabbit does not have a remote firmware update solution. You'll have to use Scott Henion's, which is more than adequate.
>>
>>-Tom
>>(Sent from my phone; forgive my brevity)
>>
>>On May 28, 2011, at 8:09 PM, "Dave McLaughlin" wrote:
>>
>>> Hi Yasja,
>>>
>>> Look in here.
>>>
>>> C:\DCRABBIT_10.64\Samples\RemoteProgramUpdate
>>>
>>> By the way, I only found these in the DC10.64
directory. I could not find
>>> anything in 9.62 so your board may not support this
feature.
>>>
>>> Dave...
>>> ---
>>> Very funny Scotty, now beam down my clothes!!!
>>> ---
>>>
>>>
>>>
>>> From: r... [mailto:r...] On
>>> Behalf Of y...@ysmgroup.net
>>> Sent: 27 May 2011 20:46
>>> To: r...
>>> Subject: [rabbit-semi] Re: RCM3700 Firmware update
over GPRS
>>>
>>>
>>> Hi there,
>>>
>>> Dave, Thanks for your help :) I know my Rabbit's
won't receive any static
>>> IPs, but your technique looks fine. May i ask from
which subdirectory of the
>>> samples library you've got the furrmware-update
example?
>>> Thanks
>>>
>>> Tom, thanks for the tip! I'll take a look at it, i'm
pretty sure these will
>>> come in handy.
>>>
>>> Greets,
>>>
>>> Yasja S. de Miranda
>>>
>>> Reply to
>>> >>> update%20over%20GPRS> sender | Reply to
>>> >>> ate%20over%20GPRS> group | Reply
>>> >>>
3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOTM3BHNlYwN
>>>
mdHIEc2xrA3JwbHkEc3RpbWUDMTMwNjU5ODQ4Mg--?act=reply&messageNum@937>
via
>>> web post |
>>> >>>
3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA250cGM
>>> Ec3RpbWUDMTMwNjU5ODQ4Mg--> Start a New Topic
>>> Messages in this topic
>>> >>>
Q5BF9TAzk3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOT
>>>
M3BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTMwNjU5ODQ4MgR0cGNJZAM0MDkyNg-->
(7)
>>> Recent Activity:
>
Reply by John Mc Murray May 29, 20112011-05-29
Hello,

Sorry to jump in here, but I've been looking for firmware updates of
GPRS for a long time...

Tom, you mention Scott Henion's method? I'm sorry to sound a little
silly, but is he someone who posted something here, or is there a link
you can send? For some reason I don't seem to have all of the mails in
this thread. If he mentioned a method in this thread, would you mind
emailing it to me please...

Thanks,

John Mc Murray
j...@softsmart.co.za
011 083 7085

SoftSmart.co.za / PHP-Web-Host.com
On 2011/05/29 05:51 AM, Tom Collins wrote:
>
> For DC9, Digi/Rabbit does not have a remote firmware update solution.
> You'll have to use Scott Henion's, which is more than adequate.
>
> -Tom
> (Sent from my phone; forgive my brevity)
>
> On May 28, 2011, at 8:09 PM, "Dave McLaughlin"
> > > wrote:
>
> > Hi Yasja,
> >
> > Look in here.
> >
> > C:\DCRABBIT_10.64\Samples\RemoteProgramUpdate
> >
> > By the way, I only found these in the DC10.64 directory. I could not
> find
> > anything in 9.62 so your board may not support this feature.
> >
> > Dave...
> > ---
> > Very funny Scotty, now beam down my clothes!!!
> > ---
> >
> >
> >
> > From: r...
>
> [mailto:r...
> ] On
> > Behalf Of y...@ysmgroup.net
> > Sent: 27 May 2011 20:46
> > To: r...
> > Subject: [rabbit-semi] Re: RCM3700 Firmware update over GPRS
> >
> >
> > Hi there,
> >
> > Dave, Thanks for your help :) I know my Rabbit's won't receive any
> static
> > IPs, but your technique looks fine. May i ask from which
> subdirectory of the
> > samples library you've got the furrmware-update example?
> > Thanks
> >
> > Tom, thanks for the tip! I'll take a look at it, i'm pretty sure
> these will
> > come in handy.
> >
> > Greets,
> >
> > Yasja S. de Miranda
> >
> > Reply to
> > > ?subject=Re%3A%20RCM3700%20Firmware%20
> > update%20over%20GPRS> sender | Reply to
> > > ?subject=Re%3A%20RCM3700%20Firmware%20upd
> > ate%20over%20GPRS> group | Reply
> >
> > >
> 3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOTM3BHNlYwN
> >
> mdHIEc2xrA3JwbHkEc3RpbWUDMTMwNjU5ODQ4Mg--?act=reply&messageNum@937> via
> > web post |
> >
> > >
> 3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA250cGM
> > Ec3RpbWUDMTMwNjU5ODQ4Mg--> Start a New Topic
> > Messages in this topic
> >
> > >
> Q5BF9TAzk3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOT
> > M3BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTMwNjU5ODQ4MgR0cGNJZAM0MDkyNg--> (7)
> > Recent Activity:
Reply by Tom Collins May 29, 20112011-05-29
For DC9, Digi/Rabbit does not have a remote firmware update solution. You'll have to use Scott Henion's, which is more than adequate.

-Tom
(Sent from my phone; forgive my brevity)

On May 28, 2011, at 8:09 PM, "Dave McLaughlin" wrote:

> Hi Yasja,
>
> Look in here.
>
> C:\DCRABBIT_10.64\Samples\RemoteProgramUpdate
>
> By the way, I only found these in the DC10.64 directory. I could not find
> anything in 9.62 so your board may not support this feature.
>
> Dave...
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
>
> From: r... [mailto:r...] On
> Behalf Of y...@ysmgroup.net
> Sent: 27 May 2011 20:46
> To: r...
> Subject: [rabbit-semi] Re: RCM3700 Firmware update over GPRS
> Hi there,
>
> Dave, Thanks for your help :) I know my Rabbit's won't receive any static
> IPs, but your technique looks fine. May i ask from which subdirectory of the
> samples library you've got the furrmware-update example?
> Thanks
>
> Tom, thanks for the tip! I'll take a look at it, i'm pretty sure these will
> come in handy.
>
> Greets,
>
> Yasja S. de Miranda
>
> Reply to
> > update%20over%20GPRS> sender | Reply to
> > ate%20over%20GPRS> group | Reply
> > 3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOTM3BHNlYwN
> mdHIEc2xrA3JwbHkEc3RpbWUDMTMwNjU5ODQ4Mg--?act=reply&messageNum@937> via
> web post |
> > 3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA250cGM
> Ec3RpbWUDMTMwNjU5ODQ4Mg--> Start a New Topic
> Messages in this topic
> > Q5BF9TAzk3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOT
> M3BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTMwNjU5ODQ4MgR0cGNJZAM0MDkyNg--> (7)
> Recent Activity:
Reply by Dave McLaughlin May 29, 20112011-05-29
Hi Yasja,

Look in here.

C:\DCRABBIT_10.64\Samples\RemoteProgramUpdate

By the way, I only found these in the DC10.64 directory. I could not find
anything in 9.62 so your board may not support this feature.

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---

From: r... [mailto:r...] On
Behalf Of y...@ysmgroup.net
Sent: 27 May 2011 20:46
To: r...
Subject: [rabbit-semi] Re: RCM3700 Firmware update over GPRS

Hi there,

Dave, Thanks for your help :) I know my Rabbit's won't receive any static
IPs, but your technique looks fine. May i ask from which subdirectory of the
samples library you've got the furrmware-update example?
Thanks

Tom, thanks for the tip! I'll take a look at it, i'm pretty sure these will
come in handy.

Greets,

Yasja S. de Miranda

Reply to
update%20over%20GPRS> sender | Reply to
ate%20over%20GPRS> group | Reply
3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOTM3BHNlYwN
mdHIEc2xrA3JwbHkEc3RpbWUDMTMwNjU5ODQ4Mg--?act=reply&messageNum@937> via
web post |
3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA250cGM
Ec3RpbWUDMTMwNjU5ODQ4Mg--> Start a New Topic
Messages in this topic
Q5BF9TAzk3MzU5NzE0BGdycElkAzIzMDczMTYEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzQwOT
M3BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTMwNjU5ODQ4MgR0cGNJZAM0MDkyNg--> (7)
Recent Activity:
Reply by Melisa Salto May 28, 20112011-05-28
Thanks for your answers, seems to be the same in dinamic c, but now I use

typedef unsigned char BYTE;

for 8 bit integer and char for character strings to it add clarity to
code.

Melisa

De: r... [mailto:r...] En
nombre de Tom Collins
Enviado el: Sado, 28 de Mayo de 2011 01:00 p.m.
Para: r...
Asunto: Re: [rabbit-semi] Inquiry

On May 27, 2011, at 5:50 AM, Melisa Salto wrote:

In dynamic C (i.e. 9.52) this expressions are the same: char c; unsigned
char c;?

Because in the users manual DC say that char is a unsigned integer (0 a
255), however there are some samples with the expression unsigned char,
why?

Dynamic C didn't have a "signed char" until one of the recent DC 10 releases
(maybe 10.60?), so for all previous releases it treated "char" and "unsigned
char" as the same type.

In my reading of the C specification, though, it would appear that assigning
a signed or unsigned char to a "char" should throw a warning, regardless of
whether a platform's "char" is signed or unsigned. Certainly, if you're
writing portable code you need to be prepared for platforms that treat
"char" as signed (like I've seen with cygwin/gcc).

To answer your question -- using "unsigned char" is clearer than just
"char". In my own code, I use "char" for character strings and
signed/unsigned char (actually int8_t and uint8_t) for 8-bit integers. I
think it adds clarity to the code you're reading.

-Tom

__________ Information from ESET Smart Security, version of virus signature
database 6161 (20110528) __________

The message was checked by ESET Smart Security.

http://www.eset.com
Reply by yasj...@ysmgroup.net May 28, 20112011-05-28
Hi there,

Dave, Thanks for your help :) I know my Rabbit's won't receive any static IPs, but your technique looks fine. May i ask from which subdirectory of the samples library you've got the furrmware-update example?
Thanks

Tom, thanks for the tip! I'll take a look at it, i'm pretty sure these will come in handy.

Greets,

Yasja S. de Miranda
Reply by Tom Collins May 28, 20112011-05-28
On May 27, 2011, at 5:50 AM, Melisa Salto wrote:
> In dynamic C (i.e. 9.52) this expressions are the same: char c; unsigned char c;?
>
> Because in the users manual DC say that char is a unsigned integer (0 a 255), however there are some samples with the expression unsigned char, why?
Dynamic C didn't have a "signed char" until one of the recent DC 10 releases (maybe 10.60?), so for all previous releases it treated "char" and "unsigned char" as the same type.

In my reading of the C specification, though, it would appear that assigning a signed or unsigned char to a "char" should throw a warning, regardless of whether a platform's "char" is signed or unsigned. Certainly, if you're writing portable code you need to be prepared for platforms that treat "char" as signed (like I've seen with cygwin/gcc).

To answer your question -- using "unsigned char" is clearer than just "char". In my own code, I use "char" for character strings and signed/unsigned char (actually int8_t and uint8_t) for 8-bit integers. I think it adds clarity to the code you're reading.

-Tom
Reply by "Fournier, Peter" May 27, 20112011-05-27
I am always specific about signed and unsigned. That way there is NO confusion as to what you mean or want.
I also add information to my variables so I KNOW what I am working with.
It's a pain if you change a variable from type from one to another, but mistakes happen a lot less often.

I add this as a comment to all my code:

A note about Hungarian notation
An attempt has been made to use a SUBSET of Hungarian notation for the variables.
Variables in general are named this way:



scope and type together are usually called the prefix

scope: g=global
m=local
if there is no scope specified it is probably local to main()

type: u=unsigned (suggest it not be used without a size qualifier)
n=integer (size is determined by processor)
c=character (almost universally 8 bits unsigned)
S=Structure
U=union

These types are NOT standard in the Hungarian notation
n8 = 8 bit variable used with int8
n16= 16 bit variable used with int16
n32= 32 bit variable used with int32

when using stdint.h (C99 compatability):
n8_ = 8 bit variable used with uint8_t (processor independent)
n16_= 16 bit variable used with uint16_t (processor independent)
n32_= 32 bit variable used with uint32_t (processor independent)

name: No restrictions at this time but in general the
first character of each word in the name capitalized

qualifier: not enforced (yet)

examples

gun16_Foo or gun16_Foo: is a global, unsigned, 16 bit variable named Foo

mcFee or mun8Fee or mun8_Fee: is a local, unsigned, 8 bit, variable named Fee

-Pete F

________________________________

From: r... [mailto:r...] On Behalf Of Melisa Salto
Sent: Friday, May 27, 2011 8:51 AM
To: r...
Subject: [rabbit-semi] Inquiry

In dynamic C (i.e. 9.52) this expressions are the same: char c; unsigned char c;?

Because in the users manual DC say that "char" is a unsigned integer (0 a 255), however there are some samples with the expression "unsigned char", why?

Sorry, my English is poor.

muchas Gracias

Melisa