Go Down

Topic: Mighty-1284P core updated for Arduino 1.0.6 (Read 15389 times) previous topic - next topic

mcnobby

I do not wish to offend, but I view the Arduino more of a toy platform - albeit a rather capable toy.
It may be just that Ray, but I think that is what appeals to many, its simplicity and noobie friendliness, and the fact that it is not strictly C, and for me some of the waffle has been removed

In the past I have used some very unfriendly IDE's and even nastier ICE's and debuggers

I love Arduino, literally !

I am not a hardened software engineer and learnt by watching others, experimenting and reading, not by schooling, so for me, the more products that can be squeezed out of a single 'platform' the better

The range of devices I use go from ATTiny13 to (now) STM32 (using 1284 and 2560 in between)

So your comment about BEING A RATHER CAPABLE TOY is absolutely SPOT ON !!!

Bob
http://www.youtube.com/user/Recovered
http://www.smartshow.lighting

ChilliTronix

I do not wish to offend, but I view the Arduino more of a toy platform - albeit a rather capable toy.

It is. Which means more people play with it, more people means more ideas, a bigger marketplace and lower prices. It then means that more people can develop ideas that would never have been thought of.

All I can see is win win.

The real bonus would be getting the STM chips working well as a toy!

mcnobby

All I can see is win win.

The real bonus would be getting the STM chips working well as a toy!
:) I am sure that day will come soon sir ;)
http://www.youtube.com/user/Recovered
http://www.smartshow.lighting

GoForSmoke

I do not wish to offend, but I view the Arduino more of a toy platform - albeit a rather capable toy.

Ray

I spent years writing and fixing software that small businesses ran on less capable toys with.

But when what you know are desktop supercomputers, it's like comparing the latest Airbus to a sedan.
I don't need an Airbus to go get groceries.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

ChilliTronix

I spent years writing and fixing software that small businesses ran on less capable toys with.

But when what you know are desktop supercomputers, it's like comparing the latest Airbus to a sedan.
I don't need an Airbus to go get groceries.
We have smart phones with more power than a 1970s super computer.... and what do we do with them?

Arduinos are both toys and capable. The two are not mutually exclusive.

larryd

The Large Hadron Collider is the worlds biggest toy.  ;)
No technical PMs.
The last thing you did is where you should start looking.

ChilliTronix

The Large Hadron Collider is the worlds biggest toy.  ;)
Quite, I was happy with getting two trains crashing into each other... Apparently that is nothing like big enough or fast enough :)

GoForSmoke

#37
Nov 25, 2014, 03:32 am Last Edit: Nov 25, 2014, 03:33 am by GoForSmoke
The Large Hadron Collider is the worlds biggest toy.  ;)
I think that the world economy has got that beat. Know any Johnny Paycheck songs?
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

oric_dan

#38
Nov 26, 2014, 06:54 pm Last Edit: Nov 26, 2014, 09:08 pm by oric_dan
Well, this thread sure went off the tracks (Ray strikes again).

GoForSmoke

Should I be able to copy and modify the 16MHz Optiboot 1284P core file to run 8MHz as another core?
I get the feeling that this was pointed out to me in the last few days and I missed the clue.
Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts

pico

#40
Jan 12, 2015, 07:28 am Last Edit: Jan 12, 2015, 08:00 am by pico
I didn't do the original work on the libraries; to get up to speed and dive into that would probably be more time than I'm going to have here for a while. If someone wanted to take that on (or partly, even a single library), that'd be great :smiley-grin:
I did all the changes to the patched libraries (official and unofficial) for the 1.0.5 release.

So if anyone has any questions on these, just ask.

I was actually looking in to see what the situation now that IDE 1.0.6 is released. Depending on what has changed in the libraries for 1.0.6, I, may need to make an updated copy of the patched libs for 1.0.6.

I notice that on the github installation instructions, there isn't a mention of the "patched-libs" folder, and where to place the contents. This should probably be updated.

When I did the patches for the SdLib library, I was in contact with Bill Greiman, who said he would include the needed changes to support the 1284p in subsequent releases of his SdLib. I'm not sure where that's up to -- I'll have to check with him.

 
WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

oric_dan

Hi pico, a while back, I started another thread to try and sort this all out in my poor asphyxiated mind. I don't know what may have transpired since then. I think I gave you a couple of +1s, but you probably need some more.
http://forum.arduino.cc/index.php?topic=277769.0

liuzengqiang

Jack,

The Arduino 1.6.0 IDE is out. Out of my character, I'm trying it out. Any interest in updating the 1284P core? I made a custom core based on bobuino and it's working.

Note: it seems that 1.0.5 uses its arduino core files even when I have the custom core folder inside mighty-1284P. Evidence is my analog pins are backwards A0 is actually A7. But if I compile with 1.0.6 it works.
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter

bperrybap

Jack,

The Arduino 1.6.0 IDE is out. Out of my character, I'm trying it out. Any interest in updating the 1284P core? I made a custom core based on bobuino and it's working.

Note: it seems that 1.0.5 uses its arduino core files even when I have the custom core folder inside mighty-1284P. Evidence is my analog pins are backwards A0 is actually A7. But if I compile with 1.0.6 it works.
Not sure how you did your integration, but I didn't have to do much other than massage the directory
tree and create boards.txt and platform.txt file.
1.5/6 uses a different hardware core library structure.
When I got the 1284 stuff up and working on 1.5x quite some time ago, I thought that it was much
easier in 1.5x vs the 1.x IDE because you can bundle everything down under the core like the modified
libraries.
This makes it a simple 1 time tar/zip extract to install the 1284 support and you are done vs having
to piece meal various core components and libraries.
It also means that you don't have any colllisions with the IDE supplied core since the IDE supplied core
will not be used (assuming you properly create the boards.txt and platform.txt files) and the core along
with its core supplied libraries will override the IDE suplied libraries.

Longer term I think the ability to override IDE supplied libraries with a core supplied library
is great for maintenance since don't have to create (or test)
a library that works on all cores, you only have to worry about the specific core.
i.e. any libraries that ship with the 1284 core only have to work with the 1284 core since
they are only used when that core is used.

--- bill

liuzengqiang

Bill,

I found out what went wrong just yesterday. I downloaded 1.0.5 1284p mod with all the core files etc. but then the boards.txt and a few other files came from 1.0.6 1284p mod. I didn't know what I was doing when I did it and only realized now. With 1.0.5 IDE and 1.0.6 boards.txt that uses standard core file, I was using 1.0.5 IDE's core that doesn't have the analog channel to pin macro to do the correct mapping, although the 1.0.6 1284p mod defines it in variants pins_arduino.h. When I was using 1.0.6 IDE, it's already using this macro, so it worked. If I downloaded 1.0.5 1284p mod with the corresponding boards.txt, it would use 1284 core instead and everything would be fine. Just another learning opportunity for me.

With 1.6.0, you only need vendor_name/avr/boards.txt etc. without core files, just like 1.0.6 1284p mod. It's more clear what the changes are. With the old /core folder, I can't tell which core file needed the change.

Here is an issue I don't yet understand:
With 1.0.5 1284p mod, the boards.txt refers to a mighty core (https://github.com/JChristensen/mighty-1284p/blob/v1.0.5/boards.txt). Does this mean that I need to name my folder as mighty instead of mighty-1284p? I'll need to read arduino's 1.5 hardware specification to get some ideas of what it means to define a new core, correct?
Serial LCD keypad panel,phi_prompt user interface library,SDI-12 USB Adapter

Go Up