Shop OBEX P1 Docs P2 Docs Learn Events
Program your Prop with Blockly in Internet Explorer! (testing) - Page 2 — Parallax Forums

Program your Prop with Blockly in Internet Explorer! (testing)

2»

Comments

  • RaymanRayman Posts: 14,659
    edited 2014-04-07 16:27
    Not Heater, just kids and work... I'll get this done soon. By next week at least...

    Looks like I'd have to shell out at least $50 to get a nicely signed version. But, looks like I can self-sign for now...
  • RaymanRayman Posts: 14,659
    edited 2014-04-08 10:07
    I wonder why the propellent dll went from 239kB back in v1.2 to 636kB now with v1.6.

    That's some serious bloat. Only think I know they fixed in this time was the Quickstart buffer filling issue...

    Makes downloading this thing slower...
  • jazzedjazzed Posts: 11,803
    edited 2014-04-08 10:35
    Rayman wrote: »
    Not Heater, just kids and work... I'll get this done soon. By next week at least...

    Looks like I'd have to shell out at least $50 to get a nicely signed version. But, looks like I can self-sign for now...
    Sounds like mafia ;-) Are you sure it's worth that?

    How many people still use I.E. except developers who have to test with it?

    I'm not trying to be mean. It's just that according to some current browser statistics, about 90% of people use other solutions.
  • RaymanRayman Posts: 14,659
    edited 2014-04-08 10:44
    Both Chrome and Firefox have an ActiveX plugin that will make this work too (on Windows anyway).
  • jazzedjazzed Posts: 11,803
    edited 2014-04-08 10:50
    Rayman wrote: »
    Both Chrome and Firefox have an ActiveX plugin that will make this work too (on Windows anyway).
    That's nice to know although I don't think I've had a reason to do that until now.
  • tonyp12tonyp12 Posts: 1,951
    edited 2014-04-08 10:59
    Those stats are the numbers for W3.com only and not based on what browser is used to access parallax/cnn/facebook etc (average user)

    > W3Schools is a website for people with an interest for web technologies. These people are more interested in using alternative browsers than the average user
  • jazzedjazzed Posts: 11,803
    edited 2014-04-08 11:51
    tonyp12 wrote: »
    Those stats are the numbers for W3.com only and not based on what browser is used to access parallax/cnn/facebook etc (average user)

    > W3Schools is a website for people with an interest for web technologies. These people are more interested in using alternative browsers than the average user
    Ah, that's how it got the developer slant. Thanks for pointing that out. I use their site all the time.

    They are a very helpful reference for those of us interested in making multi-platform solutions available.
  • msrobotsmsrobots Posts: 3,709
    edited 2014-04-08 17:37
    jazzed wrote: »
    Ah, that's how it got the developer slant. Thanks for pointing that out. I use their site all the time.

    They are a very helpful reference for those of us interested in making multi-platform solutions available.

    Ha. So it is Jazzed driving up those 'other' Browser Numbers? WOW.

    I guess its me with those 9% Internet Explorer. I need this site a lot too...

    Rayman,

    As soon as I can run this on Windows 8.X I will try to assimilate it into the Editor. Will just work for windows, but it is a start.
    @David's loader runs just with a S6B WIFI module and my Spinneret loader just from a spinneret.
    The ChromApp solution will just run with Chrome. But on multiple OSes (hopefully).

    But all those just will add up.

    Enjoy!

    Mike
  • RaymanRayman Posts: 14,659
    edited 2014-04-08 17:46
    Mike, how would you like to pass your program to the ActiveX for programming? As a URL to a binary eeprom image?
    I'm assuming you want to compile? If not, I guess it'd need a URL to all the spin files needed...
    Or if not a URL, then an array of strings, each with a Spin file in it?
  • msrobotsmsrobots Posts: 3,709
    edited 2014-04-08 20:14
    Hi @Rayman,

    actually we have the compile thing already done.

    What we need is to:

    a) program a .binary file into the RAM of a attached Propeller
    b) program a .eeprom file into the EEPROM of a attached Propeller
    c) get a list of attached Propellers with some ID to identify the prop to program.

    I do have that binary as a JavaScript array ready to go.
    With @Davids solution I do send records of 512 bytes each to a webserver provided by the prop and the S6B WIFI module..
    With my Spinneret solution I save the binary/eeprom file to the SD of the spinneret and the run the loader (still WIP).

    For your solution we can do whatever is easy to do with your activeX control.

    What we need to do is getting a 32K binary (EEPROM) or smaller binary(RAM) from JavaScript into your ActiveX control. Then you can either run or burn.

    I would like to do this without saving the binary somewhere...

    The worst case would be that I give you a ASCII HEX string of the binary as a string. And you convert it back to binary.

    I do know nothing about activeX controls but there MAY be a way to pass binary data from JavaScript. - My usual help to go too will not work here. @Heater. does not do windows.

    A URL to the binary may be possible. But it will need write access somewhere to put the file there.

    I hope this describes what is still needed. Basically a loader...

    Enjoy!

    Mike
  • RaymanRayman Posts: 14,659
    edited 2014-04-17 10:05
    Finally made some progress...

    Here's a new test page:
    http://www.rayslogic.com/Propeller/Programming/Blockly/Test3/BlocklyTest3.htm

    Click "Generate Code" to turn Blockly into Spin code.
    Click "Program Prop" to compile that Spin code and send it to Prop
    Click "Find Prop" to see what com port your Prop is on.
    Click "Load VGA_DEMO" to load the binary VGA Demo from a URL, turn it into a binary string, and then send to Propeller.

    It should work now in Windows8. Still may only work with Internet Explorer (haven't tried ActiveX plugins for other browsers yet).

    Still have to make changes in "Internet Options"
    You still need to add www.rayslogic.com to your "trusted sites" (have to uncheck "require HTTPS")
    You probably still need to reduce security on "trusted sites" to low.

    If I pay the $100 (or whatever) signing fee, then I think we won't have to make changes in Internet Options.
    I did self-sign, but that doesn't appear to have changed anything...
  • RaymanRayman Posts: 14,659
    edited 2014-04-17 18:08
    If anybody tried it, there was a problem with the "VGA Demo" load function. Just fixed that...

    Also, I've got another Win8 box that still refuses to cooperate...

    Another way to do this is just download all the files and then open the BlocklyTest3.htm file from your harddrive.
    This works even on my picky Win8 box.
    You can download this here:
    http://www.rayslogic.com/Propeller/Programming/Blockly/Test3/test3.zip
Sign In or Register to comment.