Page 107 of 192
Re: Count To Five
Posted: Tue Jul 05, 2016 5:27 pm
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?
Re: Count To Five
Posted: Tue Jul 05, 2016 5:36 pm
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.

Re: Count To Five
Posted: Tue Jul 05, 2016 5:41 pm
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
Re: Count To Five
Posted: Tue Jul 05, 2016 5:44 pm
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.
Re: Count To Five
Posted: Wed Jul 06, 2016 12:15 am
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"
- Install macports (available on their website)
- Open terminal, install dfu-util with the following command:
- 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.
Re: Count To Five
Posted: Wed Jul 06, 2016 1:38 am
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.
Re: Count To Five
Posted: Wed Jul 06, 2016 2:58 am
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.

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!
Re: Count To Five
Posted: Wed Jul 06, 2016 3:40 am
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
- Plug in your Ct5
Code: Select all
dfu-util -a 0 -D /path/to/dfuse-image.dfu
Re: Count To Five
Posted: Wed Jul 06, 2016 10:03 am
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.
Re: Count To Five
Posted: Wed Jul 06, 2016 10:13 am
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
Re: Count To Five
Posted: Wed Jul 06, 2016 11:02 am
by ogguitar
Re: Count To Five
Posted: Wed Jul 06, 2016 11:37 am
by resincum
OOPS
Re: Count To Five
Posted: Wed Jul 06, 2016 11:38 am
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.
Re: Count To Five
Posted: Wed Jul 06, 2016 11:38 am
by resincum
it erased & updated just how the instructions said it would. how to 'reflash'?
Re: Count To Five
Posted: Wed Jul 06, 2016 11:39 am
by Inconuucl
Basically just go through the instructions again.