Count To Five

Moderator: multi_s

Post Reply
User avatar
Jwar
Cosmic of BILF
Cosmic of BILF
Posts: 18238
Joined: Thu Dec 02, 2010 7:18 pm
Location: The edge of existence

Re: Count To Five

Post by Jwar »

So I'm just kind of dumb with all this. Is the installing the firmware pretty easy and straight forward? I'm going to give it a go, although I'm still so like out of loop on this thing. I read what you guys say and only half of it makes sense. LOL!! That's my own ignorance. So I just plug that thing in with a USB cord and hit install or something and I'm good to go right?
"I do not have the ability to think rationally 90% of the time and I also change my mind at the drop of a hat".

-JWAR :)
Tristan
Supporter
Supporter
Posts: 3051
Joined: Wed Feb 27, 2013 8:23 pm
Location: Harlem, The Netherlands

Re: Count To Five

Post by Tristan »

Half of it, wow, you're a lot smarter than me man!
I think I'm gonna wait out for the dummies version firmware or something. :lol:
good deals with: the_brow, phantasmagorovich, alexsga, DarkAxel, goroth, The Wood Wizard, Tendollarcat, vbps, monkeydancer, intothegroove, Brobee
zoooombiex
Fantasian of BILF
Fantasian of BILF
Posts: 430
Joined: Sun Mar 15, 2015 2:20 am

Re: Count To Five

Post by zoooombiex »

on a pc it's very easy. instructions are here: http://mtlasm.blogspot.ca/p/count.html

no programming or anything like that required
User avatar
multi_s
IAMILF
IAMILF
Posts: 2095
Joined: Mon Feb 15, 2010 9:00 pm

Re: Count To Five

Post by multi_s »

jwar wrote:So I'm just kind of dumb with all this. Is the installing the firmware pretty easy and straight forward? I'm going to give it a go, although I'm still so like out of loop on this thing. I read what you guys say and only half of it makes sense. LOL!! That's my own ignorance. So I just plug that thing in with a USB cord and hit install or something and I'm good to go right?
Do you have a windows computer? If so it is very easy. Just follow these instructions/links:
http://mtlasm.blogspot.ca/p/count.html

edit: oops haha someone beat me to it.


If you have Mac maybe wait till tomorrow and maybe someone will verify if the links a few posts back i left for DRod will work or not. If you have never opened the terminal on your mac though i am not looking to support that, but maybe we can write a script to execute instead. I just don;t have access to os x at the moment.


I would say just update it, it will make more sense once you can test the new things on the device instead of just reading. If it is too much you can still get the previous firmware from the site and flash it back to what shipped with it instead.
User avatar
DRodriguez
IAMILFFAMOUS
IAMILFFAMOUS
Posts: 3666
Joined: Thu Apr 09, 2015 1:40 pm
Location: Brooklyn

Re: Count To Five

Post by DRodriguez »

multi_s wrote:ok here is the page for the other app

http://dfu-util.sourceforge.net/

the chips are st micro so you can see the additional info required on this page

http://dfu-util.sourceforge.net/dfuse.html

the first line in the example commands on the second link should work, just use the path to the dfu you download from my website. the dfu file should know the proper addresses to re write. presumably the upload wipes the flash first, which might be necessary if it does not.

s
So I went through with everything but the final push to the Ct5 since I'm at home and the Ct5 is at my rehearsal space. I will try it out in the morning.

I had a few issues with the linked install instructions to build it from the source.. Since they wrote that, the git-core port has been renamed simply to git. They also left out the following dependencies: autoconf automake libtool pkgconfig.

Alternative method that would be easier, there is actually a dfu-util install available if you use macports or Homebrew, and I'm an idiot who should have tried that first.

