unreferenced functions removed

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
dannyvanneijenhoff
Posts: 65
Joined: Thu Feb 07, 2008 7:59 am
Has thanked: 17 times
Been thanked: 10 times

unreferenced functions removed

Post by dannyvanneijenhoff »

Launching the compiler...

H:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F683 "PWM 5 tot 95 proc.c"

BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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


PWM 5 tot 95 proc.c
Starting preprocessor: "H:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "J:\PIC data en sotware\PWM 5 tot 95 proc.c" -i "H:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC12F683 -la -c2 -o "PWM 5 tot 95 proc.pp" -v -d _BOOSTC -d _PIC16


...........

PWM 5 tot 95 proc.c success

success

..
Return code = 0

Launching the linker/assembler...

H:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostlink.pic.exe -ld "H:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\lib" libc.pic16.lib flowcode.pic16.lib "PWM 5 tot 95 proc.obj" -t PIC12F683 -d "J:\PIC data en sotware" -p "PWM 5 tot 95 proc"

BoostLink Optimizing Linker Version 6.70
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 David Hobday


Warning unreferenced functions removed:
FCD_PWM0_Disable in: J:\PIC data en sotware\PWM 5 tot 95 proc.c
FCD_PWM0_ChangePeriod in: J:\PIC data en sotware\PWM 5 tot 95 proc.c

Building CASM file

Memory Usage Report
===================
RAM available:128 bytes, used:11 bytes (8.6%), free:117 bytes (91.4%),
Heap size:117 bytes, Heap max single alloc:84 bytes
ROM available:2048 words, used:183 words (9.0%), free:1865 words (91.0%)


success

.......
Return code = 0

Launching the programmer...



Hello, what must i do to get my pwm working, on the 12F683.
versie 3.2.2.40

groet, Danny

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: unreferenced functions removed

Post by Benj »

Hello Danny

The warnings are simply stating that these functions are not used in your program.
It is nothing to worry about.

If the PWM is not running then make sure that the program has the correct configuration. Eg XTAL or RC mode and Watchdog Off.

dannyvanneijenhoff
Posts: 65
Joined: Thu Feb 07, 2008 7:59 am
Has thanked: 17 times
Been thanked: 10 times

Re: unreferenced functions removed

Post by dannyvanneijenhoff »

I think that these thing are correct, in the expert config in ppp, see jpg, still pwm is not working

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: unreferenced functions removed

Post by Benj »

Hello Danny

Please can you try this program for me.

If the PWM is still not working when you send this program to the chip then there may be a small problem in either the definition file or the PWM component itself. Either way let us know and we will get on top of the problem for you.
Attachments
PWM Test.fcf
(3.5 KiB) Downloaded 306 times

dannyvanneijenhoff
Posts: 65
Joined: Thu Feb 07, 2008 7:59 am
Has thanked: 17 times
Been thanked: 10 times

Re: unreferenced functions removed

Post by dannyvanneijenhoff »

It was a mistake in my flowcode, i tried to connect a diffrent output to my PWM.
Last moth i have been to antwerpen for a flow code Elektor cursus, and last week buyd E-blocks, what works great.

Groeten Danny

Post Reply