Shop OBEX P1 Docs P2 Docs Learn Events
Raspberry Pi 2 released. PropellerIDE faster on ARM. - Page 4 — Parallax Forums

Raspberry Pi 2 released. PropellerIDE faster on ARM.

124

Comments

  • jmgjmg Posts: 15,173
    edited 2015-02-03 18:41
    Cluso99 wrote: »
    Last night I started checking out assembler for the ARM.
    Seriously thinking about my own microcontroller software using the Pi2 with 4 ARMv7 cores @900MHz :)

    What Cache do they have, & can you lock ASM code in a Cache ?
    One core running OS, and the other 3 running a Spin Emulator/Interpreter/Debug would be interesting... :)
  • TorTor Posts: 2,010
    edited 2015-02-03 18:43
    I wish RS and the rest didn't insist on forcing you to a "local" RS instead of simply providing international shipping. I've given up on RS Japan, it's just too tricky. Sigh. With Parallax it's easy.. order as usual, provide the address, wait five-six days, and you're good. Doesn't matter where you are.

    -Tor
  • abecedarianabecedarian Posts: 312
    edited 2015-02-03 19:42
    Heater. wrote: »
    @abecedarian,

    He, he, oh yeah. As does the old Pi.

    You know me too well:)

    Or perhaps not at all...?
    Or maybe better than you think? ... possible, but not likely. ;)

    Anyhow, Win10 What to expect.
    Does this mean the latest version of the Rasberry Pi board, the Raspberry Pi 2 Model B -- which has at its heart a quad-core ARM v7 processor, will run the next version of the .Net Micro Framework, Athens or some custom version of Windows 10, like the HoloLens augmented-reality goggles and the Surface Hub conferencing system will? It's not entirely clear, but I'm thinking custom is the likely answer. Update: One of my sources who knows quite a bit about Windows 10 says Athens is the more likely answer.
  • mindrobotsmindrobots Posts: 6,506
    edited 2015-02-04 12:06
    I have an old Model B that has been happily running Raspbian ever since Bill came out with his RoboPi.

    Today, I did apt-get update and then apt-get upgrade and it started complaining about dependencies with rapsberrypi-bootloader and suggested apt-get -f install....it started complaining more and now it is dead (from an OS standpoint).

    It there were some kernel changes that may have bit me (I'm still investigating). The system was updated/upgraded regularly but with the last update, it never recovered and didn't not come back from it's last reboot. It's remote (up two flights of stairs, so the autopsy will need to wait until after work)

    Not a cause for panic but before you do your next update/upgrade, you may want to make a copy of your working SD if you have an "older" installation. I'm going to be doing this until they get the multiple distributions settled down.

    On the bright side, it needed a newer more minimal SD install anyway! :o)
  • abecedarianabecedarian Posts: 312
    edited 2015-02-04 14:54
    @mindrobots - looks like someone is pulling updated code into the main branch without adequate regression testing.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-04 17:42
    Thanks Leon, that is very kind of you!

    I'll take one, just let me know what the total with postage is to Canada V3A 6J2 (I'll pm you my address) and I'll PayPal you the funds (I'll need the email address to send it to)

    UPS is supposed to drop off three for me on Friday, so if someone else needs one desperately, I don't need a fourth yet (but can always use one <grin>)

    This week I've been finishing my Odroid-C1 review so it will be ready for comparing in my upcoming Pi2B review. (My MIPS Creator CI20 review went up this Monday)
    Leon wrote: »
    I just checked the RS web site and they have another 14,400 units arriving before Thursday (that's this Thursday). I'll put an order in for five and I can then let Bill, Heater and anyone else who wants one have one at cost, plus postage. How does that grab you?
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-04 17:43
    Looks good!
    Gadgetoid wrote: »
    Posting from a Pi 2- just compiled Propeller IDE and it runs fine. Got a Propeller HAT on top and making sure I can upload code to it ;)

    First test production panel:

    B81o0AXIgAAnVls.jpg
  • LeonLeon Posts: 7,620
    edited 2015-02-05 02:10
    RS has them back in stock. I should get the five I ordered tomorrow.
  • Heater.Heater. Posts: 21,230
    edited 2015-02-05 02:18
    Great stuff Leon.

    It's amazing they have stocked up so well. I was expecting to see long delays as production ramps up.
  • LeonLeon Posts: 7,620
    edited 2015-02-05 02:29
    Their suppliers have obviously seen that they are onto a good thing and and are producing vast quantities of the components. The boards are made by Sony in Wales and they are taking on another 30 people:

    http://www.southwales-eveningpost.co.uk/30-new-jobs-Sony-Bridgend-thanks-new-Raspberry-Pi/story-25960838-detail/story.html

    Production is being ramped up from 18,000 to 80,000 units a week!
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2015-02-05 03:14
    Let's see...

    80,000 units - 18, 000 units / 30 new employees = 2066 units per week per new employee. I wonder how long the jobs will last?
  • LeonLeon Posts: 7,620
    edited 2015-02-05 05:19
    I've just spent an hour or so trying to get the RPi 2 to work with the PiFace Digital 2. The PiFace worked OK with the PI B+, but the emulator doesn't do anything when I double-click on the icon, and I get error messages when I try to access the PiFace directly using Python 3. I'll try asking on the RPi forum if anyone else is having problems. The PiFace should be compatible with the RPi 2 from a hardware point of view. I'll also revert to the Pi B+, and check that the PiFace works with that with the new version of the OS.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 05:25
    They moved the base address of all the internal I/O registers, so any libraries and/or drivers and/or software that accesses the memory mapped I/O directly needs to be modified.

    (so much for 100% compatibility)

    #define BCM2835_PERI_BASE 0x20000000

    has apparently changed to

    #define BCM2835_PERI_BASE 0x3F000000

    (apparently NOT 0x40000000, so it overlaps the ram by 16MB)
    Leon wrote: »
    I've just spent an hour or so trying to get the RPi 2 to work with the PiFace Digital 2. The PiFace worked OK with the PI B+, but the emulator doesn't do anything when I double-click on the icon, and I get error messages when I try to access the PiFace directly using Python 3. I'll try asking on the RPi forum if anyone else is having problems. The PiFace should be compatible with the RPi 2 from a hardware point of view. I'll also revert to the Pi B+, and check that the PiFace works with that with the new version of the OS.
  • LeonLeon Posts: 7,620
    edited 2015-02-05 05:31
    Thanks, Bill. I thought it must be something like that. I suppose PiFace will be updating their software. They don't provide any support, which is a bit irritating.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 06:22
    You are welcome.

    If they don't update their software they will be raked over the coals in the Pi forum...
    Leon wrote: »
    Thanks, Bill. I thought it must be something like that. I suppose PiFace will be updating their software. They don't provide any support, which is a bit irritating.
  • Heater.Heater. Posts: 21,230
    edited 2015-02-05 06:31
    Compatibility was a tiny bit upset by that base address change.

    I did read somewhere yesterday that there is now a function that can be called that returns the correct base address to use. So the correct way to do this is to use that function and then the same code will be usable on new and old Pi.

    Sadly I don't have a link to that nugget.
  • Heater.Heater. Posts: 21,230
    edited 2015-02-05 06:31
    Compatibility was a tiny bit upset by that base address change.

    I did read somewhere yesterday that there is now a function that can be called that returns the correct base address to use. So the correct way to do this is to use that function and then the same code will be usable on new and old Pi.

    Sadly I don't have a link to that nugget.
  • LeonLeon Posts: 7,620
    edited 2015-02-05 06:48
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 07:36
    Found another issue...

    They are removing 240MB of ram from the allocatable pool (ie not avail to linux) due to a bug with SonicPi - which very few people have.

    http://www.raspberrypi.org/forums/viewtopic.php?p=683804#p683804

    Supposedly it will be fixed in a "few weeks" according to Liz

    This is in addition to the 16MB that is probably lost by setting the base address to 0x3F000000 instead of 0x40000000
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 07:40
    <humour_mode:on>

    I just thought of something... Windows 10 on RPi2...

    768MB usable ram from 1GB "address space"...

    Does that sound familiar to anyone else???

    <humour_mode:off>

    Sorry, I could not resist, even though the analogy is inexact - 640KB out of 1MB on the XT, AT
  • PublisonPublison Posts: 12,366
    edited 2015-02-05 07:56
    <humour_mode:on>

    I just thought of something... Windows 10 on RPi2...

    768MB usable ram from 1GB "address space"...

    Does that sound familiar to anyone else???

    <humour_mode:off>

    Sorry, I could not resist, even though the analogy is inexact - 640KB out of 1MB on the XT, AT

    Of course Gates was attributed with the comment, but says otherwize: :)

    http://www.computerworld.com/article/2534312/operating-systems/the--640k--quote-won-t-go-away----but-did-gates-really-say-it-.html
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 08:47
    Good news!

    Dom, one of the RPi engineers, told me how to get the "1gb" kernel

    rpi-update

    Will install the kernel that can use 1GB, but he warned there may be boards / software that won't work with it.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 08:48
  • Heater.Heater. Posts: 21,230
    edited 2015-02-05 09:22
    No, no, Gates was misheard/misunderstood. He said "640K should be enough for anybody".

    He was talking about is new salary after making the deal with IBM for PC-DOS.

    Of course he soon found that, like computer memory, you can never have enough and the statement soon looked very silly. So he always denies it.

    Sadly I can't find a link to back up this assertion at the moment :)
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-05 19:59
    I got PropellerIDE to (99%) run on the ODROID-C1 !!!

    Installed the qt libs, then dkpg -i propelleride.deb and it ran.

    SimpleIDE ran out of the (tgz) box.

    And I managed to cleanly compile p1loader, just need to change it wiggle a gpio over sysfs.
  • David BetzDavid Betz Posts: 14,516
    edited 2015-02-05 21:01
    And I managed to cleanly compile p1loader, just need to change it wiggle a gpio over sysfs.
    If you're talking about my p1load program, it already knows how to toggle a GPIO pin using Heater's code from propeller-load. However, I have so far been unable to get it to work on my RaspberryPi with a different Propeller board attached. I haven't tried yours but will this weekend. p1load use the same syntax as Heater's version of propeller-load using -Dreset=gpio,pin,state.
  • LeonLeon Posts: 7,620
    edited 2015-02-06 03:11
    It looks like the five RPi 2s I ordered from RS won't be shipped until Monday.

    I've tried to build the C I/O stuff with the modified base address but despite switching to superuser I am unable to run configure. I'll investigate the problem. It is supposed to work with that mod according to someone on the RPi forum.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-06 05:50
    Thanks - all I did so far was get it to compile. I'll try the same options!
    David Betz wrote: »
    If you're talking about my p1load program, it already knows how to toggle a GPIO pin using Heater's code from propeller-load. However, I have so far been unable to get it to work on my RaspberryPi with a different Propeller board attached. I haven't tried yours but will this weekend. p1load use the same syntax as Heater's version of propeller-load using -Dreset=gpio,pin,state.
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-06 05:51
    Weird.
    Leon wrote: »
    It looks like the five RPi 2s I ordered from RS won't be shipped until Monday.

    I've tried to build the C I/O stuff with the modified base address but despite switching to superuser I am unable to run configure. I'll investigate the problem. It is supposed to work with that mod according to someone on the RPi forum.
  • LeonLeon Posts: 7,620
    edited 2015-02-06 08:08
    It looks like RS had it wrong about my five units being out of stock: Parcel Force tried to deliver them while I was out. I can collect them from the local post office tomorrow. I'd have stayed in for them if I had known.
Sign In or Register to comment.