BS2sx vs BS2p24?
Archiver
Posts: 46,084
I have a substantial amount of code that I was running on a BS2sx (FW v1.0),
and I want to move over to a BS2p24 (FW v1.3). (I want to use the LCD
functions.) I am using the Basic Stamp Editor v1.33, and I was under the
impression that if the code worked on the BS2sx, that I would only have to
change the directive to get it to work for the BS2p24. I assumed this because
the code will tokenize successsfully for both processors, and if I had used a
function that isn't available on the BS2p24, the Stamp Editor would generate a
syntax error. The code is downloading to the BS2p24, but doesn't run properly.
I know I can take my code apart line by line and see what the problem is and I
will do that anyway. What I am wondering is why my assumption above seems to be
wrong. Is there something I have missed?
Neil
and I want to move over to a BS2p24 (FW v1.3). (I want to use the LCD
functions.) I am using the Basic Stamp Editor v1.33, and I was under the
impression that if the code worked on the BS2sx, that I would only have to
change the directive to get it to work for the BS2p24. I assumed this because
the code will tokenize successsfully for both processors, and if I had used a
function that isn't available on the BS2p24, the Stamp Editor would generate a
syntax error. The code is downloading to the BS2p24, but doesn't run properly.
I know I can take my code apart line by line and see what the problem is and I
will do that anyway. What I am wondering is why my assumption above seems to be
wrong. Is there something I have missed?
Neil
Comments
> I have a substantial amount of code that I was running on a BS2sx (FW
> v1.0), and I want to move over to a BS2p24 (FW v1.3). (I want to use the
> LCD functions.) I am using the Basic Stamp Editor v1.33, and I was under
> the impression that if the code worked on the BS2sx, that I would only
> have to change the directive to get it to work for the BS2p24. I assumed
> this because the code will tokenize successsfully for both processors,
> and if I had used a function that isn't available on the BS2p24, the
> Stamp Editor would generate a syntax error. The code is downloading to
> the BS2p24, but doesn't run properly. I know I can take my code apart
> line by line and see what the problem is and I will do that anyway. What
> I am wondering is why my assumption above seems to be wrong. Is there
> something I have missed?
>
>Neil
>
>Neil -
It could well be a timing problem. Serin/Serout, Pulsin/Pulsout, RCTime,
and other time sensitive operations should be checked.
Regards,
Bruce Bates
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> It could well be a timing problem. Serin/Serout, Pulsin/Pulsout, RCTime,
> and other time sensitive operations should be checked.
>
> Regards,
>
> Bruce Bates
Thank you for the suggestion Bruce. I am doing a little Serin/Serout, and a lot
of synchronous serial comm with ShiftIn/ShiftOut for communications with ADCs
and DACs.
Neil