Search found 243 matches

by Brendan
Thu Feb 11, 2016 6:27 pm
Forum: Bug reports
Topic: ECIO40P16 and Invalid Icon
Replies: 0
Views: 2821

ECIO40P16 and Invalid Icon

Hello all. Using an ECIO40P16, I made one observation today that originally caused quite some confusion... Exploring available ports I simply placed an output icon a macro, and with masking enabled (highlighting mask-able ports) I was able to quickly explore exposed ports used available to the code....
by Brendan
Fri Jan 29, 2016 3:15 am
Forum: Flowcode V6
Topic: Working with Parallel SPI...
Replies: 1
Views: 2357

PROBLEM SOLVED: Working with Parallel SPI...

First, a huge 'Thank you' to afficianado Kersing, who kindly presented me with valuable direction on the subject of directly messaging Flowcode over USB from Linux, to negate the requirement of third=party USB-Parallel interface for high-speed transfer of data. Given the number of hits this topic ha...
by Brendan
Wed Jan 27, 2016 1:21 pm
Forum: Flowcode V6
Topic: Working with Parallel SPI...
Replies: 1
Views: 2357

Working with Parallel SPI...

Hello All. I'm currently working on a project to interface high-speed Flash read/write data between the PIC and Linux host via FTDI's FT232H device, and then to Flash memory. The FT232H essentially offers required Linux drivers and parallel SPI, which lends itself to this application well, as releva...
by Brendan
Tue Oct 20, 2015 2:33 am
Forum: Flowcode V6
Topic: USB-Serial component - Flow Control
Replies: 3
Views: 3121

Re: USB-Serial component - Flow Control

Hi Ben. Sincere apologies for the time to reply... Extremely busy times, long story... However, further information suggests that I'll need to be in a position to handle either binary data/header or hexadecimal text file formats, and FF's would create the more obvious issues over USB232. I've theref...
by Brendan
Wed Oct 14, 2015 5:23 pm
Forum: Flowcode V6
Topic: USB-Serial component - Flow Control
Replies: 3
Views: 3121

USB-Serial component - Flow Control

Hello good people. I'd be grateful if someone could give me a pointer on flow control with the USB-Serial component. I'm developing a project to serially load bytes to the PIC to program a large I2C EEPROM (256kB) in real-time, pogrammed in pages of 256 Bytes from a simple console. To avoid creating...
by Brendan
Fri Oct 09, 2015 9:47 pm
Forum: Programming Tips & Tricks
Topic: Is your Project Not working? Help and General Advice
Replies: 17
Views: 79128

Re: Is your Project Not working? Help and General Advice

Hi. Without sight of your code, I can only flag a few pointers which may or may not be of help... Instead of manually stepping through the code, let it free run but slow stepping right down to perhaps 1s per step. Then, while running, click and hold the pushbutton throughout the complete simulation ...
by Brendan
Thu Aug 27, 2015 2:08 pm
Forum: Flowcode V6
Topic: Access Violation Error and then Flowcode crashes
Replies: 12
Views: 7383

Re: Access Violation Error and then Flowcode crashes

Thanks for addressing this issue Ben. We do a great deal of simulations with deep processes, status indicators, display, debugger panel, etc, for development and debugging purposes. With our latest projects, simulation delays of even 1s invariably cause Flowcode to crash after a period of free-runni...
by Brendan
Wed Jun 24, 2015 5:19 pm
Forum: E-blocks
Topic: EB091 USB
Replies: 8
Views: 9837

Re: EB091 USB

Hi Ben So you can either return the board to us and we will apply the fix or you can apply the fix yourself. I will make sure that the up coming batch of EB091 boards are corrected so USB will work straight away. There was also a minor Flowcode definition change to alter the USB prescaler and allow ...
by Brendan
Mon Jun 22, 2015 6:26 pm
Forum: E-blocks
Topic: EB091 USB
Replies: 8
Views: 9837

Re: EB091 USB

Thank you Ben,
Entirely appreciated :)

All the best,

Brendan
by Brendan
Mon Jun 22, 2015 5:20 pm
Forum: E-blocks
Topic: EB091 USB
Replies: 8
Views: 9837

EB091 USB

I'm liking this new EB091 board and choice of embedded dsPIC. When selected as the target it all appears to be working so far - with the exception of the USB port of the target chip. Currently, when I initialise the USB through the USB Serial macro, not a blip in Windows Device Manager in response t...
by Brendan
Sun Apr 19, 2015 4:27 pm
Forum: General Programming
Topic: Sending Hex value with RS232
Replies: 5
Views: 9151

Re: Sending Hex value with RS232

Excellent news.

Thank you for the confirmation, and I've no doubt your discoveries will be of future assistance :)

All the best,
Brendan
by Brendan
Thu Apr 16, 2015 11:37 pm
Forum: General Programming
Topic: Sending Hex value with RS232
Replies: 5
Views: 9151

Re: Sending Hex value with RS232

Hi Rob. Please rest assured that if a string of bytes is compiled in the way I suggested, no Carriage Returns will ever be present in the original string, or transmission if sent from the RS232 component macro as a string. What you observed will have been externally generated following the transmiss...
by Brendan
Wed Apr 15, 2015 2:32 am
Forum: General Programming
Topic: Sending Hex value with RS232
Replies: 5
Views: 9151

Re: Sending Hex value with RS232

