Search found 51 matches

by crispin12
Tue Jul 31, 2018 6:48 pm
Forum: 8-Bit PIC
Topic: Injector and RS232 simulation
Replies: 7
Views: 7204

Re: Injector and RS232 simulation

Holy cow Martin! That is some amazing work you've produced. You certainly don't do things by half do you :) I have to confess to finding some of the code a bit beyond my skills ... I mean it looks like you've got some custom icons in there that I've never seen before so how you came up with that des...
by crispin12
Tue Jul 31, 2018 6:39 pm
Forum: 8-Bit PIC
Topic: Strange compiler warning when WDT disabled
Replies: 3
Views: 6054

Re: Strange compiler warning when WDT disabled

Thanks Ben

I did as you suggested and copied the latest fcdx file for the chip into my system, but when I booted up Flowcode, opened the design and recompiled, I'm getting exactly the same warning message. Could there still be an error in the file relating to the WDT?

Thanks for the help.
by crispin12
Mon Jul 30, 2018 7:30 pm
Forum: 8-Bit PIC
Topic: Strange compiler warning when WDT disabled
Replies: 3
Views: 6054

Strange compiler warning when WDT disabled

Flowcode v7.1.1.0 (yes I realise its out of date and should be upgraded) PIC18F45K80 My project is compiling but the config settings are giving a warning from the compiler. Haven't seen this before and wondering why the semantics are not readable. 36:__config("__PROG_CONFIG", "pic18", 0x2, 0x74F8); ...
by crispin12
Mon Jul 30, 2018 5:43 pm
Forum: 8-Bit PIC
Topic: Injector and RS232 simulation
Replies: 7
Views: 7204

Re: Injector and RS232 simulation

Yes, that does work. Thanks Ben. Don't know why I didn't think of that. Anyway in order to give back to the community I am enclosing here a new Flowcode example file which is a modified version of the earlier character transmission, edited, to show an example of a 9 character string sent by the inje...
by crispin12
Mon Jul 30, 2018 2:17 pm
Forum: 8-Bit PIC
Topic: Injector and RS232 simulation
Replies: 7
Views: 7204

Re: Injector and RS232 simulation

Thanks for replying Martin but sadly no this isn't it. Your example is collecting single characters transmitted one at a time and assembling them into a string at the PIC to print on the LCD. What I want is to type on the pc keyboard a series of characters and ONLY transmit the series or group of ch...
by crispin12
Mon Jul 30, 2018 9:50 am
Forum: 8-Bit PIC
Topic: Injector and RS232 simulation
Replies: 7
Views: 7204

Injector and RS232 simulation

Playing with the downloaded file "RS232_Example2.fcfx (6470 bytes)" example from Matrix that illustrates character Rx and use of an Injector. It works fine but I can't get it to do what I want. Every time I hit a key on the PC keyboard the simulation transmits the character immediately and I see the...
by crispin12
Wed Jul 25, 2018 9:27 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Many thanks Martin.
by crispin12
Wed Jul 25, 2018 8:48 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Ok but do these string manipulation functions work when the string is alpha as opposed to numeric? Martin you give an example using numbers but is it also true if the string is letters or words? Just checking. THanks
by crispin12
Wed Jul 25, 2018 6:43 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Just realised a flaw in what I am attempting above. I can't take the 4th char from the string and insert it into a byte var without first converting the character to an integer. However, I think i could copy the character into a string var of just 1 byte in length, So I wonder could I do something l...
by crispin12
Wed Jul 25, 2018 5:51 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Martin Further to the requirement to parse the incoming Rx string can you tell me what the calculation command would be to read for example the 'nth' character in for example a 10 byte string situated in a variable and place that character / byte into a new byte variable? So for example, lets say th...
by crispin12
Tue Jul 24, 2018 3:29 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Thanks Martin So the Rx interrupt does not work under simulation. Well you've probably just saved me hours of frustration then. I wasn't aware of that at all. Do you happen to know if that is a Flowcode 7 anomaly (my current setup) but fixed on Flowcode 8 or is that also true of Flowcode 8? As soon ...
by crispin12
Tue Jul 24, 2018 1:53 pm
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Re: Help understanding USART component please

Thanks Leigh, that is very helpful and I think its a lot clearer now. I think the biggest problem I may have to face is that I can not be certain when the incoming data on the Rx starts. However, when it starts it will always have the first 2 characters the same and then the following data after tho...
by crispin12
Tue Jul 24, 2018 10:17 am
Forum: 8-Bit PIC
Topic: Help understanding USART component please
Replies: 14
Views: 9028

Help understanding USART component please

I wonder if someone could lend me a hand on getting to grips with RS232 USART. This is the first time I’ve used the RS232 component and macros so I’ve looked back over some of the examples produced by Matrix in the past and there’s a few things I’m unsure about. I want to transmit and receive string...
by crispin12
Tue Feb 13, 2018 4:33 pm
Forum: 8-Bit PIC
Topic: 16F54
Replies: 3
Views: 3896

Re: 16F54

I'm using 7.1.1.0 and several of the pics shown in your screen shot aren't there for me. Matrix must have added them after 7.1.1.0. At least I know I can get them if I run the update. BTW I agree re. your comments. I spent a few hours last night going through the data sheet and found several limitat...
by crispin12
Tue Feb 13, 2018 12:09 am
Forum: 8-Bit PIC
Topic: 16F54
Replies: 3
Views: 3896

