Previous Version of FC6
Moderator: Benj
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Previous Version of FC6
Hi keejay,
I have just added V1.65 DS1307 component to Flwocode version 6.1.3.2.
I assume with this postyou are referring to compiling to hex, and that why you want to go back to previous version?
After compiling Flwochart posted here.
I got the following results:
Perhaps you could close Flowchart, re-add DS1307 component and try compiling again.
Can you post compiler messages so we can see what error message you're getting after compiling.
Martin
I have just added V1.65 DS1307 component to Flwocode version 6.1.3.2.
I assume with this postyou are referring to compiling to hex, and that why you want to go back to previous version?
After compiling Flwochart posted here.
I got the following results:
Code: Select all
Target folder: C:\Users\Martin\DOWNLO~1
Source name: C:\Users\Martin\Downloads\RTC2.fcfx
Title:
Description:
Device: PIC.18F.18F46K22
Generated by: Flowcode v6.1.3.2
Date: Tuesday, March 29, 2016 17:40:37
Users: 1
Registered to: Martin W*******
Licence key: JQE1YE
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_18F.exe -v -t PIC18F46K22 "RTC2.c"
Launching BoostC...
BoostC Optimizing C Compiler Version 7.20 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited
RTC2.c
Starting preprocessor: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\pp.exe" RTC2.c -i "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include" -d _PIC18F46K22 -la -c2 -o RTC2.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
.............................................................................................................
RTC2.c(3149:16): warning: expression was optimized out
RTC2.c success
success
Completed BoostC compilation, return = 0
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostlink_picmicro.exe -ld "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\lib" libc_18F.lib rand_18F.lib float_18F.lib "RTC2.obj" -t PIC18F46K22 -d "C:\Users\Martin\DOWNLO~1" -p "RTC2" -swcs 6 2
BoostLink Optimizing Linker Version 7.20
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 David Hobday
Caution: argument of 'delay_us' calls must have a value of 1 or more
Warning unreferenced functions removed:
FC_CAL_Port_In__x in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_IO.c
FC_CAL_Port_Out__x in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_IO.c
FC_CAL_Port_Out_DDR__x in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_IO.c
Wdt_Delay_S in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
Wdt_Delay_Ms in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINT_US in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINTWDT_MS in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINT_S in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
FCI_DELAYINTWDT_S in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Delay.c
FCI_GETCHAR in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_MIDSTRING in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_LEFTSTRING in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_RIGHTSTRING in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOSTRS16 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOSTRS32 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOSTRU16 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOSTRU32 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOLOWER in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_TOUPPER in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_COMPARE in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_FLOAT_TO_STRING in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_NUMBER_TO_HEX in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_STRING_TO_INT in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_STRING_TO_FLOAT in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_STRREV in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_STRMOV in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
FCI_SCOPY in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_String.c
isinf in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
pow in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
flt_round in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
flt_floor in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
flt_ceil in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
flt_atan in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
cos in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
sin in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
tan in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_Float.c
FCD_00a41_gLCD_KS0108__PrintNumber in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_00a41_gLCD_KS0108__DrawLine in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_00a41_gLCD_KS0108__SetDisplayOrientation in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_00a41_gLCD_KS0108__SetBackgroundColour in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_00a41_gLCD_KS0108__SetForegroundColour in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_00a41_gLCD_KS0108__DrawRectangle in: C:\Users\Martin\DOWNLO~1\RTC2.c
FC_CAL_I2C_Slave_Uninit_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FCD_07da1_cal_i2c__Prv_TextConsole in: C:\Users\Martin\DOWNLO~1\RTC2.c
FC_CAL_I2C_Slave_Init_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FC_CAL_I2C_Master_Uninit_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FC_CAL_I2C_Slave_Status_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FC_CAL_I2C_Slave_TxByte_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FC_CAL_I2C_Slave_RxByte_1 in: C:\Program Files (x86)\Flowcode 6\CAL\PIC\PIC_CAL_I2C.c
FCD_005f1_I2C_Master1__ReceiveByteTransaction in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_005f1_I2C_Master1__SendByteTransaction in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__CheckTimerBit in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__TimerGroup2 in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__TimerGroup1 in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__DayOfWeek in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__AutoTimeAdjust in: C:\Users\Martin\DOWNLO~1\RTC2.c
FCD_0be01_DS1307__TimerUpdate in: C:\Users\Martin\DOWNLO~1\RTC2.c
Building CASM file
Memory Usage Report
===================
RAM available:3896 bytes, used:273 bytes (7.1%), free:3623 bytes (92.9%),
Heap size:3623 bytes, Heap max single alloc:127 bytes
ROM available:65536 bytes, used:10556 bytes (16.2%), free:54980 bytes (83.8%)
success
.
FINISHED
Perhaps you could close Flowchart, re-add DS1307 component and try compiling again.
Can you post compiler messages so we can see what error message you're getting after compiling.
Martin
Martin
- 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: Previous Version of FC6
Hello,
Yes this should be possible. I'll dig out the URL for the older installation for you.
Any reason why your going back? If you're having an issue with 6.1.3 then let us know and we may have already fixed it.
Yes this should be possible. I'll dig out the URL for the older installation for you.
Any reason why your going back? If you're having an issue with 6.1.3 then let us know and we may have already fixed it.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Previous Version of FC6
Hi Benj,
I am having an issue with 6.1.3, but the issue is with the DS1307 component that Jordy posted some time back. It works geat with 6.1.2. It compiles with "success" in 6.1.3 but when I try and run it on my PIC, then the PIC hangs. Exact same software and hardware, only difference is 6.1.2 and 6.1.3 and I urgently need to get this project out.
With more time I'm sure we can come up with a solution for 6.1.3, but I'm running against the clock unfortunately.
Thanks
I am having an issue with 6.1.3, but the issue is with the DS1307 component that Jordy posted some time back. It works geat with 6.1.2. It compiles with "success" in 6.1.3 but when I try and run it on my PIC, then the PIC hangs. Exact same software and hardware, only difference is 6.1.2 and 6.1.3 and I urgently need to get this project out.
With more time I'm sure we can come up with a solution for 6.1.3, but I'm running against the clock unfortunately.
Thanks
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Previous Version of FC6
Hi keejay,
When you say hangs, do you mean you just get constants dots.....................................................................................................................................................................................................................?
If so something is interfering with Flowcode.
Perhaps you have allowed or set up and exclusion with antivirus or firewall for V6.1.2, but not yet set it for for 6.1.3?
When you say hangs, do you mean you just get constants dots.....................................................................................................................................................................................................................?
If so something is interfering with Flowcode.
Perhaps you have allowed or set up and exclusion with antivirus or firewall for V6.1.2, but not yet set it for for 6.1.3?
Martin
Re: Previous Version of FC6
Hi medlec,
The compliler compiles the flow code successfully and I program the PIC with the generated .hex file successfully. Tye PIC hangs at the point that it uses the DS1307 component in the software. The software before the 1307 component runs fine (LCD, LED's etc all work as advertised up until the DS1307 component is used). Ive isolated the component with switching LED's at various stateges of the program. The exact same program runs 100% with 6.1.2 but when compiled with 6.1.3 the PIC hangs (not the compiler)
The compliler compiles the flow code successfully and I program the PIC with the generated .hex file successfully. Tye PIC hangs at the point that it uses the DS1307 component in the software. The software before the 1307 component runs fine (LCD, LED's etc all work as advertised up until the DS1307 component is used). Ive isolated the component with switching LED's at various stateges of the program. The exact same program runs 100% with 6.1.2 but when compiled with 6.1.3 the PIC hangs (not the compiler)
- 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: Previous Version of FC6
In 6.1.3 the 18FxxK22 devices had an issue with PWM which has now been resolved. Are you using PWM in your program at all?
http://www.matrixtsl.com/mmforums/viewt ... 418#p73288
http://www.matrixtsl.com/mmforums/viewt ... 418#p73288
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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: Previous Version of FC6
Also are you using hardware or software I2C in the program?
Best to fix the problem now if we can or it will likely end up in future versions too.
Best to fix the problem now if we can or it will likely end up in future versions too.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Previous Version of FC6
Hi Benj,
I am using the PIC18F46K22 and all seems to work well. The problem comes in when I try and use the DS1307 component that Jordy posted a while back. It communicates via I2C so maybe that is where the issue is? My program doesn't use PWM so I can't confirm whether that's a problem at this stage.
I am using the PIC18F46K22 and all seems to work well. The problem comes in when I try and use the DS1307 component that Jordy posted a while back. It communicates via I2C so maybe that is where the issue is? My program doesn't use PWM so I can't confirm whether that's a problem at this stage.