Ian Harris 0 Posted April 23, 2013 Report Share Posted April 23, 2013 Hi all, Running 7.11 and it has an annoying habit of crashing on loading certain project files - even one I have just created. Once it does this, of course, then next time it starts up it tries to reload the project and crash again. Here's a project file that crashes every time. Tried uploading but the forum says I'm not allowed to upload that sort of file. [settings] Target=PIC18F26K22 Active Compiler=BoostC Active Directory=D:\TI\CC3000BasicWiFiApplication\Basic WiFi App Sourceboost Source\ Active Config=Debug Last Ext=h Type=0 Warnings=2 Model=0 [Files] Count=24 File0=CC3000HostDriver\cc3000_common.c File1=CC3000HostDriver\cc3000_common.h File2=CC3000HostDriver\evnt_handler.c File3=CC3000HostDriver\evnt_handler.h File4=CC3000HostDriver\hci.c File5=CC3000HostDriver\hci.h File6=CC3000HostDriver\host_driver_version.h File7=CC3000HostDriver\netapp.c File8=CC3000HostDriver\netapp.h File9=CC3000HostDriver\nvmem.c File10=CC3000HostDriver\nvmem.h File11=CC3000HostDriver\security.c File12=CC3000HostDriver\security.h File13=CC3000HostDriver\socket.c File14=CC3000HostDriver\socket.h File15=CC3000HostDriver\wlan.c File16=CC3000HostDriver\wlan.h File17=application_version.h File18=basic_wifi_application.c File19=board.c File20=board.h File21=spi\spi.c File22=spi\spi.h File23=spi\spi_version.h [Tools] BoostDir=C:\Program Files (x86)\SourceBoost\ Programmer= PrefixWithBuildThreadNum=1 BuildThreadNum=1 [Debugger] DebugFromMain=1 Quote Link to post Share on other sites
JorgeF 0 Posted April 23, 2013 Report Share Posted April 23, 2013 (edited) Hi Do you have a "TODO" comment in any of the files? If so, try to get ride of it and see if it makes a difference. Best regards Jorge Edited April 23, 2013 by JorgeF Quote Link to post Share on other sites
Ian Harris 0 Posted April 23, 2013 Author Report Share Posted April 23, 2013 Jorge, Good find. I removed the files one by one until I found which one made it crash. I was fooled since I didn't think SourceBoost looked in the source files as it started, but it must do to read the "todo" list. volatile unsigned long ulSmartConfigFinished, ulCC3000Connected,ulCC3000DHCP, OkToDoShutDown, ulCC3000DHCP_configured; and OkToDoShutDown = 1; were the lines in the source files to cause the IDE to crash on startup. Changing them to "OkToShutDown" allows the IDE to startup okay. cheers Ian. Quote Link to post Share on other sites
JorgeF 0 Posted April 24, 2013 Report Share Posted April 24, 2013 Hi AFAIK this is a bug in the editor (text preprocessing) from an atempt to idenntify the "TODO" keyword in comments to allow the programmer to use as a hint for unfinished sections of code. If I recall correctly there is already another thread on the subject in this forum. Best regards Jorge Quote Link to post Share on other sites
Pavel 0 Posted May 28, 2013 Report Share Posted May 28, 2013 Fixed in the coming 7.20 release Regards, Pavel Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.