Hi,
This is about a stepper motor controller that is used to control two axes of a telescope. The OEM controller died and an old circuit which uses the 16F627 was available, which I built. However I couldnt get my hands on the 16F627 and instead got the 16F628A. Most of the sub control functions dont work but the stepper moves.
Here is the link to the circuit design and txt source code. The files are RAhalfdriveN and DecDrive.
http://homepage.ntlworld.com/telescope/Projects/PICcontroller.htm
The source code may need to be reassembled was my guess. So i tried that but am getting errors. I am using MPLAB IDE 8.90. I copied the txt file content onto MPLAB, saved as an .asm file, selected device as 16F628A, changed627 to 628A in the source code txt file i.e. list p=16f628a and #include <p16f627.inc>
Just got into this programming bit very recently and my knowledge is very limited here so could use all the pointers and help I can get.
Thanks for helping.
-------------------
----------------------------------------------------------------------
Release build of project `R:\Other Hobbies\Code\RAHDRIVEN.disposable_mcp' started.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Fri Apr 19 08:11:09 2013
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F628A "RAHDRIVEN.asm" /l"RAHDRIVEN.lst" /e"RAHDRIVEN.err"
Message[310] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 67 : Superseding current maximum RAM and RAM map.
Error[149] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 136 : Directive only allowed when generating an object file
Error[149] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 141 : Directive only allowed when generating an object file
Error[118] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 148 : Overwriting previous address contents (0000)
Error[118] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 148 : Overwriting previous address contents (0000)
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 159 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 163 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 166 : Register in operand not in bank 0. Ensure that bank bits are correct.
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `R:\Other Hobbies\Code\RAHDRIVEN.disposable_mcp' failed.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Fri Apr 19 08:11:10 2013
----------------------------------------------------------------------
BUILD FAILED
-------------------------------------
(Code is already available from the author on the weblink mentioned above so hoping its not an issue attaching it here)
Really hoping someone can help out here...
This is about a stepper motor controller that is used to control two axes of a telescope. The OEM controller died and an old circuit which uses the 16F627 was available, which I built. However I couldnt get my hands on the 16F627 and instead got the 16F628A. Most of the sub control functions dont work but the stepper moves.
Here is the link to the circuit design and txt source code. The files are RAhalfdriveN and DecDrive.
http://homepage.ntlworld.com/telescope/Projects/PICcontroller.htm
The source code may need to be reassembled was my guess. So i tried that but am getting errors. I am using MPLAB IDE 8.90. I copied the txt file content onto MPLAB, saved as an .asm file, selected device as 16F628A, changed627 to 628A in the source code txt file i.e. list p=16f628a and #include <p16f627.inc>
Just got into this programming bit very recently and my knowledge is very limited here so could use all the pointers and help I can get.
Thanks for helping.
-------------------
----------------------------------------------------------------------
Release build of project `R:\Other Hobbies\Code\RAHDRIVEN.disposable_mcp' started.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Fri Apr 19 08:11:09 2013
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F628A "RAHDRIVEN.asm" /l"RAHDRIVEN.lst" /e"RAHDRIVEN.err"
Message[310] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 67 : Superseding current maximum RAM and RAM map.
Error[149] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 136 : Directive only allowed when generating an object file
Error[149] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 141 : Directive only allowed when generating an object file
Error[118] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 148 : Overwriting previous address contents (0000)
Error[118] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 148 : Overwriting previous address contents (0000)
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 159 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 163 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] R:\OTHER HOBBIES\CODE\RAHDRIVEN.ASM 166 : Register in operand not in bank 0. Ensure that bank bits are correct.
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `R:\Other Hobbies\Code\RAHDRIVEN.disposable_mcp' failed.
Language tool versions: MPASMWIN.exe v5.49, mplink.exe v4.47, mplib.exe v4.47
Fri Apr 19 08:11:10 2013
----------------------------------------------------------------------
BUILD FAILED
-------------------------------------
(Code is already available from the author on the weblink mentioned above so hoping its not an issue attaching it here)
Really hoping someone can help out here...
Attachments
-
11.3 KB Views: 56
-
10.1 KB Views: 40