The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!

c0nb0x

by antto on Wed Jun 06, 2012 8:14 pm

18.09.2013
Note: v1.01 for osx is not available yet
c0nb0x v1.01 (Download page)
what's new:
Code: Select all | TOGGLE FULL SIZE
   ----- Updated to allegro 5.0.10.
   -bugfix- the TimeOutCounter implementation was using time.h but appeared to
            behave incorrectly on osx/unix.
   -new- MSG_GET_MEM, MSG_SET_MEM - messages for getting/setting variable
         amounts of data from the memory. If these are supported by the
         FW - they will be used for the import/export EEPROM functions.
   -new- MSG_PATBUF - message to make possible the c0nb0x pattern editor to
         read/write pattern(s) directly from/to the FW pattern buffer (which
         is supposedly in RAM) which should minimize EEPROM access, and make
         editing patterns via c0nb0x much faster.
   -new- MSG_TEXTOUT - message to help debug FW via sending text, integers,
         hex, and binary blobs to c0nb0x, which will be printed on screen.
   -new- MSG_GET_INFO - message to get various info about the x0xb0x/FW (used
         on Connect)
   -new- MSG_ISSUP is now actually used on Connect to query these new features.
   -new- Support for n0nx0x2 (ID=23) and the n0nx0x2 pattern format.
   -new- Support for sokkos (ID=2) and sokkos2561 (ID=20).
   -new- The "Import Patterns" function is able to convert the patterns. This
         works by looking up the OSID from the .cxm file and guessing if the
         pattern format for that OSID is different from the current one in the
         x0xb0x. If they differ - c0nb0x will ask whether to convert the
         patterns. It's equivalent to loading each pattern into the Pattern
         editor and sending it to the x0xb0x (thus can be lossy).
   -new- SP_DELAY added to the config file, it's an adjustable delay between the
         packets that c0nb0x writes to the Serial Port. If there is some trouble
         during flashing FW with c0nb0x - this delay can be increased and *may*
         help.

if you get stuck - read the included ReadMe
and as always, suggestions and bug reports are welcome

*original post* wrote:
it's here!
c0nb0x 0.99 win32
c0nb0x 0.99 mac osx

bug reports and suggestions are welcome

there are a bunch of things i would like to add in a newer version, but i want to know if this works stable on both windows and mac osx
Last edited by antto on Sat Oct 05, 2013 3:25 pm, edited 6 times in total.
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1329
Joined: Thu Apr 15, 2010 2:21 pm
Location: 127.0.0.1

Re: c0nb0x

by Luap on Wed Jun 06, 2012 11:29 pm

Wow nice! I lost track of how far this had got, until I read the other thread just now. Unfortunately however, it won't boot on my Mac (10.7.4)

Image

