geekhack

geekhack Projects => Making Stuff Together! => Topic started by: six_chains on Sat, 06 December 2014, 09:37:33

Title: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: six_chains on Sat, 06 December 2014, 09:37:33
I've been working on this 1986 Terminal Model M for about 3 weeks now in my spare time; Deep clean, bolt & nut mod, and soarer's converter.

I finally wrapped & buttoned everything up last night (album coming soon), & everything works perfectly except that a few keys need to be remapped.

I'm loosely following this guide here: http://imgur.com/a/sHkz4


I wrote a config file for my remapblocks & macros (.sc), but not sure how to push it to the Teensy?
I used the Teensy Loader to program it with Soarer's Hex, but no options for any other file types.
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: E TwentyNine on Sat, 06 December 2014, 10:06:43
You have Soarer's tools from the link here? https://geekhack.org/index.php?topic=17458.


scas your_mapping.sc your_mapping.scb
  will build the binary and

scwr your_mapping.scb
will push it out to the device

Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: six_chains on Sat, 06 December 2014, 10:31:05
Thanks! just grabbed that.

I tried those steps, no luck. Crawled through the docs and found that I can use the scaswr.bat, drop

it spit out this:
[attach=1]

settings version fail?
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: E TwentyNine on Sat, 06 December 2014, 11:10:16
The commands I gave are what's in scaswr.bat, without the prompting.

I'm guessing the toolset you're using is the wrong level compared to the hex you loaded.  You either need to load the hex in the zip I referenced and then use the tools, or find the tools that should have been included with the hex file you had flashed.

This is a downlevel toolset, try these first: [attachurl=1]

Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: six_chains on Sat, 06 December 2014, 13:30:33
The commands I gave are what's in scaswr.bat, without the prompting.

I'm guessing the toolset you're using is the wrong level compared to the hex you loaded.  You either need to load the hex in the zip I referenced and then use the tools, or find the tools that should have been included with the hex file you had flashed.

This is a downlevel toolset, try these first: (Attachment Link)

Worked like a charm. Thanks a lot for your help! The Hex I downloaded didn't come with the tools for some reason.
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: ShawnMeg on Sat, 06 December 2014, 15:50:06
I created my .sc file, then dragged and dropped onto the scaswr (Windows Batch File) in the tools folder (from the unzipped Soarer's firmware download). Go to the tools folder.  I had Soarer_sctools_v1.10_win32 (version I used) unzipped into its own folder, which has the Windows batch file.
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: arakula on Sun, 07 December 2014, 07:05:03
You have Soarer's tools from the link here? https://geekhack.org/index.php?topic=50437.0
That's the wrong one.
The Converter tools are not the same as the Controller tools.
... but the OP already found that out ...
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: six_chains on Sun, 07 December 2014, 09:38:06
You have Soarer's tools from the link here? https://geekhack.org/index.php?topic=50437.0
That's the wrong one.
The Converter tools are not the same as the Controller tools.
... but the OP already found that out ...


Yup. thanks though. It'll help anyone who finds this thread in the future.
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: E TwentyNine on Sun, 07 December 2014, 12:32:00
You have Soarer's tools from the link here? https://geekhack.org/index.php?topic=50437.0
That's the wrong one.
The Converter tools are not the same as the Controller tools.
... but the OP already found that out ...

That was the result of a hasty search for a soarer zip, didn't notice I found the wrong thread.  Checked that the zip had "sctools" and of course it did, but the "c" was for something different...

For future reference, the converter thread is here: https://geekhack.org/index.php?topic=17458.

Fixed in original comment.
Title: Re: [help] How do I push a config file to my Teensy 2.0 (Soarer's)
Post by: dorkvader on Sun, 07 December 2014, 14:33:25
I think of it this way:

Soarer initially did his converter code and added the controller code and WYSE code later.

So all the documentation, tools, etc are with the converter (I get the most recent from deskthority). Then I download the hex file for the project at hand and the add-on documentation for it. I have everything all in a folder in c:/kb/soarer which makes it easy.