Search found 166 matches

Return

by QMESAR
Fri Aug 19, 2016 10:47 pm
Jump to forum
Jump to topic

Re: programmer and debugger

Hi The board has a connector called miniICSP which if there for programming from a PicKIT3 , you can add the PicKIT 3 in Flowcode and then you can directly program from Flowcode(you need to intall MPLABX 3.30 or 3.35 as Flowcode use the IPE tool from MPLAB for programming). http://www.microchip.com/...
by Benj
Thu Sep 08, 2016 5:37 pm
Jump to forum
Jump to topic

Re: USB Pic32

Hello,

We have not yet tackled USB on the PIC32 range. It is on the list and should hopefully be coming soon hopefully along with other USB improvements.

The USB component info tooltip should help you to know which device families are supported.
by SimonB
Fri Sep 30, 2016 11:00 am
Jump to forum
Jump to topic

Re: "Refreshing components" FC7.1 frozen

Hi Stefan, I am not sure what else to suggest. If Flowcode is working in Safe Mode then it means there is nothing wrong with Flowcode and there is nothing wrong with the hardware on your PC. As David said it might be that there is some other piece of software that is interfering with Flowcode or may...
by Benj
Mon Oct 10, 2016 11:58 am
Jump to forum
Jump to topic

Re: Clock 40 Mega or 80 Mega, need help to config it correct

Thanks for letting us know, For some reason all the other devices in the family are defined correctly, it's just this device that has the problem. Here is an updated definition file you can use. Simply copy the file into your "Flowcode 7/FCD/PIC32" folder and restart Flowcode to load the c...
by Benj
Thu Oct 13, 2016 12:59 pm
Jump to forum
Jump to topic

Re: FAT Initialise is not possible

Hi Stefan, Thanks for letting us know. I'm looking into reasons why B13 would not be functioning as a digital output now. B13 shares this functionality. ADC Input - We have already checked this is off by default and setting the AD1PCFG register to 0xFFFF PMA10 - Parrallel Master Port Address - Looks...
by Benj
Fri Jan 13, 2017 11:50 am
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

I think I've now fixed it so that the SPI CAL will work to bring in both MOSI banks if more than one bank is available.

Simply copy the attached file into your "Flowcode 7/components" folder. The above fix should not be needed now but will not harm anything.

cal_spi.fcpx
by Benj
Fri Jan 13, 2017 11:24 am
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hello, Right the remappable functionality is organised into banks on the selected device. We have added all the banks to the definition file but only the first bank is currently functional. So for now I have swapped the bank order which should allow you to select the correct pin to drive the SD card...
by Benj
Fri Jan 13, 2017 4:05 pm
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hello Stefan,

The problem could be that you are setting .idx_local to 0 outside of the loop 10 times loop. If you move the calculation to the start of the loop before the loop 512 times loop then hopefully that will work correctly.

Let me know how you get on.
by Benj
Fri Jan 13, 2017 6:54 pm
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hello,

I'm investigating this for you now. It seems the timer interrupt is firing after the correct amount of time but then locking up.
by Benj
Mon Jan 16, 2017 4:28 pm
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Right I've got further on this but so far not managed to fix the issue. The timer interrupt is working fine and running as expected. However as soon as you add any code to the interrupt macro the interrupt causes the program to hang. I have proven this by taking code out of the timer interrupt macro...
by Benj
Tue Jan 17, 2017 11:31 am
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Right this FCD seems to solve the problem. You will get a warning when compiling that the optimisation level is not supported and being removed however it does fix the freezing interrupt problem for me. Strangely just switching off optimisation does not fix the problem. ChipKIT Wi-FIRE Bootloader.fc...
by Benj
Tue Jan 17, 2017 6:04 pm
Jump to forum
Jump to topic

Re: append Byte to file, but I have an integer

Hello,

You will need to store the two bytes of the 16-bit value separately.

AppendByteToFile ( IntVar ) //Store Lower 8-bits
AppendByteToFile ( IntVar >> 8 ) //Store Upper 8-bits
by Benj
Tue Jan 24, 2017 1:24 pm
Jump to forum
Jump to topic

Re: sprint or how to create a string

Hello, It looks like your using Flowcode from your variable names. I would do this and this will then simulate and compile to hardware. Text2Display = ToString$( Number ) If (Number < 10) Text2Display = "0" + Text2Display sprintf is a very large function used a lot on computers as it is ve...
by Benj
Tue Jan 24, 2017 5:52 pm
Jump to forum
Jump to topic

Re: Pic 18LF1622 buffer sd-card

Hello,

Extended file names are something I've been meaning to tackle for a while but they are not that straight forward and potentially add a lot of overhead to the component.

I'll add it to the list to have another investigation on how easy it would be to add support for them.
by Benj
Tue Jan 31, 2017 5:52 pm
Jump to forum
Jump to topic

Re: Search for the optimal processor family

I've forwarded your request onto the ST ARM gurus to have a look at and comment on. I can maybe answer a few. 1. UART serial communication over USB to a PC (Very high priority ) As fast as possible This should be easy enough but we are investigating. It's certainly on the list. 5.Approx 10 high spee...
by PicoPuls
Tue Jan 31, 2017 10:44 am
Jump to forum
Jump to topic

Search for the optimal processor family

I am rather new to processors with just a few smaller projects behind. For that reason, flowcode is extremely interesting. I almost decided to use the PIC dsPIC33EP512MU810 and to configure timers and quadrature encoders for a specific project. After half a year I gave up as there were thousands of ...
by Benj
Thu Feb 02, 2017 6:03 pm
Jump to forum
Jump to topic

Re: FAT SD-Card is nice to use, but (very) slow

Hello, I would suggest a ST ARM over an Atmel Arm, We have a new version of Flowcode which will be available shortly which will add these devices. The 16-bit PICs are also very good especially the EP range of devices (70 x 16-bit MIPs vs your current device at 8 x 8-bit MIPs), the PIC32 I am yet to ...
by Benj
Fri Mar 03, 2017 2:30 pm
Jump to forum
Jump to topic

Re: FAT SD-Card is nice to use, but (very) slow

Hello,

You can do it like this.

ADCIn2 = ADC::ReadAsInt()

ADCIn2=(ADCIn2 << 3)
ADCIn2=(ADCIn2 - 0x1000)

highByte1 = ADCIn2 >> 8
lowByte1 = ADCIn2 | 0x07
by kersing
Wed Mar 08, 2017 12:56 pm
Jump to forum
Jump to topic

Re: Use a switch with a range ( not a fix number )

That is not possible. You will need to use decision icons to check ranges.
by Benj
Wed Mar 08, 2017 2:35 pm
Jump to forum
Jump to topic

Re: Use a switch with a range ( not a fix number )

Yep Kersing is correct the switch case will only check for singular values.

In a decision icon you can use something like this to check for a range, val being the variable you're checking.

(val >= 1) && (val <= 500)
by Benj
Thu Mar 16, 2017 5:26 pm
Jump to forum
Jump to topic

Re: RESET_CPU()

Hello,

Yes there is usually a way. Mostly depends on which micro you're using?

If you look at the CAL ICD C file for the family you're interested in then right at the end is a software reset routine you can use via C code.
by Benj
Fri Mar 17, 2017 6:41 pm
Jump to forum
Jump to topic

Re: string always 2 numbers 01 02

Hello,

You can simply check the length of the string and then add the leading 0 if required.

Calculation: length = Length$(result_string)
Decision: length < 2
Yes: result_string = "0" + result_string
by Benj
Fri Mar 24, 2017 10:48 am
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hello, Some of the Flowcode FCD (Flowcode Chip Definition) files override the compiler options. To edit these you need to edit the FCD file in a text editor. Please note that Windows will not let you edit the file in it's default location. You need to copy to somewhere you can edit the file and then...
by Benj
Tue Apr 04, 2017 4:33 pm
Jump to forum
Jump to topic

Re: pic24ep256gp206 how to it run on 70Mhz

Hello, You will need to do something like this in a C icon. Refer to the device datasheet to double check the values make sense for your device. Note that this isn't for 70MHz operation, I beleive I run it slower to save on power but it's been a while since I wrote this so I can't really remember wh...
by Benj
Thu Apr 06, 2017 11:28 am
Jump to forum
Jump to topic

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz IRQ

Hello, This bug is a bit beyond me as I'm not too familiar with the PIC32 range as of yet, I've been posting on the Microchip forum to try and find some answers. The thread is available here. http://www.microchip.com/forums/m969350.aspx Their latest suggestion is to try and add a exception handler. ...