Search found 570 matches

by stefan.erni
Thu Jul 09, 2020 7:27 am
Forum: Flowcode V8
Topic: ADC Problem
Replies: 2
Views: 109

Re: ADC Problem

Hi Dave 256 looks like a Byte....Then it's maybe a bug. But can you control if your PIC is on 5Volt or 3.3V. because you set Analog Ref to 5Volt. In the AD-component try to change convesionspeed , set to osc/64. How is your input to the AD-converter? Did you use a potmeter or the real motor? regards...
by stefan.erni
Wed Jul 08, 2020 10:25 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 8
Views: 1188

Re: ESP8266 as target chip

Hi Gonzogozo There are some new targets from ESP and these looks good. I also hope that ESP Board's will become a Flowcode target in the future. I'm especially interested in the very small board's . But I would also be satisfied with even better support for the ESP8266 as component. I miss a (very) ...
by stefan.erni
Fri Jul 03, 2020 10:37 am
Forum: Feature Requests
Topic: Interrupt set rollover value with a variable
Replies: 0
Views: 70

Interrupt set rollover value with a variable

Hi Ben At first.. Interrupt with FC8 are very nice to use. It is so easy to set the desired frequency and the later in the hardware the frequency is correct. Sometimes you want to change this frequency during the program. For the next flowcode version... Would it be possible to set the rollover valu...
by stefan.erni
Mon Jun 29, 2020 3:48 pm
Forum: Flowcode V7
Topic: ENC28J60 - Component
Replies: 4
Views: 203

Re: ENC28J60 - Component

Hi Steve, Hi Ben

How would it be if this ran over SCADA?
Map a network drive on the computer where SCADA is running. Or the computer with SCADA could also save without NAS. I have a PIC32 with an ENC28J60 that works relatively well.....

regards

Stefan
by stefan.erni
Wed Jun 24, 2020 4:21 pm
Forum: Flowcode V8
Topic: sd card read-write
Replies: 4
Views: 297

Re: sd card read-write

Hi kabouras Have you already tried to write the two files to the card and then read both with the computer? Without your are reading a file with the PIC? Are both files ok? And why did you choose the return string size just to 240 when you read max 255 byte? Sometimes reduce the spi speed help, chan...
by stefan.erni
Wed Jun 24, 2020 10:53 am
Forum: Flowcode V8
Topic: sd card read-write
Replies: 4
Views: 297

Re: sd card read-write

Hi kabouras

Can you post your program so I can have a look?
by stefan.erni
Wed Jun 24, 2020 10:09 am
Forum: Flowcode V6
Topic: OLED Design
Replies: 7
Views: 500

Re: OLED Design

Hi John In my FC8 it looks different how to connect the Oled. It's working nice this Oled I used. Do you have some more info about your OLED? I saw that your PIC is on 5Volt PSU. I hope your OLED is also on 5volt and working with it. For my OLED modul I have to use 2 additional pins. One pin to turn...
by stefan.erni
Thu Jun 11, 2020 1:35 pm
Forum: Bug Reports
Topic: Serial EEPROM 24C32
Replies: 2
Views: 131

Re: Serial EEPROM 24C32

Hi Lord Grezington I guess this PIC has only 1channel which you can connect to either B4 B5 or B8 B9. If you have a few more I2C components on board, check which PIN they are connected to. Maybe you can switch these others to software, to try out whether the EEprom runs with I2C. regards Stefan DSP-...
by stefan.erni
Wed Jun 03, 2020 9:40 am
Forum: General Programming
Topic: sd card project
Replies: 2
Views: 423

Re: sd card project

Hi Soman Flowcode has a FAT Component. This works very stably and it offers a lot of comfort when programming. And if you like to use WAV file (Audiofiles) there is a anther component available : WAVPlayerFAT1 You can just drag and trop it from the component menue Data--> the component FAT(SD, SDHC)...
by stefan.erni
Tue May 19, 2020 2:32 pm
Forum: Flowcode V7
Topic: help with data logging shield v 1.0
Replies: 1
Views: 225

Re: help with data logging shield v 1.0

