Search found 243 matches
- Tue Feb 22, 2022 11:25 am
- Forum: General Programming
- Topic: Compile Error (Arduino MEGA 2560)
- Replies: 6
- Views: 10691
SOLVED: Compile Error (Arduino MEGA 2560)
Further to replacing the USB Serial component with UART, I'm delighted to confirm the project compiled successfully. Having since received/programmed an ATMEGA2560 board (Arduino clone) using Microchip Studio, ICSP programmer and exported 'ELF' file, the board fired up and worked straight off the ba...
- Mon Feb 21, 2022 9:00 am
- Forum: General Programming
- Topic: Compile Error (Arduino MEGA 2560)
- Replies: 6
- Views: 10691
Re: Compile Error (Arduino MEGA 2560)
Aha!
Good spot my friend... Thank you!


All the best,
Brendan.
Good spot my friend... Thank you!
All the best,
Brendan.
- Mon Feb 21, 2022 3:46 am
- Forum: General Programming
- Topic: Compile Error (Arduino MEGA 2560)
- Replies: 6
- Views: 10691
Re: Compile Error (Arduino MEGA 2560)
Hi Martin. Sincere thanks for your kind support. I posted on the V9 forum without reply, so reached out to the MatrixTSL forum for guidance. I'm generally unfamiliar with AVR micros, though the need to switch from PIC was driven by a professional project supported by popular available off-shelf asse...
- Sat Feb 19, 2022 8:48 pm
- Forum: General Programming
- Topic: Compile Error (Arduino MEGA 2560)
- Replies: 6
- Views: 10691
Compile Error (Arduino MEGA 2560)
Hi Guys. I've ported a working project from PIC to ATMEGA2560 with 16MHz Xtal for professional application, so I'm using build target option: 'Arduino Mega 2560' for the project. However, compile critically fails with the following message: Device: ARD.ATMEGA.ATMEGA2560 Generated by: Flowcode v9.2.0...
- Thu Jan 14, 2021 1:12 pm
- Forum: Flowcode V8
- Topic: Maximum String Length for 16 and 32-bit PICs
- Replies: 5
- Views: 8107
Re: Maximum String Length for 16 and 32-bit PICs
Hi Martin. My apologies for the delayed reply, and thank you for the detailed information you provide. I've noted your comment regarding 8-bit string length limitation in FC8 and 16-bit in FC9 (thank you). From an initial forum search my question mainly arose from this thread regarding FC7: https://...
- Tue Jan 12, 2021 3:51 am
- Forum: Flowcode V8
- Topic: Maximum String Length for 16 and 32-bit PICs
- Replies: 5
- Views: 8107
Maximum String Length for 16 and 32-bit PICs
Hello all. I've seen something in an old FC7 forum topic to suggest that max string length for 16-bit (and possibly 32-bit) PICs was increased, from 8-bit to 'something' to accommodate 400 chars in a former 16-bit PIC project. However, the help Wiki continues to suggest 256 chars max... https://www....
- Mon Jan 04, 2021 7:33 pm
- Forum: Flowcode V8
- Topic: Referencing a ROM table in a C block
- Replies: 3
- Views: 3985
Re: Referencing a ROM table in a C block
Hi Martin.
Many thanks for your time to reply - Greatly appreciated
Best regards,
Brendan
Many thanks for your time to reply - Greatly appreciated

Best regards,
Brendan
- Mon Jan 04, 2021 4:56 pm
- Forum: Flowcode V8
- Topic: Referencing a ROM table in a C block
- Replies: 3
- Views: 3985
Referencing a ROM table in a C block
First, a happy and prosperous new year to you all :) Hopefully a quick question... Having declared a 16 x 16-bit ROM look-up table using the usual LUT component, I'm trying to establish the appropriate way to reference values in a C block? e.g... FCV_THISUINT = FCV_THISTABLE[indexval] is clearly inc...
- Mon Nov 30, 2020 3:01 pm
- Forum: Bug Reports
- Topic: Bug: round function causes compile error.
- Replies: 17
- Views: 14514
Re: Bug: round function causes compile error.
Thank you Liam for your support and early reply.
That worked

