Page 1 of 1

Bugs report

Posted: Mon Aug 05, 2013 10:18 am
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 310 times
16F1847.fcd
(17.5 KiB) Downloaded 302 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

Re: Bugs report

Posted: Wed Aug 07, 2013 7:01 pm
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:

Re: Bugs report

Posted: Wed Aug 07, 2013 7:49 pm
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.

Re: Bugs report

Posted: Fri Aug 09, 2013 7:32 am
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

Re: Bugs report

Posted: Wed Aug 14, 2013 11:08 pm
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

Re: Bugs report

Posted: Fri Aug 16, 2013 8:59 pm
by cubitus54
Hello,

I'll try tomorrow

thank you