Flowcode v5.4 for PIC Released

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Flowcode v5.4 for PIC Released

Post by DavidA »

Hey Guys,

The latest release of 5.4 is finally here.

The patch is available from here: http://www.matrixmultimedia.com/resourc ... php?id=682

To download the full installer please enter the last 12 characters of your Flowcode licence key into the Downloads box on the main Flowcode page: http://www.matrixmultimedia.com/flowcode.php

Here is the change log:

################################
# Flowcode for PICmicros V5.4 #
# Release: 14th August 2012 #
################################

EXE
* Variables imported correctly in macro import
* AlphaImageControl recovery code added
* Port pin corrections for $PORT*.* to return bit based at %[0]
* Functions MXEFn_FPicCeil, MXEFn_FPicFloor, MXEFn_FPicRound available for ARM, AVR, dsPIC
* Constant floats are 15 float digits long, not the default 6
* Outputting floats supports 64-bit precision - this compiles OK on BoostC
* Removal of macro names from locals to make the names shorter

CAL
* SPI prescaler configurable on the fly
* Added new USB memory model for J53 devices
* Fixed <FC_CAL_Port_Out> parameter order
* Fix to <flt_rem> function
* Added ADC support for 12F510, 16F506
* Fix for bitshifting in FCP_GET and FCP_SET
* Added support for custom module CAN ID
* Fixed undefines typo in SPI CAL
* Fixed initial clock polarity setting in SPI CAL
* Added comments to explain the BMODE settings in SPI CAL

Components
* MIAC system - added common initialization functions
* ADC - added read of chip-specific conversion speed options from FCDs
* GSM - minor mod to check network status to ensure modems with roaming mode are connected
* LIN - fixed a bug with timer interrupt flag on older 16F device
* Servo - added MIAC system support
* USB - added MX_USB_TYPE4 support (for PIC18FxxJ53 devices)
* MIAC system - added support for custom module CAN ID
* FAT - minor bug fix edits for SDHC, better card support and SPI speed control
* Bluetooth - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* FAT - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* GPS - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* GSM - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* Keypad - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* SPI - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* Servo - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* Stepper - substitution fixes to allow component to be attached to MIAC module beyond ordinal zero
* Stepper - unique ref substitution updated
* Webserver - fix to Webserver component CRLF processing in the HTML page properties
* SPI - fix to clock mode substitution and added explanation of mode settings
* LCD - fix to allow LCD to work when using high speed 8-bit PICs >= 32MHz

FCD
* Added Conversion speed info to FCD files
* Added RXINT to 12F1822, 1840, 617 and 16F1823
* Added TxCKI Pin to "Clock Source Select" option of [TMRx] for 18F devices
* Added "16-Bit Read/Write Mode" option to [TMRx] for 18F devices
* Fixed init code of 18Fx585 and 18Fx680
* Added TRISE workaround for 18F4xxx family of devices with PSPMODE bit in TRISE register

Etc
* Improvements to MIAC system help files
* Removed duplicate entries for 13K50 and 14K50 devices


################################
# Flowcode for PICmicros V5.3 #
# (unreleased) #
################################

EXE fixes
* Allow FCD pin mappings (Pic16bit only?) in interrupts - int mask is not direct map of pin mask
* MIAC addons ONEWIRE, FCLCDDISPLAY, GLCD no longer supported
* Max FCD interrupt options available from 16 to 64
* Bug fix: Disabling an interrupt inside a call to that int does not crash the app
* Bug fix: ICD fixes to show strings and array elements OK
* Bug fix: Port name found by search-replace for input command
* Bug fix: Show unsigned variables as unsigned decimal in watch window
* Bug fix: Free version now displays FCDs correctly in categories
* Added PIC18_STARTERKIT_E14 to free FCD list

CAL
* Fixed a bug with ADC type 13 and Vref+
* Minor bug fix when using SW I2C on a device with no I2C peripheral
* Incremented PWM count to 16

MIAC System
* MIAC system initialization C code fixes
* Added MIAC System GSM and Industrial C code
* Bluetooth_MS changed to use module UART Receive buffer
* FAT16_MS rewritten using low-level SPI commands
* FAT16_MS now allows multiple FAT components in MIAC System
* GPS_MS removed redundant init macro
* GSM_MS rewritten
* I2C_MS Fixed Init (BRG value calculated here and sent raw)
* Keypad_MS added Init macro
* PWM_MS fix to t2con init value
* RS232_MS added init macro
* RS232_MS hardcoded RTS/CTS to terminals 1 and 2 (customise Init code if override needed)
* SPI_MS fixed init parameters
* TCP_IP_MS rewritten
* WebServer_MS rewritten
* Zigbee_MS changes to init