Hi Rob. I do lots of stuff over RS232, though I'm not sure I understand your question. To clarify, I trust you're declaring hexadecimal appropriately (0x..) ? Fundamentally, the question is largely how you intend to process or view the data at the receiving end. For example, if I were using a progra...
by Brendan
Wed Apr 15, 2015 1:22 am
Forum: General Programming
Topic: Bytes to string
Replies: 5
Views: 7012

Re: Bytes to string

Further to Ben's advice, I can add that I've been caught out before by trying to do 'too much' on one line when concatenating strings, or combining strings with functions, for example... String2 = String1 + " = " + ToString(Integer_A) + ToString(Integer_B) I've had very quirky results, even with ple...
by Brendan
Sun Mar 29, 2015 3:34 pm
Forum: Flowcode V6
Topic: I2C communication with SAA1057
Replies: 13
Views: 9558

Re: I2C communication with SAA1057

Hello Again. First, your data is looking considerably better now that you've slowed things down :) I've taken a quick look at your code and my first advice is to get rid of the decision operator and connection points in order to exit your loops. Connection points , while 'OK' in many instances, are ...
by Brendan
Sun Mar 29, 2015 3:32 am
Forum: Flowcode V6
Topic: I2C communication with SAA1057
Replies: 13
Views: 9558

Re: I2C communication with SAA1057

So in total i have to send 2 bytes for the first wordb, 2 more bytes for the worb again and then 2 more bytes for wordA, this should initialize the chip. Yes, I believe that should do it, though haven't studied the datasheet in any depth as I'm presently working on an urgent consumer project. Then ...
by Brendan
Sun Mar 29, 2015 1:16 am
Forum: Flowcode V6
Topic: I2C communication with SAA1057
Replies: 13
Views: 9558

Re: I2C communication with SAA1057

I understand and empathise... If you can follow my first example, I'm sure things will quickly click into place :) Think of a string of 1's and 0's just typed on an old-style typewriter, where the amount you temporarily move the carriage to the right is decided by the value in LoopCount, and the bit...
by Brendan
Sun Mar 29, 2015 1:03 am
Forum: Flowcode V6
Topic: I2C communication with SAA1057
Replies: 13
Views: 9558

Re: I2C communication with SAA1057

Hello again. Once you've established your register values then you need to extract the individual bits and send them serially. For example, if I had a value in 'SendByte' that I wanted to send in this fashion (MS bit first), this is one of a number of ways you could do it... 1. Create a loop that co...
by Brendan
Sat Mar 28, 2015 9:53 pm
Forum: Flowcode V6
Topic: I2C communication with SAA1057
Replies: 13
Views: 9558

Re: I2C communication with SAA1057

Hi there. I'm sorry I've no time currently to help in any detail, but a quick glance at the datasheet confirms this chip doesn't actually employ I2C at-all. All you're doing is clocking single bits into a 16-bit wide shift register (repeated to successively program Latch-A and Latch-B), so you shoul...
by Brendan
Wed Jan 07, 2015 2:23 am
Forum: Flowcode V6
Topic: Test Based Applications - Have your say
Replies: 9
Views: 21127

Re: Test Based Applications - Have your say

Hello FC team. I have suggested this elsewhere, though relevant to this thread in particular... Due to our successes using Flowcode to develop bespoke, portable, standalone test rigs, we're now integrating large capacitive touchscreens and FTDI's "Vinculum-II" chipsets into the mix. This will suppor...
by Brendan
Wed Jan 07, 2015 1:58 am
Forum: Feature requests
Topic: Slicken up 'C' component macro editing
Replies: 4
Views: 3924

Re: Slicken up 'C' component macro editing

That's fantastic - Thanks Ben :)

All the best,

Brendan
by Brendan
Sat Dec 27, 2014 12:37 am
Forum: Feature requests
Topic: Slicken up 'C' component macro editing
Replies: 4
Views: 3924

Re: Slicken up 'C' component macro editing

Hi.

Thanks, and continuation lines noted.

I was attempting to use the same double-click method as per calculation and other flow icons, but have observed that drag-&-drop must be used for the C component.


All the best,
Brendan
by Brendan
Fri Dec 26, 2014 9:59 pm
Forum: Feature requests
Topic: Slicken up 'C' component macro editing
Replies: 4
Views: 3924

Slicken up 'C' component macro editing

Hope you all had a good Xmas :) My 2-bits... When editing the 'C' component macro, I believe it would make perfect sense for Flowcode to facilitate selection of declared variables/C-styled functions/etc (just as with any other component macro or calculation), plus automating uppercase conversion and...
by Brendan
Fri Nov 21, 2014 6:22 pm
Forum: General Programming
Topic: One wire problem
Replies: 17
Views: 11715

Re: One wire problem

1-wire timings are critical and must be strictly adhered to. If you're trying to use the internal RC oscillator (8 MHz) then you could try playing with the OSCTUNE register as timing tolerance may play a part. Whether or not others have successully had it working on a specific PIC is only part of th...
by Brendan
Thu Nov 13, 2014 9:51 am
Forum: Flowcode V6
Topic: fc_licensing.exe Antivirus warnings
Replies: 9
Views: 34194

Re: fc_licensing.exe Antivirus warnings

I'd used Norton Internet Security for years, though dropped it after it couldn't remove a morphing virus that waltzed in, so I located and removed it manually. I then installed Kasperky which promptly discovered five further viruses on the system and automatically removed them. Time and technology m...