Shop OBEX P1 Docs P2 Docs Learn Events
Any forth users interested.... — Parallax Forums

Any forth users interested....

prof_brainoprof_braino Posts: 4,313
edited 2012-10-16 02:59 in General Discussion
...in going in on an order for the greenarrays forth chip?

Recent posting on hackaday has put a bug in my bonnet. Not like I need another major project, but this has been on the list since Chuck Moore started talking about a successor to the Sh-boom

Minimum order is 10 chips at $20 each.

http://www.designspark.com/content/hands-144-core-processor

We still have to deal with solder the chip onto a board etc.

Sal and I would claim two of the ten, are there 8 more folks interested?

These would be cheaper than using 18 props to get 144 cores. Using propforth, we would actually need 24-28 props to get 144 usable cores.

The greenarrays architecture is significantly different from the prop, so propforth is very different from arrayForth. But at least they at both forth, so your brain only has to bend in one direction.

Reply or PM me.
«13

Comments

  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-07 10:49
    I'll go in for at least one possibly two. Read the docs, watched videos, saw the HaD, still. Not sure how it works so maybe I need hands on training.
  • Heater.Heater. Posts: 21,230
    edited 2012-10-07 11:25
    It has recently been explained to me that the Forth language does not exist. Rather it is whatever the implementer wants it to be at the time. This is neatly summed up by prof_braino in the very confusing statement above: "...propforth is very different from arrayForth. But at least they at both forth".

    As such I belive there is no future for this green array effort.
  • GadgetmanGadgetman Posts: 2,436
    edited 2012-10-07 11:28
    Interesting, but as I haven't even mastered FigFORTH, it's not really for me.
    ( fignition.com That one comes with a complete IDE onboard, mostly written in Forth. )

    *Sigh*

    Really need to find the time to play with it soon...
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-07 11:50
    Heater. wrote: »
    It has recently been explained to me that the Forth language does not exist. Rather it is whatever the implementer wants it to be at the time.

    Perhaps Forth is a fundamental property of the computing ethers that can be summoned by the faithful in any form so required??
  • Heater.Heater. Posts: 21,230
    edited 2012-10-07 12:23
    mindrobots,
    Perhaps Forth is a fundamental property of the computing ethers that can be summoned by the faithful in any form so required??

    LOL,

    You know, I used to think that every programmer should learn assembly language. To get down to the basics, the fundamentals, to understand what a computer really is. Then they could continue with their C/C++, Java, BASIC, Python, whatever with a good understanding of what they are doing.

    Recently I have realized that this is all wrong. An assembly language is basically adhearing to an architecture, an instruction set that itself is a language just like C or C++ or Javascript. Yes it is simpler and more fundamental and yes it is built into the hardware but still it is just a language that is whatever it is according to the whims of the CPU designer.

    So even down there in assembler we are far removed from the "computing ethers":)

    Sorry, I'm tired and getting a bit philosophical.
  • RickInTexasRickInTexas Posts: 124
    edited 2012-10-07 12:49
    I was inclined to say count me in, but I see that SchmartBoard has an adapter/GA144 bundle for $34.95.

    Some sort of BOB would be a necessity.

    Besides, if I'm honest with myself, I've already got far too many pending unfinished projects going. ;-)
  • rod1963rod1963 Posts: 752
    edited 2012-10-07 13:21
    The GA144 like Chuck's ColorForth requires a serious change in ones thinking if you want to really use either. It's not trivial at all.

    The good news is that eForth and Polyforth are running on it now. Both AFAIK need external SRAM.

    I really wish Moore would have brought the F21 to market or at least kept the Mup21 going. Both were very hacker friendly and could be grasped in afternoon. Moore forgot about us mere mortals and instead concocted a chip that makes sense to him and handful of others but that's it.
  • User NameUser Name Posts: 1,451
    edited 2012-10-07 21:53
    Heater. wrote: »
    It has recently been explained to me that the Forth language does not exist. Rather it is whatever the implementer wants it to be at the time.
    I'm greatly relieved that you've abandoned your pedantry. Imposing universal conformity on what is almost more a programming philosophy than a programming language would be a mistake. For example, one would never want to destroy the best part of Tachyon Forth just for the sake of sameness. Individual users adapting Forth to meet their particular needs has always been a big part of the game, anyway. In fact, the very first instantiation of Forth was just such an adaptation.

    @prof_braino: I would have jumped at this opportunity a month ago. Now I'm up to my neck in other projects, including a Forth engine on an FPGA.
  • Heater.Heater. Posts: 21,230
    edited 2012-10-07 23:41
    User Name,

    Well, In order to get programs to run on computers one has to be pedantic or it won't work. If one is not pedantic the machine will do it for you:)

    Am I right in assuming you are confirming the truth of my statement?

    I don't mind Forth being more a philosohy than a language. I have respect for anyone who can put together such a develoment environment in Forth or otherwise and would not want to deteract from that.

    It's was a misunderstanding on my part and now that I know better I will not be expecting Forth to provide cross-platform, portable, solutions. Which probably means I don't have much use for it.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-10-08 08:39
    It all reminds me of that movie "Paint your Wagon" where Lee Marvin says, "Well, partner... Some people are going Nowhere, and others are going Forth." (At least I think I got that right, the town was full of loosers and named, Nowhere.)

    Clint Eastwood was in it. Can you guess where he went?
  • rod1963rod1963 Posts: 752
    edited 2012-10-08 10:27
    You do realize we're dealing with embedded controllers where knowing the hardware and the ability to access is important NOT desktop systems where knowledge of the hardware is irrelevant.

    There's a difference you know or are you just slagging Forth because it doesn't meet your particular ideology?
  • Heater.Heater. Posts: 21,230
    edited 2012-10-08 12:16
    rod1963,

    What is an embedded system? And/or what is the difference between one of those and a desktop system?

    With the Propeller we are dealing with a system more powerfull than the desktop systems I was using in 1982 http://en.wikipedia.org/wiki/Intertec_Superbrain Which happens to be the year I first picked up Leo Brodie's book "Starting Forth" and did my first experiments in Forth on said desktop machine. http://home.iae.nl/users/mhx/sf.html

    So perhaps I was a bit surprised to find that after 30 years of Forth we have three or more implementations on the Propeller that are incompatible.

    Sorry if my "slagging" was a bit over the top. Can we call it "playing devils advocate" as I really don' have an ideology about programming languages or processor architectures or such like?
  • Martin_HMartin_H Posts: 4,051
    edited 2012-10-08 16:38
    Heater. wrote: »
    So perhaps I was a bit surprised to find that after 30 years of Forth we have three or more implementations on the Propeller that are incompatible.

    There are a whole bunch of languages that call themselves Basic which are mutually incompatible. The same is true for Scheme, Lisp, XLisp, and Clojure. So it seems like Forth is in good company.

    Actually, the standardization of C and JavaScript strikes me as the exception, not the rule. Both of these propagated via the network effects of Unix and the Web respectively. Java didn't fragment because Sun aggressively sued nonconformist implementations as a violation of their license agreement. Now that Google won the lawsuit over their clean room version, that's over with, so programs compiled for Android won't run on other JVM's.
  • Heater.Heater. Posts: 21,230
    edited 2012-10-08 22:41
    Looked at that way, yes, I'm being a bit fussy.
    Let's not confuse Java and JavaScript though they are two totally different things.
    I would not worry so much that Java compiled for one VM won't run on another as long as the source code is portable between the two. After all we can compile Java to native code as well. Of cource that does not apply to Android apps as the entire class library system they live in is different from the standard Java classes. "Write once, run anywhere" How I laughed when I first read that discription of Java years ago.
    Don't foregt FORTRAN, COBOL, Ada, and so on are pretty well standardized as well.
    Seems that anyone proficient in programming eventually realizes how bad the language they are using is, no matter what it is, and a has a desperate urge to create a new better language. As a result we now have thousands of languages and dialects.

    Still this is all way off topic here I guess.
  • prof_brainoprof_braino Posts: 4,313
    edited 2012-10-09 04:54
    Heater. wrote: »
    As such I belive there is no future for this green array effort.

    So, I guess Heater. doesn't want one. Only 4 or 5 left as of post #3.
    I haven't even mastered FigFORTH
    FigForth is kind of a "kitchen sink" implementation closer to what Heater is looking for, its not something you master so much as start to dig through. It was made by committee, some of the desicions are misleading as they point in different directions.

    Propforth and colorForth (and so I think arrayForth as well) were made by one guy more or less, and follow a more coherent design. And colorforth was made by Moore, so its exactly the minimum necessary and suitable for forth. Propforth is as close to as we can get to Moore's forth without getting Moore to do it for us.
    every programmer should learn assembly language. ...Recently I have realized that this is all wrong.

    True. It should be "every MICRO controller program should learn assembly", workstation programmers simply need to learn to design properly.

    Looks like that covers the on-topic part of the list so far, and I am getting drawn off-topic as well.

    So far 5 of 10 are claimed. Remember, we still have to buy a schmart board, and do some surface mount soldering. One guy wants to pay me to solder his as well, so that's also an option. I think I'll get better each unit, but its still a risk.
  • Martin_HMartin_H Posts: 4,051
    edited 2012-10-09 06:10
    Heater. wrote: »
    Let's not confuse Java and JavaScript though they are two totally different things.

    No confusion on my part. Right now the future looks brighter for JavaScript than it does for Java. Java is mostly confined to Android and Servlet programming, In the Servlet space it will likely be replaced by Groovy while no successor to JavaScript is on the horizon.

    Here's something to consider:

    Q: What's the definition of a natural language?

    A: A dialect with an army.

    It's probably true for programming languages as well. Except the armies are called user's groups.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-10-09 07:20
    Heater doesn't get it. Forth has been used with microcontrollers for a long-time and good results. Even NASA found it very useful. The reason is that it allows small systems that are well-developed and well-understood to be controlled very flexibly without the huge overhead of an OS.

    I think you have to consider the above chip as a study in parallel processing tasks, with Forth as the means to explore creatively. Forth really requires you have a vision for what you want to control, or output, or whatever. Just writing big dictionaries that are supposed to be self-documenting gets you into perpetual read/write/read some more.

    Mastering FigFORTH is a rather insane undertaking - tries to be all and everything to everyone (something the OOP have gotten in trouble with also doing).

    But if you consider the control of an un-manned ROV in the deep sea, that can be done quite nicely.

    If and when a crisis occurs, you have options to creatively modify your systems, to investigate damage, to control damage, and ultimately get the darned thing back without having to entirely redevelop your firmware.

    One could argue that C++, C##, and so forth are getting into the weeds. Somebody is always tweeking software that is where the 'soft' creeps in.

    (I guess I am an advocate for the other devil. Sorry Heater.)

    This all started with The Tower of Babel in the Old Testament. Languages actually cause preferences of communication channels, and quite a bit of confusion, and require endless amounts of learning. Just try learning Mandarin Chinese as the modern world changes it.

    Armies? Well, being widely accepted by a large user base always seems to be a winner, unless you have something you don't want everyone to understand. Then we get slang and jargon and its back to the Tower of Babel.

    Could I get 3 of those $20 chips sent to Taiwan? I'll send you money for cost and shipping in advance and we can see if Customs refused to let me have them.

    It does seem that each will require a $34.95 Schmart board to do anything intelligent. Please advise if we are buying this in quantify as well. After all, if the board is not available, what are we to do?
  • jazzedjazzed Posts: 11,803
    edited 2012-10-09 07:34
    I'm so glad I didn't post to this thread.

    Oh snap! :)
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-09 08:05
    Another rousing language debate.......

    seawolf3.jpg
    Battleship_USS_Iowa_firing_broadside.jpg
    620 x 414 - 34K
  • David BetzDavid Betz Posts: 14,516
    edited 2012-10-09 08:26
    ...in going in on an order for the greenarrays forth chip?

    Recent posting on hackaday has put a bug in my bonnet. Not like I need another major project, but this has been on the list since Chuck Moore started talking about a successor to the Sh-boom

    Minimum order is 10 chips at $20 each.

    http://www.designspark.com/content/hands-144-core-processor

    We still have to deal with solder the chip onto a board etc.

    Sal and I would claim two of the ten, are there 8 more folks interested?

    These would be cheaper than using 18 props to get 144 cores. Using propforth, we would actually need 24-28 props to get 144 usable cores.

    The greenarrays architecture is significantly different from the prop, so propforth is very different from arrayForth. But at least they at both forth, so your brain only has to bend in one direction.

    Reply or PM me.
    I'm quite interested in playing with one of these but I'm not at all confident that I'll be able to successfully solder it onto the board. Let me know if you come up with a pre-soldered option.

    Thanks,
    David
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-10-09 10:18
    @ Dave Betz
    I wonder the same thing. There are two approaches - solder paste and a toaster oven. Or buying some liquid flux, tinning the board, and then working the areas quadrant by quadrant (meaning the four side of the board). I've had some luck in the past with tiny SMDs of about 20 leads. But this would be a new adventure.

    From past experience, if you load the board with the right amount of solder by tinning the fine pitch leads, the chip can have opposite corners tacked into place and then everything else is fairly easy. No more solder is required, just a very gentle touch with a nice clean low watt soldering iron. A flat tip might make the work go faster.

    Lots of liquid flux that can be washed off with water. I'd paint the board and paint the chip leads with it with a small sable brush.

    I already committed to buy 3 chips, but after thinking about this - I will buy 3 if that is what is needed to get to 10. But if others want to buy in, I might be wiser to buy 2 or 1. It isn't really the cost of the chip that the problem. It is that $34.95 for the Schmart Board. We can reach 10 and order, then late comers can buy chips away from me. It looks as if ordering Schmart Boards independently might be the reality.

    I really can not imaging using 144 cores for something besides video or encryption. But both are interesting topics. 1.8 volts is adequate output to directly drive video, isn't it?

    A clockless processor? Well, I am just going to have to hold one in my hands and see if I can absorb some knowledge that way.
  • David BetzDavid Betz Posts: 14,516
    edited 2012-10-09 10:51
    @ Dave Betz
    I wonder the same thing. There are two approaches - solder paste and a toaster oven. Or buying some liquid flux, tinning the board, and then working the areas quadrant by quadrant (meaning the four side of the board). I've had some luck in the past with tiny SMDs of about 20 leads. But this would be a new adventure.

    From past experience, if you load the board with the right amount of solder by tinning the fine pitch leads, the chip can have opposite corners tacked into place and then everything else is fairly easy. No more solder is required, just a very gentle touch with a nice clean low watt soldering iron. A flat tip might make the work go faster.

    Lots of liquid flux that can be washed off with water. I'd paint the board and paint the chip leads with it with a small sable brush.

    I already committed to buy 3 chips, but after thinking about this - I will buy 3 if that is what is needed to get to 10. But if others want to buy in, I might be wiser to buy 2 or 1. It isn't really the cost of the chip that the problem. It is that $34.95 for the Schmart Board. We can reach 10 and order, then late comers can buy chips away from me. It looks as if ordering Schmart Boards independently might be the reality.

    I really can not imaging using 144 cores for something besides video or encryption. But both are interesting topics. 1.8 volts is adequate output to directly drive video, isn't it?

    A clockless processor? Well, I am just going to have to hold one in my hands and see if I can absorb some knowledge that way.
    I don't know about how much voltage is needed for video. I'm a software guy! :-)
    Really, I'd like to see someone offer to solder the chip onto the Schmart Board for a fee so I don't have to do it myself. I'm sure I'll fry both the chip and the board if I try it.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-10-09 10:55
    In seems that Schmart Boards may be adequately tinned so that just using a good flux will make this go smoothly. The reason for the liquid, water-soluble flux rather than a paste is that clean up consist of washing the whole thing with water rather than having to be more aggressive to remove a gooey flux with special cleaners.

    BTW Flux is very cheap.

    If one needs to build up some courage, some other lesser ambitious Schmart Boards might be purchased. I have some SMD SX28 chips that could use being mounted. Mistakes would be less costly, more easily recovered from. Only after practise,and a good nights sleep to sort out what I really learned would I do the 88 pin device. It is all about baby steps first, then walk.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-09 10:58
    This Schmartboard is only $9.99 and it is linked to by some of the GA144 articles. Schmartboard also has SMT soldering videos and tips and supplies.

    ECN article about the chip and the board being paired up for hobbyists.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-10-09 11:01
    Oh my Gawd, the $34,95 Schmart Board offer seems to include the chip (but I presume not soldered in place). They have other boards that are the same for less than $10 USD.

    In other words, you can order here at $20 for the chip and $10 for the board OR you get both at Schmart Board for $34.95.

    I am not sure how this all sorts out for shipping. But it might change everyone's plans. And read the brief. And there is a Schmart Board soldering video for this chip.

    http://www.greenarraychips.com/home/documents/greg/GA144.htm
    http://www.youtube.com/watch?v=lKahRk9-uB4&feature=youtu.be&noredirect=1


    "The GA144 chip is designed to give you options that have never before existed and to place them under your control by writing software"

    I believe Video requires about 1 volt or less to a VGA or NTSC. I would need to review some of the Propeller video documentation to be sure about exact levels. This chip does ADC and DAC, so video should not be a hardware issue.

    The soldering is just a psychological barrier. A little practise and the fear goes away.
  • David BetzDavid Betz Posts: 14,516
    edited 2012-10-09 12:23
    Oh my Gawd, the $34,95 Schmart Board offer seems to include the chip (but I presume not soldered in place). They have other boards that are the same for less than $10 USD.

    In other words, you can order here at $20 for the chip and $10 for the board OR you get both at Schmart Board for $34.95.

    I am not sure how this all sorts out for shipping. But it might change everyone's plans. And read the brief. And there is a Schmart Board soldering video for this chip.

    http://www.greenarraychips.com/home/documents/greg/GA144.htm
    http://www.youtube.com/watch?v=lKahRk9-uB4&feature=youtu.be&noredirect=1


    "The GA144 chip is designed to give you options that have never before existed and to place them under your control by writing software"

    I believe Video requires about 1 volt or less to a VGA or NTSC. I would need to review some of the Propeller video documentation to be sure about exact levels. This chip does ADC and DAC, so video should not be a hardware issue.

    The soldering is just a psychological barrier. A little practise and the fear goes away.
    I still don't understand why someone can't offer the board with the chip already soldered. I'm not really interested in learning how to do this with a $20 chip. I know I can practice on cheaper chips but ultimately I get one shot at soldering the GA144.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-09 12:32
    Schmartboard's gig is all about making SMT chips solder-able by mere mortals by using their boards. They pre-tin the boards so you basically push the solder up the channel onto the pin or something like that. I haven't actually used a Schmartboard but Parallax has a Prop kit with one and I've been tempted just haven't bit yet.

    I haven't done SMT work for ages and then I was using professional tools and getting paid for it. I need to try it again with my new tools :smile: and much older eyes and hands :frown:.
  • User NameUser Name Posts: 1,451
    edited 2012-10-09 12:38
    I'm finally prompted to make a remark on something that bugged me months ago, when I first viewed the SchmartBoard for the GreenArrays chip: the unacceptable distance between the chip and the nearest decoupling capacitors. Only today have I begun to wonder if the asynchronous nature of the FORTH cores on the chip allows this sort of 'violation' of good design practice. I'm seeking an authoritative warm fuzzy that this board is actually acceptable.
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-10-09 13:07
    The only authoritative sources I see are GreenArrays or the author of the Hack-A-Day project...all of us are just hoping and dreaming!
  • Heater.Heater. Posts: 21,230
    edited 2012-10-09 13:16
    Loopy,
    A clockless processor?
    ...can not imaging using 144 cores for something besides video or encryption...

    I'm curious, If this beast is running without a clock how on earth are you going to get the accurate timing required for video?

    Further, can these 144 cores actually pump data out of one "hole", as it were, at video rates?
Sign In or Register to comment.