Hi Ricardo For the SD card you can use the pins for SPI. This pins are on the right side on a "strange" connector To start program the SD Card just drag and trop from the component Data the component FAT(SD, SDHC) on your dashboard and try it! regards Stefan Sd.PNG Arduino2.PNG Arduino.PNG
by stefan.erni
Fri May 15, 2020 1:18 pm
Forum: Programming Tips & Tricks
Topic: Microchip Programmer MPLAB SNAP
Replies: 0
Views: 411

Microchip Programmer MPLAB SNAP

Hi Ben There is a cheap programmer for PIC's (less than 20$) and it's working fine with Flowcode 8 Just change to /TPSNAP in the --compileroption ----programmer -----parameter like this: /P$(chip) /F"$(outdir)$(target).hex" /TPSNAP /M /OL I suspect this applies to all programmers in the same way Fol...
by stefan.erni
Wed May 13, 2020 4:45 pm
Forum: General Programming
Topic: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence
Replies: 2
Views: 499

Re: Setting PB2CLK for PIC32MZ2048EFG144 - Unlock Sequence

Hi Brendan

There is like sample how to unlook:

http://www.matrixtsl.com/mmforums/viewt ... nce#p91247

But for the UART Speed read this:

http://www.matrixtsl.com/mmforums/viewt ... 76&t=22017

I hope it helps

regards
Stefan
by stefan.erni
Mon May 11, 2020 8:50 am
Forum: Bug reports
Topic: SD Card file name
Replies: 2
Views: 303

Re: SD Card file name

Hi Alan A long time ago, filenames had 8 characters and 3 characters for the extension as standard. I also hope that the flowcode will be able to process long file names in the future. I have been working with the Flowcode file system for a long time and it works very reliably. My suggestion for you...
by stefan.erni
Fri Apr 24, 2020 4:05 pm
Forum: Flowcode V8
Topic: Pic32MZ2048EFH100 /200Mhz Uart's too slow
Replies: 6
Views: 662

Re: Pic32MZ2048EFH100 /200Mhz Uart's too slow

Hi Speed64, Hi Medelec

PIC32MX and PIC32MZ have different value for the Baudrateregister and there is a BRGH Bit to set or clear.

I don't really know that either. But the problem is just in the PIC32MZ and not in another PIC like PIC16.

regards

Stefan
by stefan.erni
Fri Apr 24, 2020 10:18 am
Forum: Flowcode V8
Topic: Pic32MZ2048EFH100 /200Mhz Uart's too slow
Replies: 6
Views: 662

Re: Pic32MZ2048EFH100 /200Mhz Uart's too slow

Hi Speed64


You can insert a C Code with a line like this.
This C Code has to be after the init the Uart!
I did not try the 9600 baud but for the 115200 it's working nice.

U1BRG=2592; // setzt uart 1 auf 9600
U4BRG=216; // setzt uart 4 auf 115200

regards

Stefan
by stefan.erni
Fri Apr 17, 2020 4:23 pm
Forum: Feature Requests
Topic: PIC-IoT WA Development Board EV54Y39A
Replies: 0
Views: 698

PIC-IoT WA Development Board EV54Y39A

Hi Ben What about a Microchip board with a Wlan Modul for Flowcode? Would it be possible to include the Wlan Modul ATWINC1510 from the board in Flowcode? This small board can be programed with drag and drop via USB. Soon I will trie how it works to program a PIC with this drag and drop and Flowcode....
by stefan.erni
Wed Apr 08, 2020 12:22 pm
Forum: Feature Requests
Topic: PIC-BLE Development Board DT100112
Replies: 0
Views: 787

PIC-BLE Development Board DT100112

Hi Ben What about a Microchip board with a BLE Modul for Flowcode? Would it be possible to include all the components from the board in Flowcode? It is possible to program this small board with drag and drop via USB. On the bottom, there is a battery holder and this PIC is really energy efficient. T...
by stefan.erni
Thu Mar 26, 2020 6:57 pm
Forum: Bug Reports
Topic: FC 8.2 + PIC32MZ + USB HID
Replies: 21
Views: 2573

