Search found 78 matches

by streammaster
Wed Jun 06, 2018 1:15 am
Forum: Flowcode V8
Topic: The GLCD ST7565R component on LoRa Mote board
Replies: 8
Views: 5521

Re: The GLCD ST7565R component on LoRa Mote board

Thanks for your answer, which modes are you talking about?; which 'mode' uses FC and which one is using ST7565R controller? If you talking the 8080/6800 mode then i inserted a switch where i can change the display mode (but it is not solving the problem). Could you please get a bit more details what...
by streammaster
Tue Jun 05, 2018 11:09 am
Forum: Flowcode V8
Topic: The GLCD ST7565R component on LoRa Mote board
Replies: 8
Views: 5521

The GLCD ST7565R component on LoRa Mote board

Hi guys, I'm using the FC for more then 3 years by now, however I never had any luck getting FC graphic display components working with my real hardware. I was pushed to write my own driver every time. This is not so hard, but to make own component with full and precise simulation is actually quite ...
by streammaster
Tue Jun 05, 2018 3:14 am
Forum: Flowcode V8
Topic: Compiler settings?: usb_serial_config.h": No such file or directory
Replies: 2
Views: 2753

Re: Compiler settings?: usb_serial_config.h": No such file or directory - Solved

It sounds i have a dialogue with my self here :-)

I noticed that there was an update in FC8 (Help -> Check for Updates) and there where a few updates relevant to my project (USB CAL, i2c CAL).
After installing updates and restarting the FC8 compilation finished successfully.

So the problem solved.
by streammaster
Tue Jun 05, 2018 1:52 am
Forum: Flowcode V8
Topic: Compiler settings?: usb_serial_config.h": No such file or directory
Replies: 2
Views: 2753

Compiler settings?: usb_serial_config.h": No such file or directory

Hi guys, i installed FC8 and loaded my last FC7 project to see if would compile. Firstly installing the 'tool chain' still not configure the compiler options (defaults settings are not working), what created actual confusion: it is a mystery where actual files are installed. Also i couldn't find ins...
by streammaster
Thu Jan 25, 2018 8:04 am
Forum: 8-Bit PIC
Topic: PIC18F47J53 - PWM (CCP) configuration
Replies: 4
Views: 3340

Re: PIC18F47J53 - PWM (CCP) configuration

Here is an update, It looks that everything is quite straight forward apart of the configuring 'Configurable ports' I never did this and reading the Datasheet there is some assembly example (for UART) which i reused here, but not sure if this is correct. I made some progress but i failed on implemen...
by streammaster
Thu Jan 25, 2018 2:21 am
Forum: 8-Bit PIC
Topic: PIC18F47J53 - PWM (CCP) configuration
Replies: 4
Views: 3340

Re: PIC18F47J53 - PWM (CCP) configuration

