Hi Benj
I did try your program, but I kept on receiving error code 37. I also receive error code 34, when I try to use very simple programs from the flowcode4 example file. To make matters worse, after receiving the code 34, I can not use the PICs anymore. Please advice. Thank you.
ps:- I am using PICkid2, XP OS.
ile name: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
Generated by: Flowcode v4.2.3.58
Date: Tuesday, December 01, 2009 15:07:04
Licence: Professional
Registered to: Ben
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F88 "Pulse Width Timer.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
Pulse Width Timer.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\pp.exe "C:\Program Files\Matrix Multimedia\Pulse Width Timer.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include -d _PIC16F88 -la -c2 -o "C:\Program Files\Matrix Multimedia\Pulse Width Timer.pp" -v -d _BOOSTC -d _PIC16
......................
Pulse Width Timer.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Pulse Width Timer.obj" -t PIC16F88 -d "C:\Program Files\Matrix Multimedia" -p "Pulse Width Timer"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Caution: argument of 'delay_us' calls must have a value of 1 or more
Caution: Delay inaccurrate: 'delay_us', Delay overhead:0.01ms, Unit delay:0.001ms, Delay resolution:4 units
Caution: argument of 'delay_10us' calls must have a value of 1 or more
Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCD_LCDDisplay0_Command in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
FCD_LCDDisplay0_Cursor in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
FCD_LCDDisplay0_PrintString in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
FCD_LCDDisplay0_ScrollDisplay in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
FCD_LCDDisplay0_ClearLine in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
FCD_LCDDisplay0_RAM_Write in: C:\Program Files\Matrix Multimedia\Pulse Width Timer.c
Building CASM file
Memory Usage Report
===================
RAM available:368 bytes, used:55 bytes (15.0%), free:313 bytes (85.0%),
Heap size:313 bytes, Heap max single alloc:110 bytes
ROM available:4096 words, used:729 words (17.8%), free:3367 words (82.2%)
success
Return code = 0
Launching the programmer...
C:\PK2CMD_MTX\pk2cmd_mtx.exe -PPIC16F88 -FPULSEW~2.hex -M -A5 -H
Hex file not found.
Return code = 37
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED