sammielove45 / propgcc

Automatically exported from code.google.com/p/propgcc
1 stars 1 forks source link

SpinStamp not supported in propeller-load.cfg #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In propgcc-0.2.2, the propeller-load.cfg does not contain definitions for the 
Spin Stamp module from Parallax.

Because this module contains a 10MHz crystal, it is important to use the 
correct target board -- otherwise the PLL16X mode overdrives the CPU.  
Furthermore, the Spin Stamp only has 32KB of ROM, making caching not relevant.  
Thus, the Spin Stamp requires definitions similar to the demo board, but with 
the clkmode changed to PLL8X:

[spinstamp]
    clkfreq: 80000000
    clkmode: XTAL1+PLL8X
    baudrate: 115200
    rxpin: 31
    txpin: 30
    tvpin: 12   # only used if TV_DEBUG is defined

Also note there are no definitions for the PropStick.  I don't have one, but 
the PropStick is documented to have a 5MHz crystal, and again it has 32KB of 
ROM.  Thus, it should use the exact same definitions as the demo board, but it 
would be nice to explicitly show that by having a separate entry in the 
propeller-load.cfg file:

[propstick]
    clkfreq: 80000000
    clkmode: XTAL1+PLL16X
    baudrate: 115200
    rxpin: 31
    txpin: 30
    tvpin: 12   # only used if TV_DEBUG is defined

Is GCC currently in a state where "average joes" can check in additions like 
this?  If not, then I'd like to request that the above additions be added to 
propeller-load.cfg in future releases.

Original issue reported on code.google.com by tjstefan...@charter.net on 28 Jan 2012 at 3:27

GoogleCodeExporter commented 9 years ago
Thanks for you bug reports and requests. I'll add these board types.

We will be changing the way the propeller-load.cfg works soon to use separate 
files soon.

Original comment by jsden...@gmail.com on 1 Feb 2012 at 9:40

GoogleCodeExporter commented 9 years ago
propstick.cfg and spinstamp.cfg have been added to the list of propeller-load 
configuration files. Usage example: propeller-load -r -b spinstamp

Original comment by jsden...@gmail.com on 8 Feb 2012 at 4:31