To get gLCD working

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

Moderator: Benj

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

dear adviser thanks for your useful information
Do you mean LVP should be disable ?
sorry about that I can not find IOC in my Programmers software
sorry for being for taken your time
it my first project in programming PICs.
wr
Nasim

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

Nasim[/quote]dear adviser thanks for your useful information
Do you mean LVP should be disable or to disable the interrupt ?
sorry about that I can not find IOC in my Programmers software
sorry for being for taken your time
it my first project in programming PICs.
wr
Nasim

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: To get gLCD working

Post by LeighM »

ioc_icon.jpg
ioc_icon.jpg (25.83 KiB) Viewed 18648 times

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

hey dear adviser
I don´t know what is wrong I made the modification as you can see in the attached snapshot
the result is the same.
can I can come to you to find this problem or please think about it if the change of Chip would make a deference
I have to find a solution for this even if I have take an other trip to England.
looking forward hearing from you
with regards
Nasim
Attachments
2017-01-19.png
(84.96 KiB) Downloaded 1657 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: To get gLCD working

Post by LeighM »

Looks like you have got your 68 second delay back in your program?
I suggest you write a very simple LED flashing program, on one port output pin.
If the LED does not flash, check the signal on the processor pin with your oscilloscope.
Then move on from there.

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

Hey dear Adviser
I am using 2 Scope with 3 Channels I see good square pulses in average of 3.5 v by using NAND gate IC CD 4011B I have ordered Volt Amplifier ICs it will take time to receive them lets this case sleep for a two or three weeks then I will come back to you if I need your help so far so good .
thanks for your grate help if you do have any advise to help me please give me a massage.
with regards
Nasim

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

[quote="Nasim Khaliqhey"]hey dear Ben j
to day I received the 16MHZ Crystal & 22pf capacitors and for security of runing the program I made the delay 1 sec
the result is the same No display
please have a look at attached copies
there must be some thing that I don´t know in configurations to be corrected
looking forward hearing from you
with regards
Nasim
Attachments
2017-01-24 (2).png
(176.47 KiB) Downloaded 1645 times
2017-01-24 (1).png
(175.03 KiB) Downloaded 1645 times
test number2 nrecordingor for.fcfx
(6.98 KiB) Downloaded 443 times

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: To get gLCD working

Post by Benj »

Hi Nasim,

Did you post a schematic for your circuit? If not then please can you?

As well as the 16MHz crystal you also need to connect the MCLR pin to VCC via a resistor, for example a 1K - 100K resistor should work fine.

In the project options you need to change the clock speed to 16000000.

You print a string variable before your loop starts but you never initialise the string with any data. Using a calculation icon before you print out the string you can assign some data.

Code: Select all

TheNumber1 = "Hello World"
How are you programming the chip? Are you using one of our boards (EB006) or are you using a PICkit or other 3rd party programmer?

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

Hey BenJ
the connections of the attached diagram shows the pin (1) of the IC is connected to 5v1 through a 10K Resistor & a switch to GND
I have also set a text "Good luck" it shows after every sec
I hope I will be able to make this work I have been using allots your time & mine
with regards
Nasim
Attachments
2017-01-24 (6).png
(120.26 KiB) Downloaded 1639 times
2017-01-24 (7).png
(119.75 KiB) Downloaded 1639 times
16326883_574471416088471_398498152_o.jpg
(236.67 KiB) Downloaded 1639 times

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: To get gLCD working

Post by Benj »

Hello Nasim,

Few comments on your schematic.

1) Where does the 5V come from?

2) Why doesn't the 3V3 voltage come from the 5V, currently it comes from an 18V source? 18V dropped to 3V3 is 14.7V to try and burn off as heat, quite a task for any regulator.

3) What is the current rating for F1 which I assume is a fuse and not a resistor. I can see that 10 Ohms has been erased, there should be no resistance on the 5V line.

4) One of the oscillator pins is fed back to pin 6, I don't think this is allowed and will likely cause the oscillator to fail.

5) Have you measured the 5V and 3V3 voltage rails to make sure they are actually 5V and 3V3?

Also
How are you programming the chip? Are you using one of our boards (EB006) or are you using a PICkit or other 3rd party programmer?

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