Re: FC 8.2 + PIC32MZ + USB HID

Hi Leigh Yes I tried this, but it didn't work. I'm looking for USB serial. It's not yet working... Fc8_Leddriver_EFG144_5er_Serie1.c:522:23: fatal error: CDC_Setup.h: No such file or directory \*========================================================================*/ ^ compilation terminated. Erro...
by stefan.erni
Thu Mar 26, 2020 5:52 pm
Forum: Bug Reports
Topic: FC 8.2 + PIC32MZ + USB HID
Replies: 21
Views: 2573

Re: FC 8.2 + PIC32MZ + USB HID

Hi Ben Ok I changed the place, It's not yet working. Launching the compiler... C:\Program Files (x86)\Flowcode\Common\Compilers\pic32\bin\xc32-gcc.exe Parameters: "32MZ2048EFG144" "C:\C#_SOU~1\_#FC\OPTIS_~1\LEDTRE~2\" "Fc8_Leddriver_EFG144_5er_Serie1" "32MZ" xc32-gcc.exe: error: Parameters:: Invalid...
by stefan.erni
Thu Mar 26, 2020 11:42 am
Forum: Bug Reports
Topic: FC 8.2 + PIC32MZ + USB HID
Replies: 21
Views: 2573

Re: FC 8.2 + PIC32MZ + USB HID

Hi Ben Ther are many XC32-GCC.exe. Where is the correct place to copie the 2 folders "batch and harmony" Location: C:\Program Files (x86)\Flowcode\Common\Compilers\pic32\bin\xc32-gcc.exe Parameters: "$(chip)" "$(srcdir)" "$(target)" "$(family)" I get this error. Launching the compiler... C:\Program ...
by stefan.erni
Mon Mar 23, 2020 2:35 pm
Forum: Flowcode V8
Topic: PIC 32MX USB Error
Replies: 5
Views: 906

Re: PIC 32MX USB Error

Hi Ben

If I look at my computer the file is there.
But why this error?:
fatal error: CDC_Setup.h: No such file or directory
CDC-path.PNG
(11.53 KiB) Downloaded 645 times
by stefan.erni
Tue Mar 17, 2020 9:08 am
Forum: Flowcode V8
Topic: PIC 32MX USB Error
Replies: 5
Views: 906

Re: PIC 32MX USB Error

Hi Pascal, Hi Ben

If I compile your program I get also this error.

C:\Users\KFS-FO~1\DOWNLO~1\USB_Fehler.c:443:23: fatal error: CDC_Setup.h: No such file or directory

regards

Stefan
by stefan.erni
Fri Mar 13, 2020 2:55 pm
Forum: Flowcode V7
Topic: Model 3D STEP to Mesh
Replies: 3
Views: 1195

Re: Model 3D STEP to Mesh

Hi Bruno

Check your path from the filename. Sometimes letter like "äöüé" from swiss-german give this problems.
or
There is a trial software for 90 day's you can use for convert, test, remesh, from all format to all format....

https://www.rhino3d.com/de/download


regards

Stefan
by stefan.erni
Wed Mar 04, 2020 3:07 pm
Forum: Flowcode V8
Topic: Analog input not working on PIC32MZ2048ecg100
Replies: 25
Views: 4984

Re: Analog input not working on PIC32MZ2048ecg100

Hi Ben

The simulation is working fine.

In the hardware its' showing for all the AN signals the value from AD0. If I change the paramter from AN01 Vref to 5Volt
it' shows the the value still from AN0, but in the range of 5 volt.

AD1.PNG
(40.16 KiB) Downloaded 469 times
Clicker2_Pic32efh100-display_AD_Converter1.fcfx
(28.8 KiB) Downloaded 38 times
by stefan.erni
Fri Feb 28, 2020 2:22 pm
Forum: Flowcode V8
Topic: Analog input not working on PIC32MZ2048ecg100
Replies: 25
Views: 4984

Re: Analog input not working on PIC32MZ2048ecg100

Hi Ben

It's still the same. No change.