Search found 13969 matches

by Benj
Wed Apr 01, 2020 11:00 pm
Forum: Flowcode V8
Topic: Problems with PIC12F629 that doesn't program them to work
Replies: 8
Views: 28

Re: Problems with PIC12F629 that doesn't program them to work

Hello,

Try this instead.

OSCCAL = 0x80;

We moved to the XC8 compiler for Flowcode v7 and this requires register names in upper case.
by Benj
Wed Apr 01, 2020 10:58 pm
Forum: Electronics products
Topic: handheld enclosures with lcd cut out
Replies: 2
Views: 18

Re: handheld enclosures with lcd cut out

Hi Bob, Here's one I found for a Raspberry PI for a 1602 LCD. https://thepihut.com/products/modmypi-adafruit-16x2-lcd-screen-case Plus some 3D printable ones https://www.yeggi.com/q/lcd+1602+case/8/ Bezel here, presumably to hide any cut marks. https://www.hobbytronics.co.uk/lcd-bezel-16x2?utm_sourc...
by Benj
Tue Mar 31, 2020 9:29 pm
Forum: Bug Reports
Topic: Problem in the round(x) Function
Replies: 8
Views: 296

Re: Problem in the round(x) Function

Hello,

This problem should now be fixed with the latest updates. Help -> Check for updates.
by Benj
Tue Mar 31, 2020 3:33 pm
Forum: Bug Reports
Topic: 18F2580 I2C Hardware Channel1 not responding
Replies: 2
Views: 26

Re: 18F2580 I2C Hardware Channel1 not responding

Hello,

I can't see the I2C Initialise function being called anywhere in the code? Could this be the cause of the problem? The software channel can probably get away without being initialised.
by Benj
Tue Mar 31, 2020 3:02 pm
Forum: Forums d'aide en français
Topic: RFID RC522?
Replies: 1
Views: 72

Re: RFID RC522?

Hi Chris, We updated the MFRC522 component at some point and there are better examples available from here. https://www.matrixtsl.com/wiki/index.php?title=Component:_ID_3f8d29a6_40a6_4d5e_a254_190c86d9ebb7 The overhauled component is available here for v7. https://www.matrixtsl.com/mmforums/viewtopi...
by Benj
Tue Mar 31, 2020 2:55 pm
Forum: Flowcode V7
Topic: Can bus rate changing with variable
Replies: 1
Views: 39

Re: Can bus rate changing with variable

Hello,

You cannot change properties on a compiled program but you can alter the CAN speed by using some C code.

Are you using internal or external CAN. Can you post your program so we can see your target MCU etc. This will help us to provide you with some code to do the speed changing.
by Benj
Tue Mar 31, 2020 2:34 pm
Forum: General Programming
Topic: control 2 stepper motors at same time in different speed?
Replies: 1
Views: 78

Re: control 2 stepper motors at same time in different speed?

Hello, Yes this is possible and is often referred to as linear interpolation. This is maybe overkill for what you need but performs linear interpolation on three axis with automatic speed ramping of the motors. The motors are moved using a timer interrupt. We tweak the timing of the timer to change ...
by Benj
Tue Mar 31, 2020 1:31 pm
Forum: Flowcode V8
Topic: PWM Channel 3 does not work
Replies: 5
Views: 105

Re: PWM Channel 3 does not work

Hello,

Just add an interrupt icon, set the type to enable timer 2 and configure the prescaler and other properties as desired. Hopefully this should kick start the PWM but let me know how you get on.
by Benj
Tue Mar 31, 2020 10:01 am
Forum: General Programming
Topic: Scrolling doesn't work for USB HID (mouse) in FC8
Replies: 2
Views: 49

Re: Scrolling doesn't work for USB HID (mouse) in FC8

Hi Simon, I beleive the mouse descriptor we supply is fairly basic and doesn't have a scroll wheel capability. So you will need to use the custom descriptor option instead and enter in your own HID descriptor for a mouse with a scroll wheel. This tool generates descriptors and should be useful for y...
by Benj
Mon Mar 30, 2020 9:53 pm
Forum: Flowcode V8
Topic: i2C UART SPI Hardware Software Bitbang & Initialising
Replies: 1
Views: 61

Re: i2C UART SPI Hardware Software Bitbang & Initialising

Hello, SPI and I2C can both easily be bit banged with a software channel, the only downside is a potential loss of speed but there will be no data corruption. I2C is often pretty slow anyway and so there is no major downside to using software instead of hardware. UART is more tricky as it's based he...
by Benj
Mon Mar 30, 2020 9:49 pm
Forum: Flowcode V6
Topic: MIDI component problem
Replies: 2
Views: 56

Re: MIDI component problem

Hello, You have specified the MIDI component properties to use flow control, is this correct? If you're not using flow control then this should be disabled or will maybe cause you problems. Under the simulation properties is the MIDI output property, this should be set to Yes and then the appropriat...
by Benj
Mon Mar 30, 2020 9:25 pm
Forum: Flowcode V8
Topic: PWM Channel 3 does not work
Replies: 5
Views: 105

Re: PWM Channel 3 does not work