And some info that looks relevant from the log:


Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
Library not loaded: /Users/*/AllegroAcodec-5.1.framework/Versions/5.1.2/AllegroAcodec-5.1
Referenced from: /Volumes/VOLUME/c0nb0x.app/Contents/MacOS/c0nb0x
Reason: image not found
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by antto on Thu Jun 07, 2012 6:21 am

i'm very unfamiliar with mac, but it looks like it's missing the "allegro dll" :oops:
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1329
Joined: Thu Apr 15, 2010 2:21 pm
Location: 127.0.0.1

Re: c0nb0x

by Luap on Thu Jun 07, 2012 9:19 am

Apparently, I am less familiar with them than you, despite using them for 20 years :lol:
I wish I could help more, but coding really isn't my thing.. :cry: I do hope you can get it working though, it would be massively useful, especially for us Mac folk that had to use the other shaky software on a PC instead prior to this..
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by darffader on Thu Jun 07, 2012 10:13 am

I compiled the Mac version for antto, so it's my fault.. :lol:

It works fine here though ;)
But yeah, I know what the problem is and I'll check for a fix tonight.
User avatar
darffader
 
Posts: 292
Joined: Tue Jul 14, 2009 3:50 pm

Re: c0nb0x

by Luap on Thu Jun 07, 2012 12:29 pm

I figured it wouldn't hurt to try it on my other, older intel Mac, which still runs 10.6.8
I get an entirely different error on there..

Image

10.6.8 is still quite a popular OS to use, and really not so old either. It doesn't much matter to me, but I'm sure other folk would appreciate support for that OS too :wink:
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by antto on Thu Jun 07, 2012 2:40 pm

the mac osx version has been recompiled and updated (use the same link from the first post)
re-download and see if it works now (it should) :wink:
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1329
Joined: Thu Apr 15, 2010 2:21 pm
Location: 127.0.0.1

Re: c0nb0x

by Luap on Thu Jun 07, 2012 5:05 pm

Good news and bad news.

The good news. It boots!

The bad news is, it looks like this..

Image

I don't think it is supposed to look like that?? So perhaps unsurprisingly I can't control anything either.
On launch it also opens up another, completely empty white window.

The other bad news is, it won't quit either. I have to go to the activity monitor and force quit it.

But hey, it's progress! :wink:
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by darffader on Thu Jun 07, 2012 5:47 pm

Press enter to start, ESC to quit

Check setting

2nd window is bug, but doesnt hurt ;)

And yes, its supposed to look like that
User avatar
darffader
 
Posts: 292
Joined: Tue Jul 14, 2009 3:50 pm

Re: c0nb0x

by Luap on Thu Jun 07, 2012 6:00 pm

Doh!! I feel silly.. :oops: Ok, so it does boot and run! :mrgreen: I'll test it properly with my x0x later this evening.

Thanks! 8)
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by MMM on Fri Jun 08, 2012 1:26 am

What are the exact system requirements for the Mac version?

OS X 10.5 seems not to do it...
MMM
 
Posts: 429
Joined: Tue Apr 24, 2012 12:51 am

Re: c0nb0x

by darffader on Fri Jun 08, 2012 2:19 am

Normally 10.6 (intel) en 10.7

If you're running 10.5 I suggest you update to 10.6
User avatar
darffader
 
Posts: 292
Joined: Tue Jul 14, 2009 3:50 pm

Re: c0nb0x

by Luap on Fri Jun 08, 2012 9:05 am

For me it only runs on OS X 10.7
The latest build doesn't run in OS X 10.6. I now get this error..
"You can't open the application "c0nb0x" because it is not supported on this type of Mac"
Which seems strange.. They are both Intel Macs.
On the 10.6 Mac, the c0nb0x icon also has that white circle with a line through it, on top of it. Much like you'd see on a PPC app icon in 10.7 for example.

10.7 is my main OS anyway, so this isn't any real problem for me. But as I mentioned earlier, there are lots of folk out there running 10.6 and older.
I still need to actually test this WITH my x0xb0x! Which i'll do today hopefully.
Luap
 
Posts: 354
Joined: Wed Jul 08, 2009 6:10 pm
Location: London'ish. UK

Re: c0nb0x

by antto on Fri Jun 08, 2012 9:51 am

i updated the ReadMe.txt a little bit, it will be included in the next version (whenever that is)
for now, you can view it from here: ReadMe.txt
it now includes some basic guide for configuring the app, navigating the menus, flashing firmware, connecting to the x0xb0x, and the new file formats used by c0nb0x

and i recorded a video showing how to Upload FirmWare and the new Pattern Editor :wink:
http://www.youtube.com/watch?v=9LuWMUQQ750
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. http://forums.adafruit.com/viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: http://forums.adafruit.com/viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 1329
Joined: Thu Apr 15, 2010 2:21 pm
Location: 127.0.0.1

Re: c0nb0x

by gompie on Fri Jun 08, 2012 3:42 pm

I started up the MAC version this evening. The program seems to respond correctly. It says it had success opening the serial port but can't seem to get the firmware up to the x0xb0x though...

Image

I've tried to upload sokkOS 1.9.1 and 2.0, but failed here. I'm on a mac with OS 10.7.4 b.t.w.
gompie
 
Posts: 28
Joined: Mon May 28, 2012 1:07 pm