Flowcode 7 - Updates Since 7.2.1

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

Moderator: Benj

Post Reply
User avatar
Benj
Matrix Staff
Posts: 15159
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4753 times
Been thanked: 4285 times
Contact:

Flowcode 7 - Updates Since 7.2.1

Post by Benj »

7.3 is now available to download and already includes all of the fixes posted here.

Here is a list of cumulative updated files available since the release 7.2.

Simply extract the zip archive into your Flowcode 7 folder for the new files to be applied. Remember to restart Flowcode if you have it running to apply the changes.
Flowcode_7_Latest_240817.zip
(7.63 MiB) Downloaded 732 times
Below is a list of changes.

CAL - Code Abstraction Layer
  • bug: PIC16BIT I2C Baud Rate calculated incorrectly
  • bug: PIC CAL UART - Wrong PIE PIR register on 16F18877 devices.
  • bug: PIC32 CAL UART - Assuming peripheral clock set to /4 instead of /1
Components
  • feature: Added better substitution support into NM7010A Webserver component and fixed a compile bug on PIC
  • feature: Added better substitution control to ESP8266 component
  • feature: added Pressure Sensor component MS5637
  • feature: Added BME280 Pressure Sensor component
  • bug: ESP8266 had a minor compile error linked to an old buffer which is no longer used
  • bug: Pressure sensor components had a property bug - referencing wrong sub component
  • bug: ESP8266 component updates to make it work faster and more reliable with HTTP hosting scenario
  • feature: Added multiple bank support for PIC PWM CAL Component
  • bug: Fixed a long timeout after connecting to a server using the ESP8266 in client mode
FCD - Flowcode Definition Files
  • bug: STM32F446 FCD fixes
  • bug: fixed drive name 746 for Nucleo 144
  • bug: fixed drive name for 469 Discovery
  • bug: STM32 429 Discovery changed default device name from NODE_F to DIS_F429ZI
  • bug: PIC18(L)FxxK40 Fixed Timer compiler issues and missing PWM pins
  • bug: More interrupt related fixes to 18(L)FxxK40 devices
  • bug: 18(L)FxxK40 PWM channels 3 and 4 had compilation errors and PWM timer not being enabled

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates included in the archive.

CAL - Code Abstraction Layer

bug: STARM fix redef of prescaler variable on multiple SPI use
bug: Added rollover detection to I2C Baud calculation to allow slow speeds on fast devices
bug: Moved PIC I2C Baud calculation from runtime calc to pre-processor definition
bug: PIC32 moved I2C Baud calculation into define

Components

bug: ESP8266 had a long timeout when attempting to connect to a host in client mode

FCD - Flowcode Definition Files

bug: 16(L)F170x had compilation problems with timers 2, 4 and 6
feature: STARM Disco added Port A pin 3 for control of backlight
bug: 16(L)F188xx devices had a mis labelled config register
feature: Added 16(L)F153xx device family
feature: Added 24FJ128GA20x and 24FJ64GA20x device family
bug: add ADC & DAC support to 32F469Discovery
bug: some 12F devices had IOC related compile errors thanks to missed lower case register name ioc

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates included in the archive.

CAL - Code Abstraction Layer

bug: Fixed SPI channel 1 compile errors on 16F18877 device

Components

bug: SRF component had a fixed reference to sleep pin D4, now moved to a pin property
bug: Fixed a problem where LED labels were not auto updating correctly
bug: Fixed another label related issue with the LED Array PCB component
bug: TCPIP EB023-00-1 TxSendString macro was incorrectly limited to 20 bytes and consuming 20 extra bytes of RAM
bug: Modbus slave was returning the wrong register count for commands 0x10 and 0x0F as expected by other 3rd party equipment
feature: Added MiscA licensing to new Serial EEPROM component (24C16) by LM
feature: Charlieplex LED now supports up to 12 pins or 132 LEDs
bug: Modbus Slave on a 16-bit PIC RS485, needed UART TX wait for completion code as used by Modbus Master before switching Rx/Tx
feature: WS2811 LED component now working on an 8-bit PIC device >= 48MHz using Free XC8

FCD - Flowcode Definition Files

bug: 30F2010 fixed incorrect PWM channels so that we only list valid CCP type channels
bug: Added timers to PWM options for dsPIC MIAC
bug: add GPIO F and G clock enables to 32F746Nucleo144
bug: Fixed PWM compile errors on 24FJxxxGA1XX devices
bug: some USARTs should be UARTs STARM Nucleo144
bug: 12F752 definitions problems for ADC and DAC as fixed by Medelec35

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates included in the archive.

CAL - Code Abstraction Layer

feature: Added new ADC type for 24FJxxxGA3xx device family
bug: PIC CAL HW I2C Fixed Compilation Errors on 18F47K40 device family

Components

feature: Added expansion pin control to FA API component - Requires API FW v3

FCD - Flowcode Definition Files