Best regards,
Brendan
That worked
Best regards,
Brendan
- Mon Nov 30, 2020 2:00 pm
- Forum: Bug Reports
- Topic: Bug: round function causes compile error.
- Replies: 17
- Views: 14514
Re: Bug: round function causes compile error.
Thanks Leigh. Coding for the PIC32MZ, I created the following FP vars: .TempFP _Deg_C_Top_Float and a compile error results should I use the following in a calculation: .TempFP = fround (_Deg_C_Top_Float,2) Commenting out the above and creating a workaround then builds without issue. My first though...
- Mon Nov 30, 2020 12:56 pm
- Forum: Bug Reports
- Topic: Bug: round function causes compile error.
- Replies: 17
- Views: 14514
Re: Bug: round function causes compile error.
Hi Team.
Just advising that the compile bug with the FP rounding function still exists.
Many thanks,
Brendan
Just advising that the compile bug with the FP rounding function still exists.
Many thanks,
Brendan
- Sat Nov 21, 2020 2:19 pm
- Forum: Programming Tips & Tricks
- Topic: PIC32MZ UART Configuration Problems - Solved !
- Replies: 0
- Views: 93896
PIC32MZ UART Configuration Problems - Solved !
Hello All. Working on a project with PIC32MZ2048EFG144 and really struggling with getting the UART to stream anything other than garbled characters, and given former comments and problems regarding the PIC32MZ, I wanted to share what I have found to work without issue. I have not invoked flow contro...
- Fri Nov 20, 2020 5:50 pm
- Forum: Bug Reports
- Topic: Interrupt component fails on PIC32MZ
- Replies: 2
- Views: 6538
Re: Interrupt component fails on PIC32MZ
Hi Stefan.
Good spot!
Happy to confirm the interrupt is now functional.
Thank you for your help
Best regards,
Brendan
Good spot!
Happy to confirm the interrupt is now functional.
Thank you for your help