thanks BenJ
I have only one DC out put of 18 volt ,1A.
it has been divided for what was needed
sorry that I only sent you one part of the processors circuit diagram
the 5v1 is an output from stablizer L7805cv = 5v1 ,500mA
3v3 to 5 is the out put is from : L7805cv+10ohm R+ 3v3 Zenor diode
out put is= 4v36
pin6 has been tried connected & disconnected to clock output pin the result the same
Now it has been disconnected for ever .
I think the problem is the programmer first I bought 3 types of matrix programmers.
they are : EB064-00-1, EB-006-00-7 , EB-006-00-8 unluckily they don´t work with my laptop
there for I bought a DATAMAN-40PRO you can see the results
there for I asked Miss Nichola for the right USB connectors she has directed me to by an adopter from Amazon
I did n´t have an account with Amazon I made the order for some other place so I wait now .
please see my attached docs if you have the time for it
Attachments
16357325_574924199376526_1062582873_o.jpg
(275.05 KiB) Downloaded 1584 times
2017-01-25 (7).png
(105.13 KiB) Downloaded 1584 times

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: EB-006-00-7

Post by Nasim Khaliqhey »

Nasim Khaliqhey wrote:Dear adviser
Can you kindly send me the software of EB-006-00-7 Programmer now I have been using Dataman programmer evry thing shows ok but I am not receiving data out puts .
it must be a mistake on setting of some function .
when I bought EB-00-600-7 i have not received the small compact disk with I do have for f5 &F4 but they can not be used
By the way when I am using 4MHz Crystal with 22PF capacitors only function is working on scope is MCLR

This

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

hey Ben J
now all connection are ok as lots of USB arrived today .
but for transferring data to the chip I need to have Version 3.9 1226 to get the work done
looking forward hearing from you
wr
Nasim

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: To get gLCD working

Post by Benj »

Hi Nasim,

Not sure what you mean by this? Is it a software version?
Version 3.9 1226
Maybe a version of the PPP software?
http://www.matrixtsl.com/resources/getr ... .php?id=15

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

hey Benj
yes I thing it is that .
I downloaded now I will see the result Later to day or tomorrow
sorry Fridays are my small out side woirk.
with regards
Nasim

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

dear Ben J
can you please look at my Dataman´s programmer output data for display EBM 001gLCD
I can get all out puts ok like motor drive & strong sign waves from B0 ,& B1, to the end of display pins it shows OK
they are in conditions of WDT is enable.
to my understanding the new Display is disable can that Be the one which is not working or WDT should be disabled.
as my last tryings.

looking forward hearing from you

Note ( never mind the EB-006-00-8) programmer I am getting tiered of it it will never work with me .

in Sunday afternoon .
CORRECTIONS

I searched by Internet the fault can be CONFIG1 with CONFIG2 I could not find the right choices of setting to get the data shown in EBM001gLCD ,Can you please send me a copy of a working condition of configurations- 1 & 2 so I can set the right choices
Attachments
PG4UW_LOG_windows_content_233-10836.zip
(29.44 KiB) Downloaded 289 times

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: To get gLCD working

Post by Benj »

Hello Nasim,

Let's start from the beginning and get a single LED flashing. I believe you are trying to run before you can walk.

You have the EB006? Which chip do you have connected to it? The default is a 16F1937.

Do you have a LED E-block board.

Try and get the LEDs to light up for 1 second and then go out for a second and repeat.

https://www.matrixtsl.com/wikiv7/index. ... ED_flasher

Let us know how your getting on or any problems you have to get this working.

You shouldn't need a scope for this.

Once we have this working we can start to look at more complex programs and circuits.

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

Thanks for sending me the configuration info´s
this morning I had my computer expert with me for an hour he found out that there is some thing wrong with my flow code software that he dos´t know where the damage
is with each one of my laptop and top disc I can not open the programmed data again it shows some thing is missing from software there for my EB-006-00-007 & other one -008 is not copping but Dataman programer sends the data at any condition but it is not readable
Can you please have a look at this problem & let me know
with regards
Nasim
Attachments
2017-03-14 (4).png
(181.68 KiB) Downloaded 113 times
2017-03-14.png
(149.19 KiB) Downloaded 113 times

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: To get gLCD working

Post by Benj »

Hello Nasim,

Failed to load schema is Flowcode's way of saying your project file is corrupt. I beleive this is how we started this thread.

Are you using an old hard drive (over 5 years old) or a network attached hard drive? Both could explain why you are getting file corruption. A faulty or overloaded PSU could also be to blame. Be sure to make frequent backups of your work, preferably on a different storage medium e.g. a USB flash drive.

I'm also not sure why you keep posting scope traces showing noise? It's pretty meaningless.

Please can you create a new project and try and do the 1 second flashing routine and program this to the EB006 board. Please post back with any specific error messages you are getting.

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

thanks for your info Ben J

My new Laptop is a Window 10 it was bought by me, 2 year & 2 months ago

and I will make one other copy of my project, As you mentioned with Fc6 hope it is going to be ok

I ´ll send you the results soon

