Jump to content

mramos

EstablishedMember
  • Content Count

    40
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mramos

  • Rank
    Regular
  1. cmcon = 7 Sorry to waste that question. I had cmcom=7, fixed the typo. Any list of the #pragma data commands. I am trying to set int_RC_noclockout. And the speeds. Using config=00000000000b (my 14 bits) did not let me do it either.
  2. I have my program running now. I am missing a lot. Is there a manual to get a better idea on setting up a chip. Like the 12F675? I can not figure out the #pragma to get INTOSC to no clock in or how to set the ADC to I/O. Has anyone done this? I am doing it now via my programmer. I would like to use the ICD2, but will live. I have the clock set to 4000000 but the LED it way to fast. So I am looking for a sample program to initialize a 12F675?
  3. I did the project already, but maybe I will try it in MPLABS and BoostBASIC now that it works. This Beta stuff can be a pain in the but. Now new question, MPLABS works fine now, in your IDE I still get this? I assume MPLABS shells to the same programs and it now works.. Building... BoostBasic Optimizing Basic Compiler Version 6.70 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Beta version. No limitations. Expire date: 2007.08.01 _.bas failure C:\Program Files\SourceBoost\include\basic\
  4. Here is the .mcp, not sure how I missed that one.. Here is all again, the board did not like a .mcp file. Thanks waterheater.zip
  5. Still the same error.. Both IDE and MPLABS. MPLABS is 7.5 I think there is a 7.60.. Anyway, same code I uninstalled Sourceboost, remove the project, reinstall sourceboost, in MPLABS made a new project. Still the same error in MPLABS------------------------- Clean: Deleting intermediary and output files. Clean: Deleted file "D:\pic\sbasic\waterheaterservo.mcs". Clean: Done. Executing: "C:\Program Files\SourceBoost\boostc.pic16.exe" waterheaterservo.bas -O1 -W1 -t 12F675 BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture) http://www.sourceboost.com Copyrigh
  6. Will an uninstall and re-install and hope that does the trick? At least I know the code compiles. Thanks.
  7. Dave, did the code compile for you? I still have the same error. I did a re-install and integrate. Can not see anything wrong in the code (not meaning there is not a mistake in there, just can not find it)..
  8. Dave, I cut and pasted your code in.. Same error in MPLABS. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ lean: Deleting intermediary and output files. Clean: Deleted file "D:\pic\sbasic\waterheaterservo.mcs". Clean: Done. Executing: "C:\Program Files\SourceBoost\boostc.pic16.exe" waterheaterservo.bas -O1 -W1 -t 12F675 BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Single user Lite License (Unregistered) for 0 node(s) Lim
  9. Here she is. Thanks Dave. Do not see attach or upload? Will try code command. Also, Your IDE give a different error? +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Building... BoostBasic Optimizing Basic Compiler Version 6.70 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Beta version. No limitations. Expire date: 2007.08.01 _.bas failure C:\Program Files\SourceBoost\include\basic\system.bas(14): error: failure Exit code was 1. Removing target: _.obj Failed to locate outpu
  10. Best to use the integrate option and go from there. Regards Dave I reinstalled with integrate. Now I have this? Fails on #include <basic/system.bas> Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Program Files\SourceBoost\boostc.pic16.exe" waterheaterservo.bas -O1 -W1 -t 12F675 BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12,PIC16 max code size:2
  11. Dave, I loaded the update. Did not integrate this time as I modified the MPLABS files by hand as you showed me. When I compile now (in the BoostIDE) I get Building... BoostBasic Optimizing Basic Compiler Version 6.70 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Beta version. No limitations. Expire date: 2007.08.01 _.bas failure Exit code was 1. Removing target: _.obj C:\Program Files\SourceBoost\include\basic\system.bas(14): error: failure Failed to locate output file '_.ob
  12. Dave, I loaded the update. Did not integrate this time as I modified the MPLABS files by hand as you showed me. When I compile now (in the IDE) I get Building... BoostBasic Optimizing Basic Compiler Version 6.70 Beta (for PIC16 architecture) http://www.sourceboost.com Copyright© 2004-2007 Pavel Baranov Copyright© 2004-2007 David Hobday Beta version. No limitations. Expire date: 2007.08.01 _.bas failure Exit code was 1. Removing target: _.obj C:\Program Files\SourceBoost\include\basic\system.bas(14): error: failure Failed to locate output file '_.obj
  13. Dave and folks, I decided to write a servo driver this morning (would be my first real project). Wrote it in the SourceIDE, compiled and linked and all was good. SUCCESSFUL... hooked up the ICD2 and a 12F675, went in MPLABS, made a project. Did a build and got license expired!!! Now I had the MPLABs working fine last time I played with SourceBoost BASIC. Went back to SourceBoost IDE and it now says the same. EXPIRED!!! Looks like I will have to write in something else. I really want to try this program, but I am not having much luck. Will go look for an updated Bet
×
×
  • Create New...