New CPU Project
Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

Re: New CPU Project

by antto on Thu Nov 15, 2012 1:33 pm

contact him, use the emal from the .net domain

yes, this new cpu is all about MOAR code and thus MOAR features
polyphonic midi sequencing, drum sequencing, anyone? ;]
and moar blinky LED animations
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by mario1089 on Thu Nov 15, 2012 6:13 pm

..and a powerful, flexible sequencing core engine? where one just writes down what one wants to happen? and then the event queue gets it right? and we have enough flags at a single step? that I can set certain modes per step? semitone toggling within a note? stepped slides? and a proper swing at the Dinsync out? and the entire ProTools (uargh!) groove library in it, so that simple 1/16 swing is just one of 100 groove options? and this again happens at the dinsync output also? well, could be fun (but then again, maybe this is all just not enough 303-ish for some here :) :) ).
mario1089
 
Posts: 196
Joined: Wed Sep 19, 2012 8:11 am

Re: New CPU Project

by antto on Sat Dec 15, 2012 12:20 pm

Image
Image
Image
it's HERE \o/
:mrgreen: :mrgreen: :mrgreen:
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by xlarge on Sun Dec 16, 2012 4:12 pm

Textile came through. Awesome!
xlarge
 
Posts: 150
Joined: Wed Jul 11, 2007 2:02 pm

Re: New CPU Project

by antto on Mon Dec 17, 2012 6:54 am

so i got the new cpu plugged in, didn't damage the old one
i only had to desolder C105 cuz it was sticking out too much, i have lots of spare 1uF caps, soldered one with longer legs and it bends down now out of the way

the cpu runs, you can tell the tempo works differently now, much better
it uses the eeprom from the mainboard, which is kewl, no need to swap it
c0nb0x connects to it without a problem..

now, i tried to get it into bootload mode..
i expected it to act like the old cpu - restart in "BOOTLOAD" mode and it gets stuck, pressing buttons or turning switches doesn't do anything - well, not quite
if it's supposed to behave like the old cpu, then the symptoms are that it doesn't get into bootload mode at all

after i reboot it, for about a bunch of milliseconds i get that semi-random LEDs being lit up, and then it immediately clears them and lights up Bank1 LED and stays there
then, if i turn the FUNC knob to other modes - it *does* change, aka, it's the firmware :?

i downloaded the bootloader source code from guest's website, i see where he has modified it - specifically in main() he has added a peice of code to check the FUNC switch, so i assume it should work the same way as the old bootloader in that respect

i tried the avrdude command from guest's website, tho i didn't see how that would work given that i am pretty sure the thing doesn't really go into bootload mode
Code: Select all | TOGGLE FULL SIZE
avrdude -p atmega2561 -c stk500v2 -P COM3 -b 57600 -e -U flash:w:x0xb0x2.hex

and as expected, it doesn't work
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout


and if that's not enough, i tried one more thing to see if whether it runs the firmware or not
restarted the x0x in "bootload" mode, again, and i tried to connect with c0nb0x
it connects, so it *is* the firmware

Altitude: you were involved in this, can you please give me a hint what to do next?
do i have to buy that programmer device? or am i doing something wrong.. :cry:
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by mario1089 on Mon Dec 17, 2012 7:56 pm

you can tell the tempo works differently now, much better


so what`s that?
mario1089
 
Posts: 196
Joined: Wed Sep 19, 2012 8:11 am

Re: New CPU Project

by darffader on Tue Dec 18, 2012 4:48 am

mario1089 wrote:
you can tell the tempo works differently now, much better


so what`s that?


http://wiki.openmusiclabs.com/wiki/x0xb0x

The only major difference between this firmware and the stock v1.05 is that the tempo knob is sampled rather than run on an interrupt. This was changed due to its lines not being connected to external interrupts on the new CPU.
User avatar
darffader
 
Posts: 297
Joined: Tue Jul 14, 2009 4:50 pm

Re: New CPU Project

by Altitude on Thu Dec 20, 2012 8:18 am

what are you using to program it? I have one of these btw so we can probably work in parallel
User avatar
Altitude
 
Posts: 978
Joined: Wed May 11, 2005 5:17 pm

Re: New CPU Project

by antto on Fri Dec 21, 2012 8:35 am

Altitude wrote:what are you using to program it? I have one of these btw so we can probably work in parallel

uhm.. i thought it's flashable over USB like the old cpu
or is it not?
i don't have the "programmer" device thing
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by Altitude on Fri Dec 21, 2012 8:40 am

Where did you get it from? If you built it from scratch, the AVR will be blank but it sounds like you already have something there.. That mega has a JTAG programming interface so you need the JTAG programmer to flash the bootloader and I dont know if the USB code upload was ever done/tested when guest was working on it, i'll go back through my correspondance with him and see what I can find. I tried to just wire in the ISP pins and use my AtTiny that I had at the time but that thing did not support the avr that was in there so I shelved the project
User avatar
Altitude
 
Posts: 978
Joined: Wed May 11, 2005 5:17 pm

Re: New CPU Project

by antto on Fri Dec 21, 2012 9:54 am

well, textile sent me the cpu ready-built, it's programmed too (it runs the stock firmware)
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by Altitude on Sat Dec 22, 2012 7:15 am

You should check with him if there is a boot loader there, I dont know if he followed what guest did or just set out on his own. There are some AVR JTAG clones on ebay for $10 and I ordered one so I'll be set to go on this soon.. We should probably get Mario in the mix also
User avatar
Altitude
 
Posts: 978
Joined: Wed May 11, 2005 5:17 pm

Re: New CPU Project

by antto on Sat Dec 22, 2012 8:25 am

i'm waiting for a reply still
from his last letter he said:
Have you looked at Guest's page for the bootloader?
http://wiki.openmusiclabs.com/wiki/x0xb0x

It uses AVR dude , you may have better luck with the method described there.
I used a direct program to load the firmware so you may have to re-boot the firmware with avr dude.

i don't quite understand what he meant there :?
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1

Re: New CPU Project

by Altitude on Sat Dec 22, 2012 9:01 am

hmm, thats a little nebulous. I'll play around with it when my programmer gets here. You might want to think about ordering one: http://www.ebay.com/itm/AVR-USB-JTAG-em ... 2320949afa . It claims to be a clone compatible with AVR studio and considering the official one is $400, its worth trying for sure
User avatar
Altitude
 
Posts: 978
Joined: Wed May 11, 2005 5:17 pm

Re: New CPU Project

by antto on Fri Dec 28, 2012 12:30 pm

i spoke with another person, he linked me to a ISCP cable thing, i'm confused

i suppose this is about those 10 pins that stick out of the cpu mod PCB, right?
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: 1374
Joined: Thu Apr 15, 2010 3:21 pm
Location: 127.0.0.1