Best regards,
Brendan
- Fri Nov 20, 2020 4:16 pm
- Forum: Bug Reports
- Topic: Interrupt component fails on PIC32MZ
- Replies: 2
- Views: 6538
Interrupt component fails on PIC32MZ
Hi team. Attached is an extract from a project which exemplifies an issue with the interrupt component when deployed with the challenging PIC32MZ2048EFG144. Exactly the same macro is called in the loop as by interrupt. Clock settings therefore appear AOK and the loop approach works fine, but all int...
- Tue Oct 20, 2020 2:16 am
- Forum: Flowcode V8
- Topic: Defining USB Serial No. Descriptor for USB Serial Component
- Replies: 2
- Views: 2968
Re: Defining USB Serial No. Descriptor for USB Serial Component
Hi Ben. My sincere thanks for your time to kindly provide this information, and a huge help - Thank you! From the instructions provided, it's clear I should have been a little more specific by saying that I'm coding for both 8-bit and 16-bit PICs requiring unique serials (mostly 16-bit these days), ...
- Mon Oct 19, 2020 7:11 pm
- Forum: Flowcode V8
- Topic: Defining USB Serial No. Descriptor for USB Serial Component
- Replies: 2
- Views: 2968
Defining USB Serial No. Descriptor for USB Serial Component
Hello all.
Quick question (hopefully)...
Just need to ask the easiest/best way to set the USB Serial Number in the descriptors for the USB Serial component?
Thanks,
Brendan
Quick question (hopefully)...
Just need to ask the easiest/best way to set the USB Serial Number in the descriptors for the USB Serial component?
Thanks,
Brendan
- Wed May 13, 2020 5:46 pm
- Forum: General Programming
- Topic: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
- Replies: 2
- Views: 4683
Re: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
Thank you Stefan, a very useful link! I originally came across the following and couldn't believe that simply changing a clock prescaler could be so cumbersome - but evidently it is. https://www.microchip.com/forums/m935190.aspx Tech used to be so much less bloated - and much more productive :? Than...
- Wed May 13, 2020 1:29 am
- Forum: General Programming
- Topic: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
- Replies: 2
- Views: 4683
Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
Hello experts, I'm needing to change PB2CLK for correct UART speed, though I've come across need to exercise an unlock sequence before being able to change the prescaler. Presently the UART has to be declared at 4x speed in Flowcode with the default SYSCLK division of 2 (PB2CLK = 100MHz), so fundame...
- Thu Apr 16, 2020 2:15 am
- Forum: Feature Requests
- Topic: USB Serial Flow Control
- Replies: 5
- Views: 8296
Re: USB Serial Flow Control
Thank you so much guys !!! :D :D :D The approach uses PuTTY or terminal variants to facilitate easier off-site updates with generic terminal tools (etc), allowing changes to the system-stored test sequence updated from text file via Vcom. Exemplary professional support as always, and can't thank you...
- Wed Apr 15, 2020 3:06 pm
- Forum: Feature Requests
- Topic: USB Serial Flow Control
- Replies: 5
- Views: 8296
USB Serial Flow Control
Hi team. A number of my projects leverage the convenience of the USB serial component where supported by the micro. I'm now developing a few projects requiring that a large amount of data (e.g. 10-50kB) is copied to PuTTY terminal, received by the uC, and stored to EEPROM. However, flow control does...
- Fri Apr 03, 2020 11:38 am
- Forum: Bug Reports
- Topic: "usb_serial_config.h": No such file or directory
- Replies: 10
- Views: 7597
Re: "usb_serial_config.h": No such file or directory
Just to update - Sorry it's been a while :oops: Port 80 was reportedly always open, so given that I have the same license on my personally-owned machine I arbitrarily copied general and updated files/directories from my personal computer to my work computer. The only difference between machines bein...
- Thu Feb 20, 2020 6:20 pm
- Forum: Programming Tips & Tricks
- Topic: Setting PIC32MX and PIC32MZ Clock Options
- Replies: 1
- Views: 12324
Setting PIC32MX and PIC32MZ Clock Options
Re-posting my comments made elsewhere... Hi Guys. As MX and MZ clock settings feature strongly in this thread, I thought I'd share something that I came across and enabled me to quickly confirm appropriate clock settings and transfer them to configuration option in Flowcode. No reliance on Harmony o...
- Thu Feb 20, 2020 5:53 pm
- Forum: General Programming
- Topic: Microchip questions for you all.
- Replies: 25
- Views: 18160
Re: Microchip questions for you all.
Hi Guys. As MX and MZ clock settings feature strongly in this thread, I thought I'd share something that I came across and enabled me to quickly confirm appropriate clock settings and transfer them to configuration option in Flowcode. No Harmony, no other info, and it just worked! I therefore recomm...
- Wed Feb 12, 2020 6:22 pm
- Forum: Bug Reports
- Topic: "usb_serial_config.h": No such file or directory
- Replies: 10
- Views: 7597
Re: "usb_serial_config.h": No such file or directory
Thanks again Ben - I've no doubt you're on the money (again
)
I'll report back once I've contacted IT to open port 80 for Flowcode.
Best regards,
Brendan

I'll report back once I've contacted IT to open port 80 for Flowcode.
Best regards,
Brendan
- Wed Feb 12, 2020 5:03 pm
- Forum: Bug Reports
- Topic: "usb_serial_config.h": No such file or directory
- Replies: 10
- Views: 7597
SOLVED: Re: "usb_serial_config.h": No such file or directory
Thanks Ben - You're a star !!! :D I replaced the existing USB_Serial.fcpx file with that you kindly provided and the project built straight off the bat without a hitch. I suspect that FC8 would have updated to latest if the updates database worked. If, in the meantime, you have any thoughts on that,...