Pages: 1 [2] 3 4 5   Go Down
Author Topic: Project Bambino  (Read 5423 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26934
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

In the IDE folders, there is a /variants folder.
You need a /1284p folder there.

You might have better luck starting with the mighty1284 cores setup, and copying the mighty1284 variant folder into a 644 variant folder.

https://github.com/maniacbug/mighty-1284p
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I burned the fuses and lockbits and it worked.
It starts up again reading back the same fuses with a 16MHz crystal.

Now to the Arduino IDE.

 


* fuses2.jpg (11.46 KB, 177x126 - viewed 31 times.)
Logged

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ITS ALIVE!

I have blink smiley

I had to change the signature in Avrdude.conf to 0x1E 0x97 0x06.
and now the ArduinoIDE loads sketches to my 1284P-PU.

Oh happy day smiley smiley



* alive.jpg (69.32 KB, 522x497 - viewed 42 times.)

* blink.jpg (102.92 KB, 500x707 - viewed 33 times.)
« Last Edit: December 03, 2013, 04:46:08 pm by janost » Logged

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Could an onboard ATtiny85 running VUSBtiny serve as an USB programmingport?

I know there are issues using USBtiny with flashsize >64K and it wont work as a serial debug?
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 145
Posts: 5453
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Could an onboard ATtiny85 running VUSBtiny serve as an USB programmingport?

Yes.

https://tequals0.wordpress.com/2011/09/26/attiny45-based-usbtinyisp-programmer/

I know there are issues using USBtiny with flashsize >64K and it wont work as a serial debug?

You've got a TV output for debugging.... :-)

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Does the USBtiny work with a 1284?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26934
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is an AVR Programmer?

I don't know. I use Atmel AVR ISP MKii.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is an AVR Programmer?

I don't know. I use Atmel AVR ISP MKii.


And I use AVR ISP v2 which is stk500v2

I have no problems with it but an average user would just want to plug the board into USB and use the IDE?
Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 145
Posts: 5453
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does the USBtiny work with a 1284?

I don't know, but if it doesn't it must be a firmware problem. Maybe you're the guy to fix it...!

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26934
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I use the AVR ISP MKii within the IDE. Only sticking point was getting Windows to use the driver for it, that is supplied in an IDE folder. Letting Atmel Studio install the Jungo driver for it complicated that, there is a forum post from Summer 2012 I think that tells how to fix that, and another topic that allows both.  I find Atmel Studio to take waaaaaaaay tooooooo long to start up, so I don't use it, and do not even have it installed right now.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I find Atmel Studio to take waaaaaaaay tooooooo long to start up, so I don't use it, and do not even have it installed right now.

Agreed.
It's just to much with Visual Studio and all.
That's the reason I don't use it either.

The Pololu Programmer was easy.
I just installed the driver and told the IDE to use it.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26934
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The IDE supports the MKii also, it's right in the Programmer list - just needed windows to find the driver. And I complicated that on myself with the Jungo driver first.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why would someone develope an ISP that breaks at 64K?
I just dont get it?

What happens att 64K?
Pagesize? Buffer? or what?

The PC sends an address and a page and says write.

Whats the difference?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26934
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think a lot of these things started as programmers for smaller chips, and perhaps weren't kept up as memory sizes increased.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
God Member
*****
Karma: 6
Posts: 521
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So the problem is the page?

And limited to 16bits?

To disect the USBtiny firmware I need to know what im looking for.
« Last Edit: December 06, 2013, 02:32:36 pm by janost » Logged

Pages: 1 [2] 3 4 5   Go Up
Jump to: