Search found 654 matches

by stefan.erni
Tue Jan 24, 2017 3:00 pm
Forum: General Programming
Topic: sprint or how to create a string
Replies: 3
Views: 3956

Re: sprint or how to create a string

Hi Ben

Ok I solved it...

Can I show text in the simulation on 100x32 pixel Display?
by stefan.erni
Tue Jan 24, 2017 2:41 pm
Forum: General Programming
Topic: sprint or how to create a string
Replies: 3
Views: 3956

Re: sprint or how to create a string

If I put the code in "C-Code" ==> Error with Tostring$

If I put the code in "Calculation" ==> Error with IF

What if I put the code in simulate?
by stefan.erni
Tue Jan 24, 2017 12:58 pm
Forum: General Programming
Topic: sprint or how to create a string
Replies: 3
Views: 3956

sprint or how to create a string

Hi Ben I need to create a string what is always 2char long. I need to show time on a Display. I wrote a text to Display macro. it should be like this sprintf(FCV_TEXT2DISPLAY," %x", 15); // result "15" sprintf(FCV_TEXT2DISPLAY," %x", 2); // result "02" But I just cachet a lot of errors..... Can You ...
by stefan.erni
Fri Jan 20, 2017 11:12 am
Forum: General Programming
Topic: Pic 18LF1622 buffer sd-card
Replies: 4
Views: 4769

Pic 18LF1622 buffer sd-card

Hi Ben I have a Pic 18LF1622. It's working fine to write date with a sectorsize (512Byte)buffer from the FAT. So what I need is one(or two) buffer more. So I can write in buffer A new date and on the same time write buffer B to the disk (maybe copy to Fatbuffer). FC7 let me not create a buffer with ...
by stefan.erni
Tue Jan 17, 2017 5:35 pm
Forum: General Programming
Topic: append Byte to file, but I have an integer
Replies: 1
Views: 3285

append Byte to file, but I have an integer

Hi
I need to append an integer to the FAT1
Can I just use appendBytetoFile and put there my 16Bit Integer and FAT1 will write all 16 bit (in 2Byte)?
by stefan.erni
Tue Jan 17, 2017 12:37 pm
Forum: General Programming
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card
Replies: 17
Views: 15273

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hi Ben Thank You for the Bootloader.fcdx. Is it possible to have it for the PIC32MZ2048EFG100 chip also. I like the Bootloader version, but I use the USB Pin's for sending controldate to the PC. So I did not jet change to the Bootloaderversion. What about the another USB port from the board. Is it s...
by stefan.erni
Fri Jan 13, 2017 5:52 pm
Forum: General Programming
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card
Replies: 17
Views: 15273

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hi Ben

Good idea. But the Irq on this chip is not working........
I tried also with the bootladerversion, but its the same. On another chip I used IRQ.
Do I something wrong here?
by stefan.erni
Fri Jan 13, 2017 4:43 pm
Forum: General Programming
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card
Replies: 17
Views: 15273

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hi Ben
Yes perfect. 10 block's are nice on the disk.

There is a question more...
How Can I enable and read the timer1 before start writing and after writing, and write both to uart?
by stefan.erni
Fri Jan 13, 2017 2:41 pm
Forum: General Programming
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card
Replies: 17
Views: 15273

Re: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

it's working now with the pin. So I wrote a macro to insert easy in all my programs to write a testfile.
There is a problem on the end of the macro, with "write to the next sector". If I open the file, only the first sector is correct.
Can You help me with this?
file_write_test1.FCM
(5.92 KiB) Downloaded 363 times
by stefan.erni
Thu Jan 12, 2017 6:31 pm
Forum: General Programming
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card
Replies: 17
Views: 15273

PICKIT WI-Fire PIC32MZ2048EFG100 SD-Card

Hi Ben
on my board PICKIT WI-Fire PIC32MZ2048EFG100 200MHz is an sd-card.
I can write to the card nice if I use the software pin like in the png.
But to use the hardware spi pins (SPI3) it's not possible to choose.
It's not in the MOSI/MISO remap. How can I add them?
Sd-card-fat1.PNG
Pin sd-card
(31.47 KiB) Downloaded 10149 times
by stefan.erni
Tue Jan 10, 2017 10:37 am
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben Thank You for the big help. I used the new cal_Delay.c It's correct now. One Second delay in software is on the board one second too. Unfortunately I tryed to use an IRQ. In the simulation it's working but if I download it in the chipkit, the software is not running. And I saw some PIC32 USB ...
by stefan.erni
Mon Jan 09, 2017 5:32 pm
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben
There is a small question about the board.
Will the Wifi chip(modul) be supported in the future from FC7.
It's from Microchip
MRF24WG0MA WiFi module
by stefan.erni
Mon Jan 09, 2017 4:44 pm
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben

Thank you for the remind me.... I have to do this on every computer with F7 .
It's great what you did! It's working nice.

A little bit is not correct in my program. I have delay of 1mSec but the scope shows me 4mSec.
I will test some more signals.
scope_0-2.png
(11.55 KiB) Downloaded 5909 times
by stefan.erni
Mon Jan 09, 2017 1:52 pm
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben I did it. I can load the chipkit add my code and compiele it to c. I can also see the com3 USB serial port in the programmer port option. But compile it to hex gives problem.... I create a folder "chipKit" and put the "MZ-application-32MZ2048ECX.ld" there C:\Program Files (x86)\Flowcode 7\com...
by stefan.erni
Mon Jan 09, 2017 9:30 am
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

Re: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben
That's a good idea to use the built in bootloader for this kit.It will help us a lot.
Please send me a new definition file for the kit, if it's ready.
I can test it easy with my osciloscope.
For the clock, I tried many different settings, but the clock was never higher than 80Mhz.
Stefan
by stefan.erni
Tue Jan 03, 2017 10:48 pm
Forum: Flowcode V7
Topic: PICKIT WI-Fire PIC32MZ2048EFG100 200MHz
Replies: 12
Views: 9581

PICKIT WI-Fire PIC32MZ2048EFG100 200MHz

Hi Ben I have a Digilent PICKIT WI-Fire PIC32MZ2048EFG100 200MHz I can program it nice with Flowcode 7 and PICkit3. I can turn on/off the 4 pcs of LEDs on the board. But I have a problem to configurate the clock correct. If I control the on time from a led it's 2.5 miliSeconds. As if I can not let t...
by stefan.erni
Fri Dec 02, 2016 6:09 pm
Forum: General Programming
Topic: Exact timestamp on AD measurements ?
Replies: 2
Views: 3846

Re: Exact timestamp on AD measurements ?

What about the RTCC (Real-Time Clock/Calendar )? Some PIC have one included. If the timestamp is in seconds or minutes .... it's nice to use.
Is there a samplecode to use microchips rtcc?
by stefan.erni
Wed Nov 16, 2016 1:49 pm
Forum: Flowcode V7
Topic: Win8 FC7 Path for programmer crash(freez)
Replies: 2
Views: 2923

Re: Win8 FC7 Path for programmer crash(freez)

when I try to change the path
by stefan.erni
Wed Nov 16, 2016 10:40 am
Forum: Flowcode V7
Topic: Win8 FC7 Path for programmer crash(freez)
Replies: 2
Views: 2923

Win8 FC7 Path for programmer crash(freez)

I support a notebook with Win8 and FC7.1.1.0 In the menue Build/compieler option/programmer If I change the path for the programmer, and/or the option of the programmer, FC7 freeze and i have to press ctrl-alt-del. sometimes fc is very slow before it freeze. Path and option are ok. I use it in few a...
by stefan.erni
Fri Nov 11, 2016 3:13 pm
Forum: Flowcode V7
Topic: USB Pic32
Replies: 13
Views: 10771

Re: USB Pic32

Hi Uwe
Usb with Pic 32 is not jet working with flowcode7. Thats what I understand
I hope soon we have a "trial" version.

04499386300
is this number correct?
regards

Stefan
by stefan.erni
Fri Nov 11, 2016 9:25 am
Forum: Flowcode V7
Topic: USB Pic32
Replies: 13
Views: 10771

Re: USB Pic32

Hallo Uwe

Benutzt Du PIC32?
by stefan.erni
Thu Nov 10, 2016 9:48 am
Forum: Flowcode V7
Topic: USB Pic32
Replies: 13
Views: 10771

Re: USB Pic32

Hi Ben

Can I have this as beta version?

I can try and help a little.

regards
Stefan
by stefan.erni
Tue Nov 01, 2016 3:49 pm
Forum: General Programming
Topic: How to connect a stepper with 2 Coil?
Replies: 18
Views: 16411

Re: How to connect a stepper with 2 Coil?

Hi Ben

Now it's clear, it was a problem in the hardware I did. It was never a problem of FC. Sorry.

Stefan
by stefan.erni
Thu Oct 27, 2016 4:12 pm
Forum: Flowcode V7
Topic: USB Pic32
Replies: 13
Views: 10771

Re: USB Pic32

Hi Ben
Is it on the list :) ?
Or do you have a good idea how to use the usb on PIC 32?
by stefan.erni
Thu Oct 27, 2016 4:07 pm
Forum: General Programming
Topic: How to connect a stepper with 2 Coil?
Replies: 18
Views: 16411

Re: How to connect a stepper with 2 Coil?

Hi Ben

I have further configured the inputs and outputs from the board. Also the input from the switch for the bootloader and some more. Now it works.
thank you for the friendly help.

regards

Stefan