feature: Added 33EPxxxGMxxx device family
bug: 24FJxxxGA3xx had incorrect ADC type defined

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates included in the archive.

CAL - Code Abstraction Layer

feature: Added 16-bit PIC RTC support into CAL
feature: Improved PIC 16-bit RTC CAL support
feature: Added PIC CAL RTCC support
feature: Added 16-bit PIC RTCC type2 CAL support
bug: AVR CAL UART had a RX interrupt vector naming problem with the ATMEGA328P device
bug: RTC on 16-bit PIC was not correctly writing to the RTC registers, pointer reg automatically increments
bug: CAL PIC float functions were treating whole constants as integers rather than floats
bug: PIC32 CAL HW UART Baud Rate Calculation changed to /1 peripheral clock
feature: speed up of CAL IO bit functions for ST ARM
feature: Added new PIC16 CAL ADC type 12 for PIC24FJ128GC010 Family
bug: Fixed more bugs with PIC16 ADC CAL type 12

Components

feature: Added internal RTCC support for RTC component
bug: Fixed a bug where the RTC properties were not updating correctly on some devices
bug: PWM simulation duty bug on PIC32 - Fixed
bug: Pressure sensor component BME280 - attempt at re-working the code to make it work correctly

FCD - Flowcode Definition Files

feature: Added RTCC definitions to 16-bit PIC devices
feature: Added 24FJ64GA1xx device family
Feature: Added RTCC definitions to compatible 8-bit PIC devices
bug: INT1 remap register location was wrong on some 16-bit PIC devices
bug: INT4 edge selection control bit was using INT3 bit on some 16-bit PIC devices
bug: PIC32MX Timer Interrupt frequency calculation has been fixed
feature: Added fixed INTOSC helper setting to 12F675 definition
bug: Added missing UART Channel 2 RX Interrupt to 18FxxK40 devices
bug: Fixed incorrect UART Channel 1 RX Interrupt definitions in 18FxxK40 devices
feature: Added support for the 24FJxxGC0xx family
bug: Fixed some ADC device definitions for PIC16 24FJxxGC0xx Family

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates added in the archive.

CAL - Code Abstraction Layer

bug: PIC16BIT CAL PWM channel 7 had a typo bug which stopped the channel from working
bug: PIC EEPROM CAL fixed a compilation error with 18F47K40 device family
bug: PIC CAL UART had a compilation error on 18F47K40 family for HW channel 1
bug: Added extra PIC32 CAL UART Interrupt options to support 32MX550F256H device
bug: Additional mods to support EEPROM on 16F18xxx
bug: Fix for 8 bit ADC on 16F707
bug: PIC32 UART Baud Change caused the UART to become disabled - now working correctly
bug: Removed PIC CAL UART warning regarding redefining baud rates when using multiple UARTs
bug: Slowed down the PIC16-bit SPI Software channel to give more prescaler variety
feature: Added PIC CAL ADC support for the PIC18F6xK40 device family

Components

bug: CAl ADC was listing vref options in numeric order rather than the values specified in the FCD
bug: GSM improved stability of CheckNetworkStatus and added SendString to API
bug: ENC28J60 component did not fully update the SPI (CAL) properties when Software channel selected.
bug: CAL UART did not support Alt Remap Banks for PIC18F devices
feature: Added adjustable Subnet Mask, MAC address and Gateway IP to TCPIP EB023-00-2 component
bug: RF-ISM component initialise made more reliable
bug: USB Serial component would miss multiple bytes sent from the PC in fast succession when reading a byte at a time
bug: 4D Display Goldelox component was out of date compared to the current 4D API protocol
feature: Added more font sizes to 4D Goldelox display type and GLCD simulation

FCD - Flowcode Definition Files

bug: PIC16(L)F1939 definition was missing some PWM timers and prescaler
bug: 16F188xx All ADC ports to digital inputs
feature: add support for 12 bit ADC on PIC24FJ64GA306
feature: added more EXTI interrupts to 405RG
bug: UART RX Interrupt PIC32 - Reordered Interrupt Macro and RX Flag Clear
feature: Added PIC 16(L)F720 and 16(L)F721 devices
feature: Added support for the PIC18(L)F6xK40 Device Family

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here is another big raft of updates and fixes now added in to the archive.

CAL - Code Abstraction Layer

feature: Added PIC32 internal CAN definitions, need to work on the CAL implementation now
feature: Added support for PIC16F5x and 5xx devices with reduced functionality I/O similar to 10F
bug: USB on 16F1459 had compilation errors due to incorrect CAL include paths.
bug: USB bug fixes to PIC/PIC16BIT/AVR USBSerial and USBHID Libraries
bug: Changed PIC32 UART priority default level to 1
feature: add support for 12 bit ADC on PIC24FJ128GA306
bug: Fixed AVR compile error when MX_USI is defined as Slave functions don't support this mode
bug: AVR USB HID Descriptor Series 67 comma was missing from usb_descriptors.c file
bug: PIC32 UART CAL added Interrupt Priority to automatic RX Interrupt enable code
feature: PIC32 added automatic fast/slow Baud mode control based on clock speed and user Baud setting