with regards
Nasim
hey Ben J
I have the same results as I had with FC7 there for I went to my last refreshing courses .Last time was in central London & Lecturer deleted all my setting in my Laptop
by mistake & rested my laptop to FC6 ,is this problem only with me or a few others to .
if you want I can send you my Laptop & all the programmers to be checked to make them work It will be cheaper for me then coming to England again
looking forward hearing from you
with regards
Nasim

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: To get gLCD working

Post by Benj »

Hello Nasim,
I have the same results as I had with FC7 there for I went to my last refreshing courses.
What results are these? Specific error messages?

Where is your 1 second flasher program? Please can you attach the .fcfx Flowcode project file to the forums?
Please can you create a new project and try and do the 1 second flashing routine and program this to the EB006 board. Please post back with any specific error messages you are getting.
Please can you try my suggestion and let us know exactly what is happening step by step. I'm finding it very difficult to help you.

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: To get gLCD working

Post by EtsDriver »

HI!

Are you trying to program directly using the .fcfx file on the dataman or the .hex file?

In the file you attached i see you load dataman with the Flowcode fcfx file....?
L0094: Loading file (from "Load file" dialog window): G:\New micro control A1.fcfx
L0095: File format selection: automatic
L0096: File format: Binary
L0097: File loading successful. Bytes loaded 25553 (000063D1h).
L0098: Buffer checksum in range of [0h..3FFh]: 0001D068h - Byte sum (x8), Straight
L0099: PICmicro checksum: 05C7h
You have to use the .hex ending one after successfull compilation...

Code: Select all

L2040: >> 01.03.2017, 12:29:10
L2041: Loading file (from "Load file" dialog window): G:\New micro control A1.fcfx
L2042: File format selection: automatic
L2043: File format: IntelHEX
L2044: Negative offset (manual): 00000000h
L2045: Range of addresses: 0h - 3FFFh
L2046: File loading successful.
L2047: Buffer checksum in range of [0h..1FFFh]: 000DAE90h - Byte sum (x8), Straight
L2048: PICmicro checksum: 42E7h
L2049: 
L2050: Buffer checksum in range of [0h..1FFFh]: 000DAE90h - Byte sum (x8), Straight
L2051: PICmicro checksum: 42E7h
L2052: Saving file: G:\New micro control A1.fcfx
L2053: File format: IntelHEX
And this save thing is overwriting your .fcfx file and thats why flowcode v7 throws errors at you.
Ill just keep the good work up!

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

hey dear adviser

yes I am using the Dataman programmer becouse my Programmers EB-006-00-07 & EB-006-00-08 are not installed I need the right software for them to be installed.

when I try to insert the programmed data I receive the note that USB is not installed I see the power LED1 & D6 lighting at EB-006-00-08 the same thing happens
with EB-006-00-08 both LED1 &LED2 are lighting but I insert data transaction ,I receive the massage of USB is not connected then I tried to shift the positions of WS1 and WS2 makes no deference

Data man shows all data gone through but not receiving good outputs

looking forward hearing a solution to this problem I do have a small market for my operating Modules unluckily I am not able to make my prototypes
with regards
Nasim
Note: I did create a new project with short sentence "PREE WASH" with 0.1 sec delay the result was the same and I could not open that to send to you

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: To get gLCD working

Post by Benj »

Hi Nasim,

Please can you navigate to the following folder on your computer.

C:\Program Files (x86)\Flowcode 7\tools\mLoader

Then run the file "mLoader.exe"

With no hardware connected you should get an orange circle at the top right hand corner of the mLoader window.
Mlod1.jpg
Mlod1.jpg (3.56 KiB) Viewed 16981 times
Now plug in your EB006-00-8 ensuring the jumpers are set as follows and see if anything happens.

USB/PSU - USB
USB/ICSP - USB
OSC/A6&7 - OSC

If the USB driver is installed and working then the circle should turn Green and say PIC.
Mlod2.jpg
Mlod2.jpg (4.29 KiB) Viewed 16981 times
If nothing happens then you can install the USB driver from here.

https://www.matrixtsl.com/resources/get ... e.php?id=6

Install the driver by running the file named "EB006 Driver Installation 64-bit.exe" from the download.

With the USB driver installed has the mLoader circle changed colour?

If it has then make sure you close mLoader to allow Flowcode to work.

you should now be able to use the compile to chip option in Flowcode.

You can also manually send the compiled Flowcode .hex file to the EB006 hardware by using the mLoader tool.

Nasim Khaliqhey
Posts: 90
Joined: Wed Oct 15, 2014 5:20 pm
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: To get gLCD working

Post by Nasim Khaliqhey »

hey BenJ
this was all I have been waiting for it ,It is done for transferring data Like peace of kake now from tomarrow I will be using my EB programmers
thank you for your help 1000 times
in operattinwith 16F88 it shows ok
hope fully it will be ok with 16F1937.

Agian & Again thank you very much .

Post Reply