16F54

Wanted to start a project this evening using PIC16F54 due to its extremely low cost (under 50p) and found there was no 16F54 chip definition file? Just wondering why this isn't included as its not a new device and quite popular due to its pricing. Is it possible to get a definition file for this dev...
by crispin12
Thu Apr 20, 2017 10:06 pm
Forum: Flowcode V7
Topic: Any reason why these topics are not being answered?
Replies: 7
Views: 5094

Re: Any reason why these topics are not being answered?

and in your case with an timer interrupt you do only need a simple demo board to verify the issue not building your complete design and wave the simulation .Stop doing virtual design and do not trust simulation is not what I said Please read my post carefully. That's a bit rich isn't it. Perhaps yo...
by crispin12
Thu Apr 20, 2017 4:35 pm
Forum: Flowcode V7
Topic: Any reason why these topics are not being answered?
Replies: 7
Views: 5094

Re: Any reason why these topics are not being answered?

In my experience if a simulation product does NOT run under simulation then it will not run on hardware. If a simulation product does run under simulation then it may or may not run on the hardware. Simulation is a first step on the design process cycle. If the simulation runs you move on to the har...
by crispin12
Thu Apr 20, 2017 12:34 pm
Forum: Flowcode V7
Topic: Any reason why these topics are not being answered?
Replies: 7
Views: 5094

Re: Any reason why these topics are not being answered?

Hello Ben With all due respect all I am seeing on the issue of the Timer interrupts thread are notes at the bottom of the last post from yourself and LeighM thanking the poster for the information. I'm not sure that gives us a lot of feedback in the sense that the issue is being handled, investigate...
by crispin12
Wed Apr 19, 2017 2:35 pm
Forum: Flowcode V7
Topic: Any reason why these topics are not being answered?
Replies: 7
Views: 5094

Any reason why these topics are not being answered?

Sorry to start a new thread but sort of surprised that there is no follow up? Seems to me that others have problems in this area not just myself. Also wondering how this got past in house and beta testing? Subject : Timer2 interrupt no longer working in 18F43K22 Subject : v7.1.1.0 export graphic BMP...
by crispin12
Mon Apr 17, 2017 4:03 pm
Forum: Flowcode V7
Topic: v7.1.1.0 export graphic BMP JPG of panel not working
Replies: 1
Views: 2281

v7.1.1.0 export graphic BMP JPG of panel not working

Exporting the flowchart to graphic works fine but when I try and export a graphic of my panel containing a 16x2 LCD module, switches, LEDs and numerous text blocks I get a graphic file that looks like the enclosed uploaded file. My 2D panel is a standard light grey background. The exported file is b...
by crispin12
Mon Apr 17, 2017 12:02 am
Forum: Flowcode V7
Topic: xc16 settings in flowcode v7. ?
Replies: 2
Views: 2556

Re: xc16 settings in flowcode v7. ?

Make sure you change the Microchip compiler version number in the paths denoted below to whatever the compiler versions are on your system. Also copy pic16_C30_comp.bat file from the Flowcode installation directory to the Microchip directory using the install path shown below as a pointer on where t...
by crispin12
Sun Apr 16, 2017 1:39 pm
Forum: 8-Bit PIC
Topic: Timer2 interrupt no longer working in 18F43K22
Replies: 10
Views: 7830

Re: Timer2 interrupt no longer working in 18F43K22

STILL seeing a problem with the way the new interrupts are working. Currently working with 18F45K40 which is cheaper than 18F43K22 The flashing LED port driven interrupt test example you provided does work as described and yet I have simplified my specific design and enclosed it here for your evalua...
by crispin12
Tue Apr 11, 2017 1:00 am
Forum: 8-Bit PIC
Topic: Timer2 interrupt no longer working in 18F43K22
Replies: 10
Views: 7830

Re: Timer2 interrupt no longer working in 18F43K22

Hi Benj I tested this several times and can only say that it was only on one slow sim setting could I get the interrupt and count to simulate. It simply wouldn't start and the flowchart just kept bouncing back and forth across the While 1 loop. At normal full speed you don't see the flowcode icons i...
by crispin12
Sat Apr 08, 2017 3:40 pm
Forum: 8-Bit PIC
Topic: Timer2 interrupt no longer working in 18F43K22
Replies: 10
Views: 7830

Re: Timer2 interrupt no longer working in 18F43K22

Update: Uninstalled and gone back to v7.1.1.0 Interrupt simulation once again working across the board using any sim speed and any timer interrupt setting. For me the latest version is kaput and why suddenly is the product installer now nearly 1.2GB. It takes three times as long to install. What an ...
by crispin12
Sat Apr 08, 2017 1:05 am
Forum: 8-Bit PIC
Topic: Timer2 interrupt no longer working in 18F43K22
Replies: 10
Views: 7830

Re: Timer2 interrupt no longer working in 18F43K22

Well I just created a simple test circuit using one of the updated chips (1845K40) Benj uploaded earlier and it looks like the way timer interrupts are simulated have changed since the last version. If the interrupt time is set at around 50Hz (20ms) and the simulation speed is set fairly slow you ca...