Components

feature: Added new gLCD components PCD8544 and ST7920
feature: PCD8544 gLCD Added a new contrast control macro and ability to switch off pixel buffer
bug: ST7565R Fixed a problem where the pixel draw colour was fixed and unchangable
bug: PCD8544 gLCD Contrast function didn't work and black/white were inverted
feature: Added new extended fonts to STM32F469 gLCD
bug: DSP FFT Component was not working due to changes in the way the LUT component worked
bug: FFT component - Forced Lookup Array to be signed as contains negative values
bug: DSP frequency Generator now working with LUT data type changes
feature: All graphical LCDs given access to new extended font sizes
feature: gLCD TextField component given access to new extended font sizes
bug: RS232 SendString and ReceiveString macros could only handle up to 255 bytes
bug: Combo board component appearing below the table top when dragging on to the panel, partial fix
feature: New Timer component to allow much easier time based measuring
feature: Added max time measurement to the Timer component properties
bug: USB components made to work more relaibly
bug: Timer component now tested working on 16-bit PIC and AVR
feature: Added illuminated panel switch component
bug: DMX master and slave didn't allow you to configure the UART pins for the software UART channel
feature: Added GetCursorPosition to GLCD Textfield Component

FCD - Flowcode Definition Files

feature: First pass at adding the PIC 16(L)F171x device family
feature: Added the rest of the PIC 16(L)F171x device family and added missing banked remap definitions
bug: Missing XML line termination in PIC18(L)F6xK40 device definitions
bug: Fixed PIC32MX5xx, 6xx UART definition errors, too few or too many UARTs defined
bug: RXINT definitions incorrect for 16(L)F18875 family
bug: Found a few PIC24F devices which were looking at the PIC24E compiler header file
bug: Some AVR definitions were missing ADC channels
feature: Added support for PIC16F5x device family
bug: Fixed a problem with PIC16F5xx device family where I/O wouldn't compile correctly
feature: Added internal CAN definitions to PIC32 device definition files
bug: 18F6xK40 devices had a compilation bug with timer0 interrupt

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

Re: Flowcode 7 - Updates Since 7.2.1

Post by Benj »

Here are some more updates now included in the archive.

CAL - Code Abstraction Layer

feature: Added a warning to I2C enabled devices without proper master support
feature: Added new 16-BIT PIC CAL ADC type for dsPIC33EPxxGS50x Family
bug: USB HID PC -> Device comms was only working for Keyboard profile
bug: fixed ADC CAL 18(L)F6xK40 ADC disable ANSEL related compile error
bug: Added ADC channels 24 to 34 for type 34 (e.g. PIC16F18875)
bug: PIC32 Added more ifdef options for UART receive interrupt register bits

Components

bug: USB HID and Serial - More reliability type improvements and testing PIC/PIC16/AVR
feature: Added new "User" component category with sub cats "Development" and "Released"
bug: Shape primatives were no longer clickable, draggable - Fixed
bug: USB Serial RxByte missing local variable
bug: KS0108 pixel colouring was backwards
bug: I2C LCD was missing I2C Baud rate settings
bug: Modbus Slave ASCII mode was missing an initialiser on one of the receive variables
bug: DMX Slave now accepts up to 512 Byte packets rather than maxing out at 256 Bytes
feature: DMX Slave Receive function now has better timeout handling
bug: RTC component was not performing an I2C Restart when reading back values
bug: Primitive Shape components were missing an initial on SimStart colour change, now forced the event to happen
feature: Created new component catagories for Click and Grove modules
bug: LCD Simulation had wrapping issue when scrolling
bug: USB HID could not receive data back from the PC when not in Keyboard mode
feature: Added new Grove and Click component catagories and icons
feature: PWM added status indicator and update duty when disabled
bug: DHT11 component was returning the temperature reading for one of the humidity macros
bug: UART CAL fixes for non-sequential UART numbering (ST ARM in particular)

FCD - Flowcode Definition Files

feature: Added INTOSC configuration settings to 16(L)F188xx family definitions
feature: Added new PIC-16bit dsPIC33EPxxGS50x Family Definitions
feature: ST ARM (32F405RG) All EXTI pins now supported
feature: ST ARM (32F4) All EXTI pins now supported
bug: 16(L)F178x Family - Changed ADC bit count from 10 bit to 12 bit
bug: Moved XC8 related includes to directives code so that configuration can be switched off without compile errors
bug: 18(L)F6xK40 Fixed register bugs with IOC and TMR2 interrupt definitions
bug: 10F32x devices had a compilation error when using PWM as the PWM type had not been overridden
bug: 18FxxJ53 devices were not listing the pin remap options for interrupts INT1-INT3
bug: Fixed definition problems with ports J and K being referred to as I and J

Compilers

feature: Added large-code versions of the PIC16 XC16 compiler and linker batch files

Post Reply