I notice that you are still unpacking the SimpleIDE package under /opt and running the setup from there.
It would be best to unpack it in your home directory change to the newly created directory and run "sudo ./setup icecontrol" from there. Then at least we know that icecontrol owns all the files in that simpleide directory. I believe this is the way it is expected to be done and how most people would have done it.
I always thout it was 32 bit , i am pretty sure I used the 32 bit package before to . anyway to rule it out as you say I went ahead
,
deleted the 3 directorys ,
downloaded the SimpleIDE-0-8-5.x86_64.debian64-dev-linux.tar.bz2 pakacge . and whent for a new try
But this it not working , the simple ide isnt running at all .
I get the screen below . Attachment not found.
I know formatting all was not the best troubleshooting method , but I had to much this going on on the pc to be sure , So i thout it was the best option.
here,s my zit file ,Attachment not found.. the dhcpdemo , and version1.08 are the lateste files . . And they run without problem if I use them on my laptop ( windows XP - proppeller tool), so strange if that is causing something
Loading dhcpdemo.side into SimpleIDE on my Mac OSX system causes SimpleIDE to crash. There's something about that project. Then, after that project has been opened once, the IDE crashes on launch as that project becomes the on-launch default. Had to get rid of the SimpleIDE plist (equivelant to the .config file on a Linux system), to get SimpleIDE to launch again.
Possibly a circular dependency issue in your project. Did you recently add a file that re-uses an object? Not sure how SimpleIDE reacts to circular dependencies. Jazzed will know better than I, but it's just a hunch as to a possible problem in your sources.
I was just about to make a post when I see your post dgately. tankyou for testing the code out on your side.
Im kinda happy to hear that you have the same problem so it has to be something with the code then ,
its indeed a big chunk of code surely not optimized at all.
its 2 different project that i have been working on for some time, put together lately with the w5200 chip, so there allot to be done still to get it working cooret.
strang thing about it , if I load the exact copy in a windows computer with the propeller tool , it does load fine .
anyway .
im gonna test a completely different file a.s.a.p and update about it( now will hang my pc )
@jazzed - dont worry about the 64 bit , all part of the rule out process's , though is was a 64 bit for a sec myself , making it a better pc in my imagination hihi . anyway . So we can rule out the 64 bit version
@Heater
to have tested every option . here is the result for the issu about the home folder or the opt folder .
. sorry to say that is has no positive result
ill be back soon with test result for another object
UPDATE ::
@dgately. you letting me know that the codes lets your simpleide hang too was the golden clue i think.
I went to make a new folder, copy the dhcpdemo from the source with the rest of the files
Then all seem to be begin to load normal again , telling me im missing one file ,
the Parallax serial terminal.spin
looking for it in the project folder that I have i couldent find any file named Parallax serial terminal.spin in its place there was a Parallax serial terminal.dat
how it became a dat ,I dont know.
replacing this also , made it all load up again . and I can build the program again , without the simpleide hanging
so thanks allot for that golden tip
But im not there yet :P:P
now when I try to load I get the following .
and yes I have permission
besides that I know now that is has to be something with the files , I ll chek each one again tomorrow . to find it ,. the serial terminal was one of them
Im gonna take a nap , its 5 in the morning over here , gonna solve it in a couple of hours
I am using 32bit Ubuntu Linux 12.04 on a 64bit quad motherboard as there is a lot less exposure to problems. I would use EXT3, NOT EXT4 unless you have a very good reason to. This is the combination that works well for me.
Igor,
Are you using 64bit Ubuntu Linux 12.04 or the 32bit version? YOu can easily find out by going to SystemMonitor and reading the System page -- all the important info is there.
I noticed your system is 64 bit, not 32 bit. While 64 bit linux can run with 32 bit libraries, there may be issues. Please download the 64 bit debian package and try it - just to eliminate a variable ... the .conf/ParallaxInc/SimpleIDE.conf file must also be removed of course.
Reformatting your hard drive is probably not the solution. I would rather be able to reproduce the problem here and understand it first (or see the results of the 64 bit install). Can you please tar or zip you project and post it here? Your current project source is the only thing left that I don't have for reproducing the issue.
I have an appointment. Will be back later tonight.
I do understand that Jazzed wants to keep the existing file system until he resolves his install issues. but EXT4 is not really necessary. It seems it did have problems in 2009 and into 2010, but may have been resolved. These problems were real data loss if power down was not done right (e.g., just pulling the plug on the computer)
Regarding migrating from XP to Ubuntu, I did that and an old machine suddenly had a wonderful new personality. It still runs well and very fast with merely 512mbyte of RAM which is shared by on-board video.
But it is very common for new Linux users to explore and damage the OS by trying to get the latest file system and by fooling around with security features such as SuperUser. I had to reinstall my own Ubuntu system about 6 times before I learned what I really wanted to do and what I should leave alone.
Now I use a dual boot system (to keep Windows) and have Linux in 3 partitions - Root, /home, and /swapdisk.
The separate /home partition makes re-installation of the Ubuntu for updates or repair much easier as I never have to touch my personal files.
Though I purchased a 64bit Quad computer, everyone has been slow to develop full 64bit functionality due to the economic downturn of recent years. So I just stayed with 32bit installation as I really have no pressing reason for 64bit Linux.
Ext4 will allow extremely huge hard disks, but who really has them or wants them. I have a 2 terrabyte SATA disk for backups on the machine and EXT3 is running fine.
Ok , So the problem Looks to be Solved . No Simpleide hanging , and loading the object back like before
@Jazzed indeed . adding my user to the dailout group removed the last error . forgot about the dailout , the pc was formatted so all was lost .
anyway the problem seem to be solved
the setup that I use is now ..
Ubuntu 12.04 TLS 32bit
simpleide 0.8.5 32bit
installed under the /home/icecontrol/SimpleIDE-0-8-5
and running fine again
the problem I think was with the Parallax serial terminal.spin file ., as it was not present anymore in the folder where all the other files are .
but there was a Parallax serial terminal.DAT file.
removing it and adding the spin replacement made it all work again .
I have no idea where the spin file went before , or why it got converted to a DAT extension ( maybe a load to ram on the wrong top object converted is . as i notic this happens when a project gets build)
I'm now building my project back up from scratch to get it all working again , but I'm having no more problems with the simpleide
SO problem solved , and many Thank yous to all fellow form members with , tips hints and helps . much appreciated help ,. getting the problem solved .
@ dgately . Thanks for the tip that solved the case . about circular dependencies I aint got a clue , ill read in to it .(but is solved now,just gonna look it up )
I am not the best code writer,. My art is more to Build the solution to the problem , define the problem/sub problems, compare solutions , test ,and go for it til you cant go no further or it looks like chinees :P and trying to not reinvent the light bulb again. Opensource is the way to go . If you want it had enough it wil work some day
but im getting fairly good with it. stil learing every day .
@jazzed . thanks also for your close support . Ill love to hear about the fixed distribution getting released . Nice work .
Not sure if you changed to EXT3, from EXT4. But my reasons for staying with EXT3 may be out-dated.
The main point I want to make is that unlike Windows or Apple, where you have to use a particular file system - Linux offers a variety and the latest is not always the best for general use. This is what I was thinking when I mentioned that your computer might be 'too leading edge' - the software installation, not the hardware.
Even if EXT4 is stable now, a new contender is in play, called BTRFS. And of course, we may have a bunch of users that install BTRFS just because they can, not because they really need it.
It is always wise to be cautious with new file systems in Linux. The previous generation has proven itself by having users all over the world relying on it. The new contender might have a nasty surprise. I hate massive data losses, and it is one of the reasons I migrated over to Linux. Just be aware that fooling with the 'newest' file system can be hazardous and not worth the bragging rights.
Turns out , There is somekind of hardware /software problem with the parallax serial terminal
troubleshooting on my current project . lead to find out that in some situations the complete propeller +wiznet + usb-propstick begin doing random stuff . here the problem is better discribed.
I found a solution to temporarly solve it , but thats removing the pst and removing all the pst statements from the object. so now ill have to toggle light just to know whats going on , Not the ideal solution.
maybe you guys have a better idea about whats going on here ??
Turns out , There is somekind of hardware /software problem with the parallax serial terminal
...
maybe you guys have a better idea about whats going on here ??
This is the dreaded "USB lost power reset problem". It happens when the USB cable is unplugged on many boards using the FTDI chip where losing USB power causes a reset.
One way to overcome this without a hardware change is to drive or leave P30 high. This serial port output pin when set high gives the USB parasitic voltage so that it doesn't inadvertently change the reset line. Other ways are to use a board that drives USB3.3 from an external source, or only use boards that rely on the PropPlug for programming.
Comments
I noticed "x86_64 Athlon" in your screen dump, but totally missed "OS Type: 32 bit."
You were right. Please go back to the i686 32 bit package.
Did a lot of walking this morning not of my own choice. It's been a long day for me.
Thanks for posting your zip.
I notice that you are still unpacking the SimpleIDE package under /opt and running the setup from there.
It would be best to unpack it in your home directory change to the newly created directory and run "sudo ./setup icecontrol" from there. Then at least we know that icecontrol owns all the files in that simpleide directory. I believe this is the way it is expected to be done and how most people would have done it.
Loading dhcpdemo.side into SimpleIDE on my Mac OSX system causes SimpleIDE to crash. There's something about that project. Then, after that project has been opened once, the IDE crashes on launch as that project becomes the on-launch default. Had to get rid of the SimpleIDE plist (equivelant to the .config file on a Linux system), to get SimpleIDE to launch again.
Possibly a circular dependency issue in your project. Did you recently add a file that re-uses an object? Not sure how SimpleIDE reacts to circular dependencies. Jazzed will know better than I, but it's just a hunch as to a possible problem in your sources.
dgately
Im kinda happy to hear that you have the same problem so it has to be something with the code then ,
its indeed a big chunk of code surely not optimized at all.
its 2 different project that i have been working on for some time, put together lately with the w5200 chip, so there allot to be done still to get it working cooret.
strang thing about it , if I load the exact copy in a windows computer with the propeller tool , it does load fine .
anyway .
im gonna test a completely different file a.s.a.p and update about it( now will hang my pc )
@jazzed - dont worry about the 64 bit , all part of the rule out process's , though is was a 64 bit for a sec myself , making it a better pc in my imagination hihi . anyway . So we can rule out the 64 bit version
@Heater
to have tested every option . here is the result for the issu about the home folder or the opt folder .
. sorry to say that is has no positive result
ill be back soon with test result for another object
UPDATE ::
@dgately. you letting me know that the codes lets your simpleide hang too was the golden clue i think.
I went to make a new folder, copy the dhcpdemo from the source with the rest of the files
Then all seem to be begin to load normal again , telling me im missing one file ,
the Parallax serial terminal.spin
looking for it in the project folder that I have i couldent find any file named Parallax serial terminal.spin in its place there was a Parallax serial terminal.dat
how it became a dat ,I dont know.
replacing this also , made it all load up again . and I can build the program again , without the simpleide hanging
so thanks allot for that golden tip
But im not there yet :P:P
now when I try to load I get the following .
and yes I have permission
besides that I know now that is has to be something with the files , I ll chek each one again tomorrow . to find it ,. the serial terminal was one of them
Im gonna take a nap , its 5 in the morning over here , gonna solve it in a couple of hours
If I'm lucky "my hunch" will be right, and I can make a "fixed" distribution tomorrow morning. I'm just too tired to look at it right now.
The error is probably the serial port permissions. Is icecontrol a member of group the dialout ?
Bed time.
Thanks guys.
Igor,
Are you using 64bit Ubuntu Linux 12.04 or the 32bit version? YOu can easily find out by going to SystemMonitor and reading the System page -- all the important info is there.
http://en.wikipedia.org/wiki/Ext4
Regarding migrating from XP to Ubuntu, I did that and an old machine suddenly had a wonderful new personality. It still runs well and very fast with merely 512mbyte of RAM which is shared by on-board video.
But it is very common for new Linux users to explore and damage the OS by trying to get the latest file system and by fooling around with security features such as SuperUser. I had to reinstall my own Ubuntu system about 6 times before I learned what I really wanted to do and what I should leave alone.
Now I use a dual boot system (to keep Windows) and have Linux in 3 partitions - Root, /home, and /swapdisk.
The separate /home partition makes re-installation of the Ubuntu for updates or repair much easier as I never have to touch my personal files.
Though I purchased a 64bit Quad computer, everyone has been slow to develop full 64bit functionality due to the economic downturn of recent years. So I just stayed with 32bit installation as I really have no pressing reason for 64bit Linux.
Ext4 will allow extremely huge hard disks, but who really has them or wants them. I have a 2 terrabyte SATA disk for backups on the machine and EXT3 is running fine.
http://en.wikipedia.org/wiki/Ext4
@Jazzed indeed . adding my user to the dailout group removed the last error . forgot about the dailout , the pc was formatted so all was lost .
anyway the problem seem to be solved
the setup that I use is now ..
Ubuntu 12.04 TLS 32bit
simpleide 0.8.5 32bit
installed under the /home/icecontrol/SimpleIDE-0-8-5
and running fine again
the problem I think was with the Parallax serial terminal.spin file ., as it was not present anymore in the folder where all the other files are .
but there was a Parallax serial terminal.DAT file.
removing it and adding the spin replacement made it all work again .
I have no idea where the spin file went before , or why it got converted to a DAT extension ( maybe a load to ram on the wrong top object converted is . as i notic this happens when a project gets build)
I'm now building my project back up from scratch to get it all working again , but I'm having no more problems with the simpleide
SO problem solved , and many Thank yous to all fellow form members with , tips hints and helps . much appreciated help ,. getting the problem solved .
@ dgately . Thanks for the tip that solved the case . about circular dependencies I aint got a clue , ill read in to it .(but is solved now,just gonna look it up )
I am not the best code writer,. My art is more to Build the solution to the problem , define the problem/sub problems, compare solutions , test ,and go for it til you cant go no further or it looks like chinees :P and trying to not reinvent the light bulb again. Opensource is the way to go . If you want it had enough it wil work some day
but im getting fairly good with it. stil learing every day .
@jazzed . thanks also for your close support . Ill love to hear about the fixed distribution getting released . Nice work .
The main point I want to make is that unlike Windows or Apple, where you have to use a particular file system - Linux offers a variety and the latest is not always the best for general use. This is what I was thinking when I mentioned that your computer might be 'too leading edge' - the software installation, not the hardware.
Even if EXT4 is stable now, a new contender is in play, called BTRFS. And of course, we may have a bunch of users that install BTRFS just because they can, not because they really need it.
It is always wise to be cautious with new file systems in Linux. The previous generation has proven itself by having users all over the world relying on it. The new contender might have a nasty surprise. I hate massive data losses, and it is one of the reasons I migrated over to Linux. Just be aware that fooling with the 'newest' file system can be hazardous and not worth the bragging rights.
troubleshooting on my current project . lead to find out that in some situations the complete propeller +wiznet + usb-propstick begin doing random stuff .
here the problem is better discribed.
I found a solution to temporarly solve it , but thats removing the pst and removing all the pst statements from the object. so now ill have to toggle light just to know whats going on , Not the ideal solution.
maybe you guys have a better idea about whats going on here ??
This is the dreaded "USB lost power reset problem". It happens when the USB cable is unplugged on many boards using the FTDI chip where losing USB power causes a reset.
One way to overcome this without a hardware change is to drive or leave P30 high. This serial port output pin when set high gives the USB parasitic voltage so that it doesn't inadvertently change the reset line. Other ways are to use a board that drives USB3.3 from an external source, or only use boards that rely on the PropPlug for programming.