Components
* CAN VNET simulation fix
* CAN now allows more than 1 instance
* FAT16 now allows more than 1 instance
* SPI - Fixed SPI clock idle bug introduced in v5.0
* Switch - Fixed a bug where the waituntil functions were not working with bits other than 0
* SwitchBank - Fixed a bug where the waituntil functions were not working with bits other than 0
* Speech - Fixed some issues when not using hardware PWM
* I2C - I2C channel select substitution now implemented properly
* I2C - fixed crash when entering large number in simulation
* SPI - fixed simulation of macros
* SPI - fixed crash when entering large number in simulation
* Keypad - C code file now reloaded when changing FCDs
* Keypad - Fixed bug where AVR was returning random value from row
* Servo - C code file now reloaded when changing FCDs
* RS232 - C code file now reloaded when changing FCDs
* RS232 - Disabled CTS/RTS combos for MIAC system
* RS232 - fixed crash when entering large number in simulation
* RC5 - Fixed definitions for PIC where INT is INT0 and tmr0 is tmr0l
* gLCD - Mod to fix non transparent text when printing multiple values to the same position
* gLCD - added new type for EBM-001 module

FCD
* Added TMR1 interrupt to 12F615, 12F617, 12F683, 12F675
* Added TMR2 interrupt to 12F615, 12F617, 12F683
* Added PIC18_STARTERKIT_E14

Etc
* Minor fixes to some GFX files
* PPP config window now expandable


################################
# Flowcode for PICmicros V5.2 #
# Release: 1st May 2012 #
################################

General
* Added Greek help file
* Added Italian help file
* Fixes help files for GSM, RS232 and gLCD components

EXE fixes
* Compare$() does not simulate correctly with case-insensitive check
* Custom interrupts are disabled on a project reload
* Flowchart command gap is not the same as v4
* Loops do not disable correctly in simulation
* Selecting pins that clash for 2 components does not warn

CAL
* IO - swapped mask and value parameters
* String - ToUpper fixed
* String - Added float CAL functions
* Typedef - String changed to unsigned char*
* UART - fixes to receive, auto-echo and HW baud

Components
* 7seg fix for multiline definitions
* UART component fixes to allow 9-bit data mode
* UART component fixes to work with other UART components
* FAT reserved sector bugfix
* RGBLED fixed disabled LED code
* LIN C code fixes
* RC5 PWM bugfix
* ADC MS substitution fix
* Keypad added MS substitutions
* Servo fixed MS simulation crash
* Servo MS substitution fix
* RS232 added function to switch BAUD on the fly
* RS232 MS substitution fix
* Switch added debounce support
* SwitchBank added debounce support
* TCP/IP added support for EB023v2
* TCP/IP added s/w UART mode
* Webserver added support for EB023v2
* Webserver added s/w UART mode
* USBHID fix to substitution
* WLAN lost of fixes
* gLCD startup code fix
* gLCD UART speed increase
* gLCD fixed crash when DrawBox (etc) has a negative X or Y coord

