ICCv7 -- Alsheimers Warning
After discovering that Image Craft C is not to be some sort of bastard stepchild, I fired up the free download I'd started playing with a while back, and ran through the examples again. All was going well, and I remembered how much I enjoy the C language in general, until I hit the VGA Text example. That project wouldn't build. What the heck!? I don't remember that happening before. I did some fussing and fuming about compiler producers whose own examples don't even work... Then I remembered, the free download version has a 45 day limitation after which, as the ICC web site says,"it will be code limited for an unlimited time." It's actually decent of them to allow perpetual play, but when time expires for useful development, there's no message that says "Show me the money!".
I've attached the build error so anybody else who forgets how long ago they installed the download will understand what's going on before beginning a disgruntled rant.
Have Fun.
Post Edited By Moderator (Chris Savage (Parallax)) : 3/16/2009 6:29:55 PM GMT
I've attached the build error so anybody else who forgets how long ago they installed the download will understand what's going on before beginning a disgruntled rant.
Have Fun.
Post Edited By Moderator (Chris Savage (Parallax)) : 3/16/2009 6:29:55 PM GMT
Comments
What version was this? Look at Help->About
Have you added any files?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Need a Propeller PC logic analyzer?
Try Propalyzer http://www.brouhaha.com/~sdenson/Propalyzer
http://forums.parallax.com/showthread.php?p=788230
I downloaded the package somewhere around Jan. 11, 2009
Version info:
ICCPROP
Version 7.04 Built OCT. 27, 2008
I have not added anything to the ICC installation folders... my own projects go into a folder on another drive. They seem to compile just fine... they're all just little play blurbs.
Are you thinking that the build error may be more than an over-time issue?
In another issue altogether, but still related to ICCv7: when ASIO.H "prints" something to a serial line, it seems that the first character is always replaced by a garbage character. In the attached illustration, the text should read "I'm workin' here..." the "I" gets hammered, as does "H" if you try "Hello World", etc.
Anybody care to take a guess what that's about?
Ned
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Post Edited (WNed) : 3/14/2009 8:22:18 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Please post your project build instructions. Creating a zip of your project directory and attaching it here would be very useful.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Post Edited (jazzed) : 3/14/2009 8:36:57 PM GMT
I attached the zipped directory, but it should be exactly the same as you already have under "iccv7prop\examples.prop\VGATest". I have mine installed under
If you are running an "expired" version of the ICC free download, and VGATest is not giving you any trouble, it will be interesting to see if the version from my system behaves differently. If you are running a licensed version of ICC, then I would expect my files to work just fine. If they don't , that's interesting too.
Thanks.
Ned
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
What were you using for ASIO library testing? I do not see that problem either. Since you can build it I assume it's not related to cripple-ware effects.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Thanks, Steve, for trying to work this through.
Ned
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
It does this with the plain vanilla example included with the download. I would consider it unworthy of anyone's time to chase any little glitch associated with the expired IDE. I started debugging software as a hobby back with ASM on the TRS-80 (it's really cool to read the progress of the ZiCog project), and I don't let go of a bug easily... but I absolutely hate spending good time on futile work. Until the license arrives, I have other monkeys to chase.
Thanks again, many people on the forum benefit from your help.
Ned
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
/michael
1. The VGATest project issue was simply the memory limitation imposed on the "expired" version I had been using.
2. ASIO is still not playing nicely. It always replaces the first character in a printf string with a garbage character, and the garbage character is always the same for any given string.
For example (I'll use keyboard characters, the compiler puts control characters... or something) "Hello World!" will always come out as "@ello World!" but "Yo, Adrienne!" will always come out as "&o, Adrienne!". The garbage character is consistent for a given string.
See the attached picture for actual Hello World output.
The original intent of this thread was simply to be a friendly reminder to anyone interested that the free download of ICCv7 expires after 45 days, there is a strict memory limitation after that time, and the compiler will not give you a "You've been using this for over 45 days, can I have my money now?" message, it will simply fail to build your project (if it uses too much memory, like VGATest).
Now I'm going to go play!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Post Edited (WNed) : 3/15/2009 10:36:23 AM GMT
What hardware do you have?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
What can I say...
1. Check Power
2. Check Data
3. Check Timing
Three simple rules... and 2 out of 3 is not "good enough". Adding "msleep(1) ;" yes 1, is enough to distract it from squashing the first character.
I am going to be boldly ignorant and ask, why the speed limitation? Spin, which is much slower, can push 115200, why can't ICC? I played around in ASIO.H a little, and managed not to break it permanently, neither did I make any real difference.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Ok, hope the msleep(1) is an adequate work-around. I suppose the first transmit was happening fast enough after init to cause garbage. I usually put a getchar() or something before output to make sure I don't miss a thing since the port I use for comm is the same port I use for download ... Actually I was wondering if you have Protoboard or other dev platform.
As far as Spin/C speed goes, if you are using FullDuplexSerial as a comparison, it is apples and oranges. The ASIO stuff bit-bangs relying on function call timing etc... (really a bad idea but mitigated somewhat by using waitcnt inline asm) where FullDuplexSerial is a PASM driver with queue called from spin. The ASIO equivalent SPIN Serial.spin code can barely do 19200Kbps ... I've tried many times trying to save program space [noparse]:)[/noparse]. The C FdSerial package is roughly the same as FullDuplexSerial. The FdSerial package is the way to go normally with ICC unless you're running out of space.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
I've decided, though, that I'll do all the development in C (ASM where necessary is a given), and I'm comfortable with the start we've made here. Many thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Function putchar·is defined by default in ASIO and·vga_text though I wish they were not. You can also add FDS_DISABLE_OUTS·to the compiler options "Macro Defines" box to save space; it turns off FdSerial_hex, FdSerial_dec, FdSerial_out, & FdSerial_str.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
Also turned out to be a nice little exercise in getting the support files straight. I automatically pulled the header files into the project, but forgot FDSerial.c is also a required support file... not too much cranial bruising before I remembered, though. Much appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Steve, once again you have my eternal gratitude for helping out. I will buy you a cup of coffee or whatever you drink next week
// richard
Don't let Richard off the hook with anything less than lunch.
Just as a gee whiz... somewhere down the road, I'll be cajoling my iSeries system into playing nicely with the Prop... I'll have to be very comfy with Ethernet / sockets programming in C before I go there, though.
@Richard,
My original assumption was that my issues were due to the time limitation, but why would I look for such information in the title bar? I know what program I just started and, therefore, seldom look at its title. You really don't need to add a nag screen to the package, you want to maintain a professional image, but certainly an indication in the build error message would have been helpful. As it is, the existing error message indicates that there is a memory issue, adding why the memory is currently limited would go a long way... I would have known, rather than suspected, the cause of my "bug".
There is, indeed, a rich mix of varying levels of talent, experience, and expectations in the "Parallax World". Your free download is going to be picked up and worn out by some serious hobbyists. They may not be able to buy a copy until they get a job in the industry (or pick up a decent paying contract), and at that point, you will want them to have fond memories. Parallax is certainly doing their part now by insuring a lot of examples and experience are available in the near future.
Ned
Edit: ...and for Pete's sake, put the little delay in your Printf example...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"They may have computers, and other weapons of mass destruction." - Janet Reno
Post Edited (WNed) : 3/16/2009 3:05:12 PM GMT