Shop OBEX P1 Docs P2 Docs Learn Events
PropGCC-SimpleIDE - Page 6 — Parallax Forums

PropGCC-SimpleIDE

12346

Comments

  • jazzedjazzed Posts: 11,803
    edited 2012-04-09 12:07
    @pinedust, please find the SimpleIDE-0-6-4 x86_64 Debian package in code.google.com/p/propside/downloads/list
    Right click on a file in the Project manager side panel, and choose "Add Link" to add a link to an existing source file.

    Let me know how this works for you.

    Thanks,
    --Steve
  • pinedustpinedust Posts: 19
    edited 2012-04-09 18:28
    jazzed wrote: »
    @pinedust, please find the SimpleIDE-0-6-4 x86_64 Debian package in code.google.com/p/propside/downloads/list
    Right click on a file in the Project manager side panel, and choose "Add Link" to add a link to an existing source file.

    Let me know how this works for you.

    Thanks,
    --Steve
    Steve, that is perfect, thanks so much!

    I like the smaller download too! I don't mind manually installing propcgg myself, and it really isn't necessary for just updating SimpleIDE.

    Thanks again for your work on this.
  • RsadeikaRsadeika Posts: 3,837
    edited 2012-04-15 07:43
    I have a couple questions about the SimpleIDE, what is the difference between the C3, and C3F designations? I do not recall seeing the explanation anywhere.

    Since I want to have a program load and run from an SD card, would the procedure be?:
    1, compile with the C3F-SDXMMC board selection, to get autorun.pex.
    2, use 'Send file to target SD card', to copy autorun.pex to the SD card.
    and then reset the card to have it start from the SD card?

    What is the proper use of C3F-SDLOAD board selection? When you are trying to use these procedures for the first time, it gets to be a little confusing.

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-04-15 09:36
    Hi Ray.

    I've added a Board Types section in the SimpleIDE user's guide that should answer your questions.
    Let me know if it helps or not: https://sites.google.com/site/propellergcc/simpleide/user-s-guide

    Thanks,
    --Steve
  • RsadeikaRsadeika Posts: 3,837
    edited 2012-04-15 10:22
    Thanks Steve, that gives everybody more to work with. I did not see the '-D PPUSB' information listed anywhere, without that, some of the GG board users might be lost.

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-04-15 10:58
    Rsadeika wrote: »
    Thanks Steve, that gives everybody more to work with. I did not see the '-D PPUSB' information listed anywhere, without that, some of the GG board users might be lost.

    Ray

    There is a PPUSB board type, but -D is not necessary to use it.

    I guess PPUSB falls under "and others" ... I may add a description of each existing basic type for now, but that is not sustainable.
    There was once a suggestion for having a help section in the .cfg files. That's probably a good idea to do later.

    People should be able to make their own board types and describe them without impacting the user guide or other things.
    People who are smart enough to do all the other crazy-brainy stuff here should have not problems outside of motivation.


    ADDIT: I've added notes about using SDXMMC mode to the user guide.
  • ctwardellctwardell Posts: 1,716
    edited 2012-04-20 16:28
    Where is the latest install for Windows?

    All the versions I see on the google code site are deprecated.

    Thanks,

    C.W.

    Update: Found them @ http://code.google.com/p/propside/downloads/list

    C.W.
  • RsadeikaRsadeika Posts: 3,837
    edited 2012-04-27 07:15
    I just downloaded and installed 0-6-7 for Windows, a small for problem for me. Since I use a folder on my Windows Home Server, for my SimpleIDE programs, it would be nice if SimpleIDE would be able to find that folder, using New Project, Open Project, ..., or anything else. On the previous version of SimpleIDE, it had no problem finding the network folder(s). Was this an oversight, or am I doing something wrong, again?

    Ray
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-27 07:33
    Steve,

    I just downloaded 0-6-7 (I uninstall first and then install the new version).

    That all went smoothly, the graphics and interface are looking very slick! (Sorry, sometimes image is important!)

    I've been playing with hello.c and my C3 during a conference call and noticed the following:

    SimpleIDE 0.6.7
    C3 w/ SD connected as COM3
    as usual, some or all of this could be pilot error.


    Testing various board types (in C3 family):

    "Run Console" with C3-SDXMMC, C3-SDLOAD, C3F-SDXMMC and C3F-SDLOAD as targets gets message
    similar to this at load time:

    propeller-load.exe -b C3-SDXMMC -p COM3 -r -z a.out
    error: can't find board configuration 'C3-SDXMMC'

    with whatever configuration was selected called out as error.
    C3 and C3F work just fine.



    Various Memory Models _ ran through all the memory models with the hello.c example.

    XMM-SPLIT memory model builds and loads but doesn't appear to run (no console output)

    I didn't see XMM-SPLIT documented any place, so I may just be jumping the gun here.

    All other memory models build, load and run with C3 without issue.

    Still livin' the dream!

    Great work, thanks!!
  • jazzedjazzed Posts: 11,803
    edited 2012-04-27 09:13
    Wow. Good thing I missed my appointment today. I'll look at these issues.
  • jazzedjazzed Posts: 11,803
    edited 2012-04-27 12:05
    Rsadeika wrote: »
    I just downloaded and installed 0-6-7 for Windows, a small for problem for me. Since I use a folder on my Windows Home Server, for my SimpleIDE programs, it would be nice if SimpleIDE would be able to find that folder, using New Project, Open Project, ..., or anything else. On the previous version of SimpleIDE, it had no problem finding the network folder(s). Was this an oversight, or am I doing something wrong, again?

    Ray

    Hi Ray. New Project does use a different dialog window than Open Project and Open File in windows.
    Are you able to see the Network icon on the left side of the window with Open File or Open Project in Windows7?

    Thanks.
    --Steve
  • Francis BauerFrancis Bauer Posts: 372
    edited 2012-04-27 19:32
    This is a great project/environment for the Propeller, keep up the good work.

    I just downloaded and installed 0-6-7 onto my HP dv7 i7 quad core laptop running Win7 professional and things almost work, but I get a load errors when I try to compile/run the hello.c demo. The compile portion seems to work fine and produces an a.out file, but the load portion usually gives me:

    propeller-load.exe -b QUICKSTART -p COM5 a.out -r
    error: load failed
    Propeller Version 1 on COM5


    error: load failed


    I have had it load successfully twice out of 30+ attempts:

    propeller-load.exe -b QUICKSTART -p COM5 a.out -r
    Loading a.out to hub memory

    1656 bytes sent
    Verifying RAM ... OK


    I've tried changing the load delay setting, which adds a -Snnn parameter , but the inconsistant loading still occurs.

    Any thoughts as to what 'propeller-load.exe' is unhappy about?
  • jazzedjazzed Posts: 11,803
    edited 2012-04-28 08:38
    This is a great project/environment for the Propeller, keep up the good work.
    Thanks!
    propeller-load.exe -b QUICKSTART -p COM5 a.out -r
    error: load failed
    Propeller Version 1 on COM5
    ...
    Any thoughts as to what 'propeller-load.exe' is unhappy about?

    Can you insert a 10KOhm or greater resistor on the QUICKSTART header (see attachment) and try loading again?

    attachment.php?attachmentid=92071&d=1335627274
    700 x 487 - 430K
  • jazzedjazzed Posts: 11,803
    edited 2012-04-28 12:02
    mindrobots wrote: »
    Testing various board types (in C3 family):

    "Run Console" with C3-SDXMMC, C3-SDLOAD, C3F-SDXMMC and C3F-SDLOAD as targets gets message
    similar to this at load time:

    propeller-load.exe -b C3-SDXMMC -p COM3 -r -z a.out
    error: can't find board configuration 'C3-SDXMMC'

    with whatever configuration was selected called out as error.
    C3 and C3F work just fine.


    Hi Rick and others with this -SDXMMC and -SDLOAD problem ....

    I've posted a new SimpleIDE Version 0-6-8 package to the Download list that should fix this issue.

    If you don't want the entire package, you can replace the Version 0-6-7 "Program Files (x86)\SimpleIDE\bin\SimpleIDE.exe" with the attachment below.


    Thanks,
    --Steve
  • Francis BauerFrancis Bauer Posts: 372
    edited 2012-04-29 00:50
    I'm not sure what changed, but today when I tried compiling/running the hello.c demo it works every time without me doing anything different.

    jazzed, thanks for the suggestion of trying the resistor. I'll keep it in mind if the loading problem reappears.
  • jazzedjazzed Posts: 11,803
    edited 2012-04-29 08:22
    I'm not sure what changed, but today when I tried compiling/running the hello.c demo it works every time without me doing anything different.

    jazzed, thanks for the suggestion of trying the resistor. I'll keep it in mind if the loading problem reappears.

    There has been some suggestion that if the Quickstart leaves the P30 pin in a high state (emulating a pull-up) that the issue will not reappear. I use a few Quickstarts for testing: one never shows this problem, the other one does sometimes.

    The root of the problem is that the Quickstart board has a "feature" that is intended to allow use of P30/P31 as "not a serial port". Whether that is a good use of P30/P31 is a matter of opinion. Empirically speaking, it has been a very bad idea.

    So, what causes the issue? Propeller starts up after reset with all pins set as input. On the Quickstart P30 just happens to also be connected to a buffer chip input without any kind of pull up or pull down (to allow "not a serial port" operation). This is a poor design choice since it allows the un-driven connection to go where the buffer wants it to go - it essentially makes a crude oscillator which can generate lots of crazy characters.

    Why does having an oscillator on P30 cause a problem for loading? As mentioned, after reset Propeller's pins are set to input. The Propeller load always starts by asserting the reset and must wait some time for the chip to settle before going to the next load step. During the chip settling time after reset, unexpected characters are very likely because of the oscillator situation which destroys the loader sync-up.

    The best fix is to have a 10K Ohm pull-up on P30.
  • ctwardellctwardell Posts: 1,716
    edited 2012-04-29 08:48
    I've been seeing strange problems with cut and paste using the ctrl-c and ctrl-v keyboard shorcuts.

    It seems like sometimes the cursor jumps back to the cut position when I paste and also pasted text seems to be from a previous cut instead of the most recent.

    None of this happens if I use the menu to select cut and paste.

    Running on Win7 64.

    C.W.
  • jazzedjazzed Posts: 11,803
    edited 2012-04-29 09:52
    ctwardell wrote: »
    I've been seeing strange problems with cut and paste using the ctrl-c and ctrl-v keyboard shorcuts.

    It seems like sometimes the cursor jumps back to the cut position when I paste and also pasted text seems to be from a previous cut instead of the most recent.

    None of this happens if I use the menu to select cut and paste.

    Running on Win7 64.

    C.W.

    Hi C.W.

    What SimpleIDE version are you using?

    This was prone to happen with versions before 0-6-6 with the mouse over global or function name symbols defined within the project. The "source browsing" feature used to highlight keywords just by moving the mouse over words, and that may interfere with your paste. Version 0-6-6 or greater should resolve this issue. Maybe it has not?

    If you have version 0-6-6 or higher, as a test, you can temporarily rename c:\propgcc\bin\ctags to something else and restart the SimpleIDE.
    Then let me know if the problem persists.

    In any event, a very detailed keyboard stroke and mouse position sequence report for reproducing the problem would be helpful.

    Thanks,
    --Steve
  • ctwardellctwardell Posts: 1,716
    edited 2012-04-29 10:02
    jazzed wrote: »
    Hi C.W.

    What SimpleIDE version are you using?

    I'm running 0.6.5, I'll upgrade and see what happens.

    Thanks,

    C.W.

    UPDATE: I upgraded to 0.6.8 and so far have not been able to reproduce the issue.

    C.W.
  • RsadeikaRsadeika Posts: 3,837
    edited 2012-04-29 12:11
    I just got a chance to install and run 0-6-8. Locating the 'network' still persists in some cases.
    Open File - This is OK, the left side shows 'Network' as a choice.
    Save File - This is OK.
    Open Project - This is OK.
    New Project - This has only TWO choices:
    'My Computer'
    'Ray...'
    No 'network' choice or anything else, not as complete as what you see in 'Open File' for example.

    When you run the program for the first time, for the 'Work Place' folder, if you browse, you get only two choices, 'My Computer', and 'Ray...', which DO NOT have a 'Network' selection.

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-04-29 12:54
    Rsadeika wrote: »
    I just got a chance to install and run 0-6-8. Locating the 'network' still persists in some cases.
    Open File - This is OK, the left side shows 'Network' as a choice.
    Save File - This is OK.
    Open Project - This is OK.
    New Project - This has only TWO choices:
    'My Computer'
    'Ray...'
    No 'network' choice or anything else, not as complete as what you see in 'Open File' for example.

    When you run the program for the first time, for the 'Work Place' folder, if you browse, you get only two choices, 'My Computer', and 'Ray...', which DO NOT have a 'Network' selection.

    Ray

    Thanks for this detailed report. One problem I have is helping the user choose a folder instead of a file. It is not completely obvious sometimes that a folder is what we need for an operation. "Work Place" Folder is an example where we want a directory or folder an not a file. Given the options based on your very valid observations, I don't have much choice but depend on the user to "read the manual" or the window title to get it right. I'll make an update later and post it without a full package just for testing.

    Thanks Ray,
    --Steve
  • jazzedjazzed Posts: 11,803
    edited 2012-05-03 19:31
    Here is a SimpleIDE.exe program patch that fixes a few problems:
    • Network folder visibility problems Ray (Rsadeika) mentioned
    • Space in a path name mentioned by Perry (peward) and one other person.
    • Allows Build Status select all (right-click in window pane) and copy
    I'll post full packages soon.

    Thanks,
    --Steve
  • RsadeikaRsadeika Posts: 3,837
    edited 2012-05-04 09:06
    I just tried it out, and the network folder visibility works as expected, Thanks jazzed.

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2012-05-04 19:38
    Rsadeika wrote: »
    I just tried it out, and the network folder visibility works as expected, Thanks jazzed.

    Ray

    You are welcome. Thanks for the initial report.

    I found a few more "space" problems today (add library and include stuff) :(
    Gotta fix them - be expecting a 0-6-10 package this weekend.

    --Steve

    Wish I had more energy tonight. I've been travelling all day long.
  • MacTuxLinMacTuxLin Posts: 821
    edited 2012-05-05 23:31
    Hi,

    would it be possible to pin this to the top? I hate to keep wasting time searching for it.

    Thanks!
  • pedwardpedward Posts: 1,642
    edited 2012-05-07 00:30
    Steve,

    Can I suggest that SimpleIDE is able to set the build attributes on a per file bases in a project, much like you could with a makefile?

    EG, different files can be compiled with different memory models, so you can have several COG drivers linked into an LMM or XMM program.

    Also, this might be a dumb question, but I haven't figured out how you add a new file to a project, it always creates a new project when I create a new file.
  • jazzedjazzed Posts: 11,803
    edited 2012-05-07 06:38
    pedward wrote: »
    ... EG, different files can be compiled with different memory models, so you can have several COG drivers linked into an LMM or XMM program.

    I recommend looking at the "toggle" demos for all the ways you can build with COG drivers and such. The link below explains the file types and how they work.
    pedward wrote: »
    Also, this might be a dumb question, but I haven't figured out how you add a new file to a project, it always creates a new project when I create a new file.

    Look here: https://sites.google.com/site/propellergcc/documentation/simpleide/user-s-guide#TOC-Project-File-Types

    The doc is a little out of date because there are more project manager popup items, but you should get the idea from it. Also, I found out Friday that Add Include Path and Add Library Path are broken if there are spaces in the path in 0-6-9. I have fixes and should post something today.
  • jazzedjazzed Posts: 11,803
    edited 2012-05-07 14:12
    Hi All.

    I've uploaded a new SimpleIDE v0-6-10 + Propeller GCC package to http://code.google.com/p/propside/downloads/list

    Propeller-GCC has some important updates in it so, I will not be posting a SimpleIDE.exe for patching into Program Files.

    Here are changes included in the package:

    - Propeller-GCC package allows using __stack_end. Thanks ctwardell
    - Propeller-GCC XMM heap now lives in XMM.
    - Propeller-load can stuff .cfg parameters into the C program.
    - Fix space problem in -I and -L includes for Add Inc/Lib Path.
    - Added help popup at startup. Can be canceled.
    - Fixed propeller-gcc help landing page.
    - Make new project tab order work more naturally.
    - Moved board type selector to Project Options.
    - Added Project Manager tab hoping to make clear it is just not a list of files.


    I've added the help popup at start-up to try and steer people to the propeller-gcc google site where the SimpleIDE users guide can be found. The user guide has lots of great information that helps answer detailed questions. It does need some updates to match the software and I'll be changing it over the next few days.

    The board type move was in response to an early request from a forum user. In addition to board type, the project options pane has become a tab control. Everything you're used to seeing is still there, but better organized IMO.

    I do not anticipate any more visual changes to the package except the default board type list.

    @MacTuxLin, I don't have the power to make this a sticky. Maybe someone else will.


    Please test and let me know if you have any problems at all with this package.

    Thanks,
    --Steve
  • pedwardpedward Posts: 1,642
    edited 2012-05-07 15:30
    Question about the XMM heap, do you mean that if you use XMM-SPLIT it will put the malloc heap in XMM RAM?

    I've got the PropKEY memory expansion designed and got a quote of 512Kb chips from Heinz, so I'm keen on being able to properly utilize the RAM.

    FWIW, I got a quote back from Heinz that will allow the expansion to have 16MB of dual qSPI flash and 512KB of 8x SPI RAM.

    Also, are there compiler hint like __xmm_rom and __xmm_ram to direct the linker to allocate those to the respective areas?
  • jazzedjazzed Posts: 11,803
    edited 2012-05-07 16:50
    pedward wrote: »
    Question about the XMM heap, do you mean that if you use XMM-SPLIT it will put the malloc heap in XMM RAM?

    Heap data can be used with external RAM in XMM-SINGLE and XMM-SPLIT models. It is in HUB RAM otherwise.

    I have some 8x SPI SRAM code and hardware that works in a test framework, but the code needs to be integrated in a cache driver that works with the current interface. That driver deserves a thread of it's own - I haven't had time to finish it. Maybe you can help. I'm super busy doing docs until beta start and probably for a while afterwards.
    pedward wrote: »
    Also, are there compiler hint like __xmm_rom and __xmm_ram to direct the linker to allocate those to the respective areas?

    XMM-SPLIT puts code in one memory block and data in another depending on the address decode in the cache driver - it is typically Flash and RAM like in C3. XMM-SINGLE and XMM-SPLIT are the slowest XMM models. XMMC is the fastest XMM model. XMMC puts code in external memory Flash or RAM depending on the cache driver and data in HUB RAM.

    Rick (mindrobots) started a very nice matrix for these memory models - I can't seem to find it.
Sign In or Register to comment.