Thank you Ben, I will try, but i most likely would need help with configuring the registers using C code icon (having correct syntax in it). I will need to configure following registers: TRISp (Pin configuration, 8 bit) CCPxCON - (ECCP 1,2,3 control, 8 bit) ECCPxDEL - (ECCP1/2/3 ENHANCED PWM CONTROL...
by streammaster
Tue Jan 23, 2018 9:49 am
Forum: 8-Bit PIC
Topic: PIC18F47J53 - PWM (CCP) configuration
Replies: 4
Views: 3340

PIC18F47J53 - PWM (CCP) configuration

Hi Guys, I'm trying to utilize 18F47J53 (E)PWM hardware resources, but i do not know how to do it by using the Flowcode 7. I suspect that the configuration file for this device is not 100%? For start the PWM can use timer 2, Timer 4, Timer 6 or Timer 8. The configuration in Flowcode is locked to Tim...
by streammaster
Tue Oct 03, 2017 5:49 am
Forum: 8-Bit PIC
Topic: Disabling UART Tx when entering SLEEP mode
Replies: 1
Views: 2596

Disabling UART Tx when entering SLEEP mode

Hi everyone, Can somebody please advise me what is the best way of disabling the UART Transmitter pin and converting it to input during SLEEP() mode? I'm controlling the power of the peripherals, and I shut down all power on the board before entering the SLEEP(), but in SLEEP mode the UART remains a...
by streammaster
Sun Oct 01, 2017 7:50 am
Forum: 32-Bit PIC
Topic: Getting PIC32MZ connected
Replies: 5
Views: 8311

Re: Getting PIC32MZ connected

Hi Qmesar, thanks for prompt reply. Now when I had a look in tot he schematic it is the PICkit interface. In the manual is mentioning as debbuger interface, so it was confusing. The board communicates with USB to MPLAB. Thank you very much for clarifying it. I ordered the board and multimedia extens...
by streammaster
Sun Oct 01, 2017 6:58 am
Forum: 32-Bit PIC
Topic: Getting PIC32MZ connected
Replies: 5
Views: 8311

Getting PIC32MZ connected

Hi Guys, I'm looking to get the Microchip starter kit board PIC32MZ. http://www.microchipdirect.com/ProductSearch.aspx?Keywords=DM320007 . I can not find how and if the FC7 supports USB programming (programmer)? I use to use PIC18 and PICkit 3 to program the target and this works relatively smoothly...
by streammaster
Sun Sep 17, 2017 5:10 am
Forum: Flowcode V7
Topic: How to initialise the array?
Replies: 2
Views: 2572

How to initialise the array?

Hi Guys, I couldn't find the answer how to initialize the array in FC7 ( so the simulation not complines as an Error) and not sure if this error would have any influence on the compiler? The only way which I figure it out so far is by assigning the value it in the calculation block, but this is real...
by streammaster
Sat Sep 09, 2017 8:01 am
Forum: General Programming
Topic: Mixed multidimensional Array to index lines of text
Replies: 1
Views: 2423

Mixed multidimensional Array to index lines of text

Hi Guys, I need an advice. I'm creating a user interface on LCD, and I need to store the UI pages of text so it can be selected and scrolled on the LCD. Idea is to put all lines of text as the string (array). The issue is that this array needs to be two dimensional so each line can be dynamically in...
by streammaster
Sat Sep 09, 2017 7:14 am
Forum: Flowcode V7
Topic: Webserver (WIZ810MJ) component
Replies: 6
Views: 5095

Re: Webserver (WIZ810MJ) component

Hi Leigh,
Thanks for this info. I need to test this but currently, i'm working on other projects not involving the web server.
I will need to do it next month, so I will report back how this will go.

Regards,

Igor
by streammaster
Sat Sep 09, 2017 7:11 am
Forum: General Programming
Topic: Simulation objects detection method
Replies: 2
Views: 2756

Re: Simulation objects detection method

Hi Ben, unfortunately, I still have the issue of getting the correct ID for the object. If I compile the component and run the component in the new project simulation, the IDs are all screwed, and there is no way to determine on startup what they are. I coded an offset of this child ID, but this is ...
by streammaster
Sat Sep 09, 2017 6:54 am
Forum: Flowcode V7
Topic: cal_i2c read SDA locked down no STOP condition - bug?
Replies: 8
Views: 5776

Re: cal_i2c read SDA locked down no STOP condition - bug?

Hi Guys, I understand now, but there is absolutely no reference in ANY of documentation about which values this property 'last' needs to be. Since most common use is a single byte it should be set to 1 by default. In any case, component's function call should time out if there is some data error cre...
by streammaster
Tue Sep 05, 2017 9:14 am
Forum: Flowcode V7
Topic: cal_i2c read SDA locked down no STOP condition - bug?
Replies: 8
Views: 5776

Re: cal_i2c read SDA locked down no STOP condition - bug?

Here is the fixed 'double read' oscilloscope trace:
I2C double read.PNG
(137.68 KiB) Downloaded 2898 times
by streammaster
Tue Sep 05, 2017 9:12 am
Forum: Flowcode V7
Topic: cal_i2c read SDA locked down no STOP condition - bug?
Replies: 8
Views: 5776

cal_i2c read SDA locked down no STOP condition - bug?

Hi Guys, i was today debugging my hardware, and i experienced the PIC lock ups. After research, i pinpointed it to the i2c communication where the data (SDA) bus remains pulled down by PIC after read procedure is used. I also noticed that this occurs on second read (executing the read macro for seco...
by streammaster
Tue Sep 05, 2017 1:37 am
Forum: Flowcode V7
Topic: Recovery from incorrect component settings - bug in FCv7
Replies: 3
Views: 3677

Recovery from incorrect component settings - bug in FCv7

Hi Guys, How we can recover from component settings since the component configuration property editor would not open to correct it (File -> Component configuration...) . Instead it just pops up the message: Error message.PNG I configured initially component in the 'Component configuration' i selecte...
by streammaster
Fri Sep 01, 2017 9:56 am
Forum: Bug reports
Topic: Bug in Dashboard Text property saving (FC v7.2.1.4)
Replies: 3
Views: 3144

Re: Bug in Dashboard Text property saving (FC v7.2.1.4)

Hi Ben, i hop that there is solution for the text box. I spent nearly whole week working on the component, and result is useless because of bug in the Dashboard text. Could you please have a look this bug and hopeful fix it. This is how it looks in the component project: Component panel.PNG Once i w...
by streammaster
Fri Sep 01, 2017 4:07 am
Forum: General Programming
Topic: FC7 Mouse click simulation interupt
Replies: 8
Views: 6277

Re: FC7 Mouse click simulation interupt

Hi Ben, Unfortunately because of this component bug, i can not find the method to work around. I have my buttons collection and i changing colors inside ev_click as you sugested. I managed to get the object selection by manually adjusting the offset in the code, so this is now working. However i nee...
by streammaster
Thu Aug 31, 2017 6:11 am
Forum: General Programming
Topic: Simulation objects detection method
Replies: 2
Views: 2756

Simulation objects detection method

Hi Guys, I'm trying to detect the mouse click on specific object(s) during simulation (object is a shape). Firstly i tried to do If statement comparing the .Component (what is the Ev_Click Macro parameter) and the Handle name of component. I noticed that the variables associated are 'Handle' type bu...
by streammaster
Thu Aug 31, 2017 4:38 am
Forum: Bug reports
Topic: Bug in Dashboard Text property saving (FC v7.2.1.4)
Replies: 3
Views: 3144

Re: Bug in Dashboard Text property saving (FC v7.2.1.4)

Hi Ben, Thanks for this but unfortunately it is not working. The size is stored, but the position of the grouped objects is not. Also, i noticed that the border position becomes stored with offset and I do not know how to fix this. At this point the design becomes brocken. I have multiple text windo...
by streammaster
Thu Aug 31, 2017 4:26 am
Forum: General Programming
Topic: FC7 Mouse click simulation interupt
Replies: 8
Views: 6277

Re: FC7 Mouse click simulation interupt

Hi Ben, I think i find another bug. I made a prototype for my buttons, and in principle it is working but not relay completely OK. Once the color property of the object is set by mouse click on the object it stops to response on some other simulation event trying to set the different color value. I ...
by streammaster
Wed Aug 30, 2017 8:56 am
Forum: User Components
Topic: Building Components - Step by Step Guide
Replies: 31
Views: 89764

Re: Building Components - Step by Step Guide

Hi Jac, thank you for the quick reply. I will try. I will have my hardware board at the end of this week ready and see if I can get my peripheral component working correctly. I just wondering how this works when we have multiple components sharing the same MCU pin, some may be inputs some outputs (a...