Shop OBEX P1 Docs P2 Docs Learn Events
is we is... or is we aint? - Page 3 — Parallax Forums

is we is... or is we aint?

13»

Comments

  • Heater.Heater. Posts: 21,230
    edited 2014-07-13 13:49
    Bill,

    I was a bit worried to suggest using the old loader with current SimpleIDE. The loader itself may work fine to get Spin or LMM binaries into the Propeller but I worry about how it works with external memory devices. I think there have been a lot of changes in drivers and such there that might no longer work well.

    Still, when it works it works.
  • whickerwhicker Posts: 749
    edited 2014-07-13 14:34
    I agree with mindrobots, and add that one of the negative things that happened with the Propeller 1 was way too many general purpose development boards.
    If somebody made a board with some regulators and connectors for bringing out all 32 of the pins of the P1, what was point in making it and duplicating what was already available? What compelling feature does yet another board with access to 32 pins add? Why were people trying to "save" Propellers, even though putting more than one on board wasn't exactly difficult nor wasteful? Why didn't someone create a development board that was solar powered with supercap, or coin cell powered, measurement board absent a crystal to demonstrate its low-power capability?

    Meanwhile the software languished, and the .spin language never grew (officially) to address the shortcomings that were discovered along the way (conditional includes, ease of calculating memory addresses, etc)


    In going forward with a Raspberry Pi what compelling features can a P1 add to it? A raspi model B already has I2c, it has SPI, it has USB, it has Ethernet, it can cheaply do wifi, it can use a camera, it has HDMI or Composite video, it has an SD card, it can do RS232 serial... If somebody would only port an easy to program RTOS or create a Real-Time layer that runs underneath the OS, the hardware would be able to perform isochronous tasks as well, negating the only compelling reason I can see to have a Propeller 1 add-on board.

    What would a P2 add to a raspi system? yet again I don't know.

    What can Parallax do as a company? Create easy to understand, affordable learning hardware/software with friendly support. And hardware/software that saves development time and reduces uncertainty when compared to the alternatives.
  • Bill HenningBill Henning Posts: 6,445
    edited 2014-07-13 14:44
    whicker,

    P1 is WAY better for hard real time than a Pi, and adds a lot of I/O, without adding significant CPU load to the Pi. joanne's pigpio is very impressive, but the Prop is better for hard real time.

    P2 will be even better.
  • Heater.Heater. Posts: 21,230
    edited 2014-07-13 15:02
    whicker,

    Perhaps the many different boards that were created for the P1 caused "market confusion" and derailed the rallying around of a standard. By contrast to the Arduino or Raspberry Pi where the is only the one "true board". On the other hand, the Propeller is a chip and not a board, one could say that having many users create boards around it was a success.

    There have indeed been multi-propeller board designs. See Cluso's Triblade for example. They did not sell. Were they two complex? Were they two expensive? Who knows?

    I might agree that the Spin language could do with some tweaking. One has to be careful though. Spin is supposed to be a small and simple language that is very quick to pick up. Loading it up with complex features like a preprocessor and conditional includes for example may detract from that aim.

    There is no way a Raspberry Pi is going to be capable of the fast real-time operation of Propeller. Yes you can have an RTOS or real-time kernel under Linux. But that only gets you so far if you still want to be using USB, Ethernet, Video, etc. The complexity of doing fast real-time on such a platform would be far higher than starting up a COG and just doing what you want.
    What would a P2 add to a raspi system? yet again I don't know.
    It adds the capability to do that fast real-time stuff. What you are hinting at perhaps is that not many people actually have a need or desire for that. Many of us around here do.
  • mklrobomklrobo Posts: 420
    edited 2014-07-13 15:36
    Heater. wrote: »
    There is no way a Raspberry Pi is going to be capable of the fast real-time operation of Propeller. Yes you can have an RTOS or real-time kernel under Linux. But that only gets you so far if you still want to be using USB, Ethernet, Video, etc. The complexity of doing fast real-time on such a platform would be far higher than starting up a COG and just doing what you want.

    It adds the capability to do that fast real-time stuff. What you are hinting at perhaps is that not many people actually have a need or desire for that. Many of us around here do.

    :innocent: building and learning upon what Heater has said; :innocent:

    The purpose and function of building such a system of combination of Raspberry Pi and Propeller, should encompass a Brains and speed need.
    The higher platform offers high computation with communication manipulation,(possible database control), coupled with the real time speed of the propeller. :innocent: So, the issue the
    user, that is designing their individual system, is faced with, "is the hand faster that the eye" syndrome. Basically, use the Brain for the Brain,
    and the speed for the application to the propeller. All the COGs, drivers, ports, I/Os, should follow a seamless flow of this philosophy, to
    provide a mosiac masterpiece. The person designing this system seems to have more on their plate than expected. (?) comments? :nerd:
  • Heater.Heater. Posts: 21,230
    edited 2014-07-13 16:01
    Exactly. When you want to drive a dozen PWM servos or monitor a bunch of wheel encoders or sequence an RGB LED strip or drive a VGA monitor or all of those at the same time then a Raspberry Pi or similar ARM Linux board is not going to cut it.

    Conversely when it gets to networking, USB gadgets and big application codes the Pi is just what you need.

    Bolt the two together and you have a solution.
  • mklrobomklrobo Posts: 420
    edited 2014-07-13 16:18
    Heater. wrote: »
    Exactly. When you want to drive a dozen PWM servos or monitor a bunch of wheel encoders or sequence an RGB LED strip or drive a VGA monitor or all of those at the same time then a Raspberry Pi or similar ARM Linux board is not going to cut it.

    Conversely when it gets to networking, USB gadgets and big application codes the Pi is just what you need.

    Bolt the two together and you have a solution.

    Awesome! And so, logically, the need of this power must be divined by the user, in which depth and scope is determined by their vision. But what hobbist/individual
    would need this, unless it helps them in their job(alot of dedication)? They must find that voodo they do so well....... :)
  • jazzedjazzed Posts: 11,803
    edited 2014-07-13 20:07
    mklrobo wrote: »
    But what hobbist/individual would need this ....


    RPi Challenge

    Make a wheeled robot that has PWM servos for wheels, 2 encoder modules, a PWM servo for waving a flag, and a WAV player that plays part of "Stars and Stripes Forever" while traversing a good figure 8 ; it should scan for and stop for obstacles when necessary using a Ping module. An Activity Bot is a good wheeled bot for the challenge. Only an RPi (no microcontrollers) can be used.
  • jmgjmg Posts: 15,173
    edited 2014-07-13 20:50
    jazzed wrote: »
    RPi ... Only an RPi (no microcontrollers) can be used.

    You do not say no CPLD/FPGA could be used, so sounds no biggie ;)
  • jazzedjazzed Posts: 11,803
    edited 2014-07-13 20:59
    jmg wrote: »
    You do not say no CPLD/FPGA could be used, so sounds no biggie ;)

    Only an RPi. :)
  • Heater.Heater. Posts: 21,230
    edited 2014-07-13 21:00
    Perhaps Jazzed's challenge will be a bit easier with the new Raspberry Pi Model B+ which seems to have a 40 pin GPIO header. I have no idea whatextra goodies are available on it though.
    Assuming the Model B+ info is not a hoax, the info about it seems to be a leak as no announcement of such a thing has ever been made officially.
    http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=81716

    Note: If you read that thread you will see the Raspi folks are as nuts as the inmates here.
  • jmgjmg Posts: 15,173
    edited 2014-07-13 21:16
    Heater. wrote: »
    Perhaps Jazzed's challenge will be a bit easier with the new Raspberry Pi Model B+ which seems to have a 40 pin GPIO header. I have no idea whatextra goodies are available on it though.
    Assuming the Model B+ info is not a hoax, the info about it seems to be a leak as no announcement of such a thing has ever been made officially.
    http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=81716

    No reason for that to be a Hoax, PCB redesign is relatively easy, and this looks more like they what should have done from day 1. ie a better mechanical design., ( I think the 700MHz 512MB SDRAM is the same?)

    * 40 Pin connector with mounting holes
    * More USB ports (now 4)
    * Any other changes ( are camera and DSI on older Pi ?)

    It does make daughter cards much easier to design, and the 58mm x 49mm mounting hole matrix is only a small morph from a present QuickStart PCB design.

    Parallax could do a QuickStart B+ in short time frames...

    The 40 pin header could quickly become an 'industry standard' and I see pinouts are here
    http://docs-europe.electrocomponents.com/webdocs/12fa/0900766b812faa1d.pdf
  • Heater.Heater. Posts: 21,230
    edited 2014-07-13 21:29
    Yep, looks like a much more professional design. I'm very sure the SoC and RAM are the same. The camera/DSI were already on the Pi. I have the camera module, it works very well.

    Seems it uses a micro SD card.

    Bill now has to design a new Propeller board for it:)
  • TubularTubular Posts: 4,702
    edited 2014-07-13 22:15
    Nice. The ID_SD and ID_SC are a good addition. It would be interesting to be able to use the prop to emulate various plug in Pi boards using a "emulated eeprom", because configuring the Pi for real world I/O (via Prop) could be made straightforward
  • whickerwhicker Posts: 749
    edited 2014-07-13 23:11
    jazzed wrote: »
    RPi Challenge

    Make a wheeled robot that has PWM servos for wheels, 2 encoder modules, a PWM servo for waving a flag, and a WAV player that plays part of "Stars and Stripes Forever" while traversing a good figure 8 ; it should scan for and stop for obstacles when necessary using a Ping module. An Activity Bot is a good wheeled bot for the challenge. Only an RPi (no microcontrollers) can be used.

    I'd be really surprised if this wasn't possible.
    The selection of parts makes it a lot easier on a Propeller.
  • MJBMJB Posts: 1,235
    edited 2014-07-14 00:20
    David Betz wrote: »
    ... I ported a Basic interpreter that I wrote for the Propeller to the ATmega328p for someone who wanted it for a project they were doing. ....
    I assume you know about BASCOM the BASIC compiler for the AVRs http://www.mcselec.com
    If I have to use AVRs that is my compiler ...
  • Heater.Heater. Posts: 21,230
    edited 2014-07-14 03:27
    It's real! Announcement here: http://www.raspberrypi.org/blog/#introducing-raspberry-pi-model-b-plus

    Bill, fire up your dev tools, your Propeller board needs an update!
  • LeonLeon Posts: 7,620
    edited 2014-07-14 03:30
    I've just ordered one from Farnell.
  • David BetzDavid Betz Posts: 14,516
    edited 2014-07-14 06:43
    MJB wrote: »
    I assume you know about BASCOM the BASIC compiler for the AVRs http://www.mcselec.com
    If I have to use AVRs that is my compiler ...
    Yes, I know there are Basic interpreters for the AVR. I'm not sure why the guy who wanted me to port mine didn't use one that was already available. You'd have to ask him. Is BASCOM a commercial product or open source?
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-07-14 07:15
    BASCOM appears to be a compiler (runs on PC, send compiled blob to target chip) - if yours is truly an interpreter that runs on the target (which I presume it is), then I can see why he'd want yours. There are other AVR resident BASIC interpreters...you must have something extra in the secret sauce! :smile:
  • David BetzDavid Betz Posts: 14,516
    edited 2014-07-14 07:48
    mindrobots wrote: »
    BASCOM appears to be a compiler (runs on PC, send compiled blob to target chip) - if yours is truly an interpreter that runs on the target (which I presume it is), then I can see why he'd want yours. There are other AVR resident BASIC interpreters...you must have something extra in the secret sauce! :smile:
    No secret sauce. I think it's just that we've worked together before and he knows he can ask for changes if needed. His application is very simple so my simple Basic is probably okay. By the way, my compiler could run on the AVR but they are currently linking it to an IDE running on an iPad. The compiler is in the form of a library that can be linked with another app. The VM can run either on the AVR or on a PC for testing. The compiler generates byte codes that are executed by the VM.
  • mklrobomklrobo Posts: 420
    edited 2014-07-14 08:12
    jazzed wrote: »
    RPi Challenge

    Make a wheeled robot that has PWM servos for wheels, 2 encoder modules, a PWM servo for waving a flag, and a WAV player that plays part of "Stars and Stripes Forever" while traversing a good figure 8 ; it should scan for and stop for obstacles when necessary using a Ping module. An Activity Bot is a good wheeled bot for the challenge. Only an RPi (no microcontrollers) can be used.

    Awesome Challenge! The only thing I would add to that, is add an interface to an HP 50g calculator, to help process the enviroment through formulas, and POOF!
    The ultimate robot/diagnostic tool anyone could want!!!!:lol: You could get stuck on Mars, and the robot could figure a way to get back to Earth.(before you ran out of air!):tongue:
    :cool: So, How do we get started on the interface? Any ideas?(xmodem file transfer, please):nerd:
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2014-07-14 08:21
    I've got a working xmodem send/recieve you could tear out of my project. It's reasonably well documented.

    Jeff
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-07-14 09:21
    I've got a working xmodem send/recieve you could tear out of my project. It's reasonably well documented.

    Jeff

    Jeff, I suggested that and provided a link in one of the HP calculator threads. Nobody jumped on it so I'm not sure how interested the two HP calculator hackers are about Xmodem. Your version works fine and should be pretty for someone interested in it to strip out and repackage.
  • mklrobomklrobo Posts: 420
    edited 2014-07-14 09:42
    :lol: HAPPY DAY! HAPPY DAY! MAY GOD BLESS YOU! I hope Ya'll win the
    lottery to be millionaires!:lol: loopy also wanted this info. I appreciate the help.
    You do not know how long I have needed this info. Thanks so much!:lol:
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2014-07-14 14:02
    We *might* need to go with a version of the xmodem that doesn't convert the last block padding with ASCII 32. I switched it from 0's to 32's a couple versions ago to keep things friendly with the spin compiler.

    Don't worry mklrobo, I keep multiple archives of every version of my software, so it shouldn't be a big deal to go back and locate a slightly earlier version if the current one gives you guys any trouble in your project.

    JEff
  • mklrobomklrobo Posts: 420
    edited 2014-07-15 11:40
    We *might* need to go with a version of the xmodem that doesn't convert the last block padding with ASCII 32. I switched it from 0's to 32's a couple versions ago to keep things friendly with the spin compiler.

    Don't worry mklrobo, I keep multiple archives of every version of my software, so it shouldn't be a big deal to go back and locate a slightly earlier version if the current one gives you guys any trouble in your project.

    JEff
    :cool: Works for me. I know I will have to convert whatever needs converting, because of the different systems. I could not find any books on
    Xmodem protocols(!) Do you have any info on the internals of programming communication of the Xmodem protocols? Thanks again. :lol:
  • Heater.Heater. Posts: 21,230
    edited 2014-07-15 12:43
    mklrobo,

    Goggle knows:) It's far to simple a thing to have books written about it.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2014-07-16 16:33
    mklrobo wrote: »
    :cool: Works for me. I know I will have to convert whatever needs converting, because of the different systems. I could not find any books on
    Xmodem protocols(!) Do you have any info on the internals of programming communication of the Xmodem protocols? Thanks again. :lol:

    Between having half of the Xmodem routines already written, I was able to write the other half using it and this as a reference.
Sign In or Register to comment.