FCD
* 12F683/16F690 fix to GP2INT
* 16F610 fix to init code
* 16F688 added RXINT
* 16F7x7 fixed I2C definition
* 16(L)F1934 fix to timer interrupt defines
* Various fixes to the FCD creation (removed erroneous ' character)


################################
# Flowcode for PICmicros V5.1 #
# Release: 14th February 2012 #
################################

General
* Added a free/demo version
* Help file translation updates

EXE fixes
* AND, OR and XOR operators have wrong operator precedence
* Allow launching of comp help direct from context menu
* C viewer find function drifts due to UTF8 characters
* Can perform compile without generating C file
* Freeze during undo of an icon
* Lines connecting annotations to icons sometimes do not draw
* Logic for 'extra' licensing is wrong
* Make sure component connections dialog remembers ADC pin connections
* Massive projects (> 95 macros) can not load correctly
* Refreshing components constantly during simulation causes locking
* Remember last selected chip when starting a new project
* Rename ADC pins from ADCx to Anx to avoid confusion
* Some chips do not set config words correctly
* String concatenation does not work over 3 additions
* Syntax highlighting in source view mode 'drifts' when accented characters used
* Text inside loop icons not displaying correctly for 'test at end'
* The “check for updates” menu produces the wrong URL
* Toolbar positioning does not persist across saves
* Search and replace does not find variables on input icon

CAL
* Fixes for devices with multiple UARTS

Components
* Fixed FAT component compilation errors
* Fixed RS232 C code typo
* Fixed gLCD print macro simulation
* Fixed EEPROM write simulation
* Fixed ADC RAW function simulation
* Fixed PWM component crash (when PWM channel is unsupported)
* Fixed SwitchBank crash with keymapping (out of bound array index)
* Fixed Servo connection substitutions
* Added gLCD SW/HW mode

FCD
* Fixes for 16(L)F19xx devices


################################
# Flowcode for PICmicros V5.0 #
# Release: 16th January 2012 #
################################

Initial release

User avatar
petesmart
Valued Contributor
Valued Contributor
Posts: 395
Joined: Thu May 06, 2010 11:42 am
Location: Sydney, Australia
Has thanked: 187 times
Been thanked: 140 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by petesmart »

Hi David,

Just confirming the patch that you sent me to get the MIAC advanced and GPS module going can be updated with this release... Looking at the release notes (great initiative BTW) the MIAC system modules have been catered for? Ie I will not go backwards?

Initial feedback on the MIAC system and the modules....$@&#%+#% Awesome!!!! Pls excuse my french :mrgreen:

I'm really impressed on how this has come together .... Very intuitive, like the way you can stack the components and the device address selection/module.. The advance module is very special, SPI, I2C, DACs, PWM, IO...very versatile.. I have the GPS and the advance module connected to a master and slave MIAC...Mr kalman and rate gyro's are next via I2C....loading code onto HW in the next day or two...will keep u posted

Thanks again

All the best

Pete
sorry about that Chief!

User avatar
Mantas
Posts: 221
Joined: Tue May 15, 2012 10:32 pm
Location: Klaipeda, Lithuania - North sea, UK
Has thanked: 57 times
Been thanked: 27 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by Mantas »

Hello support :)

Good news! So I suspect the ARM update is also on the way? :)

Best regards,
Mantas
Science is my true religion.

rocket200
Posts: 68
Joined: Mon Oct 24, 2011 7:50 pm
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by rocket200 »

And what about AVR? When will the update be arriving for this platform?

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by DavidA »

Hello,

We hope to release an update for AVR/ARM shortly, everyone in the office is using up their holidays at the moment so its hard to say when we will be releasing these exactly.

poweronhand
Posts: 21
Joined: Mon Sep 07, 2009 7:09 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Flowcode v5.4 for PIC Released

Post by poweronhand »

Hi Guys,
I am a bit frustrated i made a simple program in flow code 4 and it works in flowcode 4 when i open it in flowcode 5 it doesnt function and saids program fail (config1)
i am using picmicro development board version 3 hp-488-00-3
please help
i have attached the file for your revision
any information please let me know
also the reason i purchase flowcode 5 is because i would like to program 12f675 but both chips are not be able to be programmed in flowcode 5
thanks
Attachments
led test Flowcode 4.fcf
(5 KiB) Downloaded 866 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by Enamul »

Are you using FCv5.4 or 5.5?
Enamul
University of Nottingham
enamul4mm@gmail.com

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by Enamul »

Hi
There is nothing wrong in the code. It seems an issue with V3 board or PPPv3 software. Can you please post you compiler and programmer configuration?
Enamul
University of Nottingham
enamul4mm@gmail.com

poweronhand
Posts: 21
Joined: Mon Sep 07, 2009 7:09 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Flowcode v5.4 for PIC Released

Post by poweronhand »

Enamul wrote:Are you using FCv5.4 or 5.5?
I purchased the latest version it should be 5.5
thanks

poweronhand
Posts: 21
Joined: Mon Sep 07, 2009 7:09 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Flowcode v5.4 for PIC Released

Post by poweronhand »

Enamul wrote:Hi
There is nothing wrong in the code. It seems an issue with V3 board or PPPv3 software. Can you please post you compiler and programmer configuration?
ok please let me know where I can locate it , even in FC 4 i can see program fail in the screen but the led flash in the board and it programmed OK .

thanks

poweronhand
Posts: 21
Joined: Mon Sep 07, 2009 7:09 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Flowcode v5.4 for PIC Released

Post by poweronhand »

Di Guys ,
I did a few different ways , I used the FC 5 to compile to C and Hex file then I use the pppv3 3.9.12.26 to down load it to the chip and it works this way .
I think there is problem with FC5 communicates with the pppv3 assembly soft ware
please help to solve the problem
thanks

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 474 times
Been thanked: 458 times
Contact:

Re: Flowcode v5.4 for PIC Released

Post by dazz »

Hi
In flowcode if your click build comiler options, theres an export button, click it, it will creat an fcs file ,zip it up and attach it to a post

Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

Post Reply