Bugs report

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
cubitus54
Flowcode v5 User
Posts: 110
Joined: Wed Jun 19, 2013 7:18 am
Has thanked: 7 times
Been thanked: 32 times

Bugs report

Post by cubitus54 »

Hello,

I will report two bugs and a problem

--------------------------------------------------------------

Var type LONG -> -2147483648 to 2147483647 simulation is OK. The hardware is OK
Var type ULONG -> 0 t0 4294967295 The simulation is OK. The hardware is a LONG -2147483648 to 2147483647 !

--------------------------------------------------------------

The definition of 16F1847.fcd & 16LF1847.fcd are false for the PWM (CCP)
I attached the corrected file.
16LF1847.fcd
(17.5 KiB) Downloaded 299 times
16F1847.fcd
(17.5 KiB) Downloaded 292 times
-------------------------------------------------------------

I have purchased an LCD 4D μLCD43PT, it is similar to EB076 but it does not respond to command sent
SPE2 firmware rev 1.1
PMMC Rev 3.4
Is there a solution?

thank you

Flowcode v5.5.2.1
Flowcode V6.1.2.0(11 05 2015)

User avatar
cubitus54
Flowcode v5 User
Posts: 110
Joined: Wed Jun 19, 2013 7:18 am
Has thanked: 7 times
Been thanked: 32 times

Re: Bugs report

Post by cubitus54 »

Hello,

Nobody responds? everyone is on holiday?

new bug

16F1847 :"Up to two Master Synchronous Serial Port (MSSP) with SPI and I2CTM with: - 7-bit address masking"

Flowcode in the compilation:
C:\Program Files (x86)\Flowcode\v5\CAL\PIC\PIC_CAL_I2C.c(319): This chip does not have Master I2C capability :?

I change pic or software ? :evil:
Flowcode V6.1.2.0(11 05 2015)

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: Bugs report

Post by Benj »

Hello,

Sorry for the delay,
Var type LONG -> -2147483648 to 2147483647 simulation is OK. The hardware is OK
Var type ULONG -> 0 t0 4294967295 The simulation is OK. The hardware is a LONG -2147483648 to 2147483647 !
How are you testing this? The LCD PrintNumber and ToString routines currently only knows how to handle signed int values to save on code overhead. It's something we are looking at for v6. Using the ToHexString function should allow you to print out the unsigned value.
The definition of 16F1847.fcd & 16LF1847.fcd are false for the PWM (CCP)
Fantastic many thanks. We do our best to keep all our definition files correct and working but with so many devices sometimes a few can slip through the net.
I have purchased an LCD 4D μLCD43PT, it is similar to EB076 but it does not respond to command sent
We will hopefully be adding support for this type of LCD shortly as the E-block is also awaiting an upgrade. The custom code feature could maybe be used to tweak the code into giving the correct commands for the new display.
16F1847 :"Up to two Master Synchronous Serial Port (MSSP) with SPI and I2CTM with: - 7-bit address masking"
This is probably due to another bug in the definition file. I will take a look and see if we can get this resolved for you.

User avatar
cubitus54
Flowcode v5 User
Posts: 110
Joined: Wed Jun 19, 2013 7:18 am
Has thanked: 7 times
Been thanked: 32 times

Re: Bugs report

Post by cubitus54 »

How are you testing this? The LCD PrintNumber and ToString routines currently only knows how to handle signed int values to save on code overhead. It's something we are looking at for v6. Using the ToHexString function should allow you to print out the unsigned value.
temp = ToString$ (batt_cal)
I bypassed the problem by using a "long" variable - + 2147483648.

Thank you
Flowcode V6.1.2.0(11 05 2015)

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Has thanked: 93 times
Been thanked: 76 times

Re: Bugs report

Post by Zane »

In regards to you problems with the touch screen you have try this http://www.matrixmultimedia.com/mmforum ... 46&t=12147. I have had the same issue, what the display needs is the older version of firmware that is compable with flowcode. Hope this helps

User avatar
cubitus54
Flowcode v5 User
Posts: 110
Joined: Wed Jun 19, 2013 7:18 am
Has thanked: 7 times
Been thanked: 32 times

Re: Bugs report

Post by cubitus54 »

Hello,

I'll try tomorrow

thank you
Flowcode V6.1.2.0(11 05 2015)

Post Reply