So, full instructions for people:
  • Install Xcode and the Xcode Command Line Tools (available in the mac app store or via the mac developers page if you need an older version to run on your mac. The download is like 5GB and will take like 10GB of space once installed
  • Open Xcode agree to Apple's terms
  • Agree to the command line terms by typing the following command into terminal and then scrolling until you can type "agree"

    Code: Select all

    sudo xcodebuild -license
  • Install macports (available on their website)
  • Open terminal, install dfu-util with the following command:

    Code: Select all

    sudo port install dfu-util
  • Finally install the update with the final command, replacing the path with the Ct5 Update:

    Code: Select all

    dfu-util -a 0 -D /path/to/dfuse-image.dfu
Simple, but a little time consuming if you don't already have xcode installed.

Also, i just realized I need to upgrade my Ct5 since I have a revision j and I'm just now realizing I won't be getting all these k, and l updates.
User avatar
DRodriguez
IAMILFFAMOUS
IAMILFFAMOUS
Posts: 3666
Joined: Thu Apr 09, 2015 1:40 pm
Location: Brooklyn

Re: Count To Five

Post by DRodriguez »

Update: Final test was a success.

Only weird thing was that my mac would not read the Ct5 unless i plugged in the USB first, then powered the Ct5 on.
sitarman
involved
involved
Posts: 66
Joined: Thu Mar 03, 2016 8:23 pm

Re: Count To Five

Post by sitarman »

Tristan wrote:Half of it, wow, you're a lot smarter than me man!
I think I'm gonna wait out for the dummies version firmware or something. :lol:
Yes. Think I am going to wait for a dummie version of the Mac fw update too. For me it's too complicated. In the meanwhile I will try to find a friend who has a Windows computer (most of them have a Mac).

Edit: I only saw DRodriguez post after I have posted this. Still looks a bit complicated to me though but that can be me. Thanks for providing us the tools for Mac!
Last edited by sitarman on Wed Jul 06, 2016 10:16 am, edited 1 time in total.
User avatar
DRodriguez
IAMILFFAMOUS
IAMILFFAMOUS
Posts: 3666
Joined: Thu Apr 09, 2015 1:40 pm
Location: Brooklyn

Re: Count To Five

Post by DRodriguez »

it is rather easy, and you could do it even easier with Homebrew. Homebrew bypasses all the Apple Xcode stuff, but I prefer macports because it is more flexible for all the other crap I do.
  • You'd instead just do. (in theory, not tested)

    Code: Select all

    forum software won't let me post this command, but it's the first command on this page
    http://brew.sh/
  • follow the prompts

    Code: Select all

    sudo brew install dfu-util
  • Plug in your Ct5

    Code: Select all

    dfu-util -a 0 -D /path/to/dfuse-image.dfu
User avatar
Seance
FAMOUS
FAMOUS
Posts: 1855
Joined: Tue May 27, 2014 10:04 am
Location: Ontario, Canada.
Contact:

Re: Count To Five

Post by Seance »

Thanks, Drodriguez for checking out and testing the Mac protocol.

I'll have to check out this procedure when I get the time to sit down with it.
User avatar
multi_s
IAMILF
IAMILF
Posts: 2095
Joined: Mon Feb 15, 2010 9:00 pm

Re: Count To Five

Post by multi_s »

DRodriguez wrote:Update: Final test was a success.

Only weird thing was that my mac would not read the Ct5 unless i plugged in the USB first, then powered the Ct5 on.
Ok first thank you for taking the time to check this out. You are amazing!

Second this is not likely anything to do with your mac, if you look at my windows instructions it says you have to plug in the USB first, then power up the ct5. This is normal. The reason is teh micro only looks for the connection on power up, otherwise the usb port is not active. So at start up the chip checks the com peripherals to see if it should go into the bootloader, if not it loads the user application and does not look back. So if you plug in a usb cable once the user application is running, nothing happens. It is normal.

s
ogguitar
involved
involved
Posts: 98
Joined: Sun Dec 22, 2013 3:23 am

Re: Count To Five

Post by ogguitar »

Yay Drodriguez!!!! :!!!: :!!!: :!!!: I know what I'm doing first thing when I get home from my trip this Friday night :yay:
User avatar
resincum
Supporter
Supporter
Posts: 3883
Joined: Fri Oct 24, 2014 12:30 am
Location: el paso

Re: Count To Five

Post by resincum »

OOPS
Last edited by resincum on Wed Jul 06, 2016 11:51 pm, edited 3 times in total.
i'm glad i can call you a friend. even if i'll never see you again
Image
User avatar
Inconuucl
Supporter
Supporter
Posts: 6407
Joined: Mon Jul 28, 2014 9:35 pm
Location: Boston, MA

Re: Count To Five

Post by Inconuucl »

resincum wrote:hey $cott I don't if you're buried in emails, so I'm going to post here as well; but I tried updating my CT5 through windows, followed the exact instructions and everything was A OK through the program, but now my CT5 won't turn on :???: I tried it a few more times, still no luck. my computer still recognizes the ct5 tho so maybe hope is not lost?
Try to reflash? Maybe you just wiped the memory and didn't install the new firmware.
Le Ciel Inconnu (I was a whale once.)
Image
NSFW: show
Chankgeez wrote: We should have a game show à la Name That Tune

Inconuucl: I can shoegaze that tune with 5 pedals.
other contestant: I can shoegaze that tune with 4 pedals.
Inconuucl: I can shoegaze that tune with 3 pedals.
other contestant: OK, shoegaze that tune!
Inconuucl: :!!!:
User avatar
resincum
Supporter
Supporter
Posts: 3883
Joined: Fri Oct 24, 2014 12:30 am
Location: el paso

Re: Count To Five

Post by resincum »

it erased & updated just how the instructions said it would. how to 'reflash'?
i'm glad i can call you a friend. even if i'll never see you again
Image
User avatar
Inconuucl
Supporter
Supporter
Posts: 6407
Joined: Mon Jul 28, 2014 9:35 pm
Location: Boston, MA

Re: Count To Five

Post by Inconuucl »

Basically just go through the instructions again.
Le Ciel Inconnu (I was a whale once.)
Image
NSFW: show
Chankgeez wrote: We should have a game show à la Name That Tune

Inconuucl: I can shoegaze that tune with 5 pedals.
other contestant: I can shoegaze that tune with 4 pedals.
Inconuucl: I can shoegaze that tune with 3 pedals.
other contestant: OK, shoegaze that tune!
Inconuucl: :!!!:
Post Reply