Searching \ for '[SX] SX/28 to SX/48 Migration Gotchas' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'SX/28 to SX/48 Migration Gotchas'.

Exact match. Not showing close matches.
PICList Thread
'[SX] SX/28 to SX/48 Migration Gotchas'
2006\03\01@115946 by gibbmann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, gibbman wrote:

If I don't need the extra ports on the SX/48, are there any major gotchas in migrating code from an SX/28 to a 48? Aside from changing the obvious, will the assembler make any changes required?
Thanks,
Jim
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=112498
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\03\01@122116 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

No, the compiler won't make a few important changes.

The mode and bank commands are changed. Id suggest using the available macros that implement the changed mode and bank for the SX48/52, and be sure to use them.

Note that global user memory begins at $A instead of $7 or $8.

I think those changes should be enough to allow the average program to compile and run.

This document is worth looking at: http://www.parallax.com/dl/appnt/sx/An15Conv.pdf
It takes more of a hardware rather than a software point of view but it does present the important changes.

David
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=112498#m112506
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\03\02@170302 by williamn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, william wrote:

If you use fsr in SX48, be careful that the current bank might be changed !

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=112498#m112758
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\03\02@195912 by George Herzogn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, George Herzog wrote:

Going from the comfort of Guenther's text [which is mostly SX-28] to using the Standardized SASM Template as provided by SX-Ubicom can be a bit daunting.

Though it would take me some time to create one, a conversion check list might teach newbies how to efficently adapt to the differences.  It certainly would ease locating why a program ran on SX-28, but won't assmeble on your SX-48 code.

The problem with the SX-Ubicom document is it covers everything and has pages and pages of contidional code before you really get to where the program is.  It is hard to locate what you want to know.

By the way, the wonderful thing about macros is that they do not load into memory -- just the snippet of code that they manage is inserted.   While they may look huge or complex, they really are a convience.

William mentions that the Banks of RAM a bit awkward.  The SX-28 uses every other bank to provide 50% of what the SX-48 provides.  So if you lable banks on the SX-28 as Bank 0, Bank 1, Bank 2; you are creating seeds for disaster.  
Try being more Generic.   On the SX-28 you can lable the banks by their true memory map positions as Bank$1, Bank$3, and so on.  This will migrate with better clarity as what you see is what you get.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=112498#m112786
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

2006\03\03@144648 by gibbmann/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, gibbman wrote:

All suggestions most helpful. I have an inkling of the memory map changes, and the fuse changes, etc. Guess it's a matter of trying some code and see where it fails. Thanks, folks!

Jim
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=112498#m113004
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...