Hello,

Sorry for the delay. I'm investigating for you now. I've now had a good check through the code and the device datasheet and it all looks ok.

As a test if you enable timer 2 interrupt does this allow the PWM to function?
by Benj
Mon Mar 30, 2020 9:24 pm
Forum: Flowcode V8
Topic: PIC18F25Q10 ADC Vref
Replies: 12
Views: 671

Re: PIC18F25Q10 ADC Vref

Hi Dave,

Thanks for the request, I'll look into adding this device for you ASAP.
by Benj
Mon Mar 30, 2020 9:21 pm
Forum: Flowcode V7
Topic: error compilation
Replies: 5
Views: 115

Re: error compilation

Hello Ricardo, To switch to the large code model we have an alternative compiler batch file you can point to. The large code model uses more ROM/RAM memory by extending pointers etc but allows you to use the entire memory on larger MCU devices. Use the Build -> Compiler options menu and create a new...
by Benj
Fri Mar 27, 2020 1:02 pm
Forum: Flowcode V8
Topic: Interrupt UART RXINT1 on dsPIC 33EP256MU806
Replies: 5
Views: 68

Re: Interrupt UART RXINT1 on dsPIC 33EP256MU806

Hello,

Could be something like the watchdog timer, can you check this is disabled in the device configuration.

Another potential cause of a reset could be something like a divide by 0 occuring in the program.
by Benj
Fri Mar 27, 2020 8:44 am
Forum: Flowcode V8
Topic: Ver. 8.2.1.14 > 8.2.2.15
Replies: 6
Views: 85

Re: Ver. 8.2.1.14 > 8.2.2.15

Hi Jorgen

If you install the patch from the download page then that should get you the latest version. The check for updates currently only gets you the internal files it can't do the main exe.
by Benj
Thu Mar 26, 2020 10:07 pm
Forum: Feature Requests
Topic: Internal osc
Replies: 1
Views: 35

Re: Internal osc

Hi Martin,

That's done for you now. Nice spot.
by Benj
Thu Mar 26, 2020 9:37 pm
Forum: Bug Reports
Topic: PIC24FJ64GA102 Remap pins
Replies: 3
Views: 37

Re: PIC24FJ64GA102 Remap pins

I've now gained access to the update system so the fixes are there now too :D

I wish you good health!


Many thanks, you too.
by Benj
Thu Mar 26, 2020 9:29 pm
Forum: Bug Reports
Topic: pic32mm compiler problem
Replies: 5
Views: 623

Re: pic32mm compiler problem

Hello, Dear Benj I hope you are fine and Be careful with the Corona virus. Many thanks and to you. I'll look into these issues for you and hopefully provide you with a fix. These are new devices for us and there are usually some teething issues with certain peripherals on new devices. Hopefully noth...
by Benj
Thu Mar 26, 2020 9:25 pm
Forum: Flowcode V8
Topic: Compilation of hex-file or programming fails
Replies: 4
Views: 111

Re: Compilation of hex-file or programming fails

Hello,

Thanks for letting us know. I've placed the latest fixes onto the update system for you now.

Help -> Check for updates.

Let us know how you get on.
by Benj
Thu Mar 26, 2020 4:54 pm
Forum: Bug Reports
Topic: PIC24FJ64GA102 Remap pins
Replies: 3
Views: 37

Re: PIC24FJ64GA102 Remap pins

Hi Lagoda, Thanks forletting us know. I'm out of the office at the moment so can't push updates to the update system, however here is the updated file for you. 24FJ64GA102.fcdx Simply copy the file into your "C:\ProgramData\MatrixTSL\FlowcodeV8\FCD\PIC16" folder. Copy and paste the address...
by Benj
Thu Mar 26, 2020 3:54 pm
Forum: Flowcode V5
Topic: Flowcode v5 for dsPIC registration issues .
Replies: 9
Views: 297

Re: Flowcode v5 for dsPIC registration issues .

I've now replied to your PM, sorry for the delay.
by Benj
Thu Mar 26, 2020 3:49 pm
Forum: Bug Reports
Topic: FC 8.2 + PIC32MZ + USB HID
Replies: 20
Views: 1427

Re: FC 8.2 + PIC32MZ + USB HID

Hello,

The two folders should be placed just inside the PIC32 folder.
by Benj
Thu Mar 26, 2020 10:44 am
Forum: General Programming
Topic: 16F18877 & 16F15376
Replies: 4
Views: 59

Re: 16F18877 & 16F15376

Hi Dazza,

Yes old EB downstream boards should work fine with EB2 upstream using the adapters. Or a PICkit 3/4 may be a better way to go if you are happy with your current EB setup.
by Benj
Thu Mar 26, 2020 10:24 am
Forum: General Programming
Topic: 16F18877 & 16F15376
Replies: 4
Views: 59

Re: 16F18877 & 16F15376

Hello Dazza, I'm afraid the EB006 programmer does not have the firmware to allow it to program these newer devices. Microchip re-wrote the rules for programming with these newer devices. We added support for them in the new EB2 boards but currently the older EB1 boards do not have support. If you ha...