Search found 101 matches

by kennethnilsen69
Wed Sep 14, 2022 1:35 am
Forum: General Programming
Topic: Converting a program from Arduino to Flowcode
Replies: 4
Views: 8976

Re: Converting a program from Arduino to Flowcode

I am trying to use this byte line in FC's C-Code box byte id155_init[8] = { 0xFF, 0x97, 0xD0, 0x94, 0x00, 0x08, 0x00, 0x6F }; I create an id155_init variable and write the line like this in the C-Code box: FCV_id155_init[8] = { 0xFF, 0x97, 0xD0, 0x94, 0x00, 0x08, 0x00, 0x6F }; I get this error when ...
by kennethnilsen69
Fri Aug 26, 2022 8:54 am
Forum: General Programming
Topic: Converting a program from Arduino to Flowcode
Replies: 4
Views: 8976

Re: Converting a program from Arduino to Flowcoe

Here is the arduino program that I want converted
by kennethnilsen69
Fri Aug 26, 2022 8:33 am
Forum: General Programming
Topic: Converting a program from Arduino to Flowcode
Replies: 4
Views: 8976

Converting a program from Arduino to Flowcode

Hi, I have an Arduino program that I need to convert to Flowcode, but my knowledge of the Arduino platform is not good enough for this. Is there anyone out there who wants to take this job. I would be happy to pay you for this :-) Please send me a PM or an email to kennethnilsen69@gmail.com if you a...
by kennethnilsen69
Tue Apr 20, 2021 2:21 pm
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

Re: ECIO40P16 and dsPIC33EP256MU806 chip

Your solution is not what Ben describes. An I/O pin is connected VUSB and has a pull down. Not VUSB is connected to GND with a resistor. The question is of course which I/O pin... thank you very much for that kersing :-) it worked when I found the right input port :-)))) Now it boots up properly :-...
by kennethnilsen69
Tue Apr 20, 2021 8:19 am
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

Re: ECIO40P16 and dsPIC33EP256MU806 chip

I added a 10k resistor between VUSB and GND but unfortunately it did not help. it still goes straight into the bootloader and stays there for 1 minute and 50 seconds before booting into using the program.

any more ideas on why?

I use the same bootloader as you have on ECIO :-)
by kennethnilsen69
Thu Apr 15, 2021 4:14 pm
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

Re: ECIO40P16 and dsPIC33EP256MU806 chip

Hmm it seems to always enter bootloader even without USB connected. and stays there for about 1 minute and 50 seconds then it goes out of Bootloader and boots up normally. are these any settings I am missing in MPLAB IPE? or there may be a fault in the pcb card.
by kennethnilsen69
Thu Apr 15, 2021 12:59 pm
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

Re: ECIO40P16 and dsPIC33EP256MU806 chip

bootloader into the auxillary flash did the trick. now usb and 140MHz work and i can program it like a regular ECIO40P16 :-) Thank you so much Ben :-)
by kennethnilsen69
Thu Apr 15, 2021 12:32 pm
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

Re: ECIO40P16 and dsPIC33EP256MU806 chip

Hi Ben :-) can I do this in flowcode with the C Code icon and then upload it to the chip with the PICkit4 device?

Is this just a one-time thing to do? it will stay that way after I upload the regular hex program
by kennethnilsen69
Thu Apr 15, 2021 8:14 am
Forum: General Programming
Topic: ECIO40P16 and dsPIC33EP256MU806 chip
Replies: 9
Views: 14316

ECIO40P16 and dsPIC33EP256MU806 chip

I have make my own pcb with the same chip as in ECIO40P16 and there are a few things I do not understand ECIO40P16 has an external crystal at 8MHz but runs at 140MHz. how is this possible? Mine only works properly if I choose 8MHz but as you know, it is much slower than 140MHz. so what is it I have ...
by kennethnilsen69
Thu Dec 03, 2020 12:38 pm
Forum: Flowcode V7
Topic: a problem with the text size in FC7
Replies: 9
Views: 8791

Re: a problem with the text size in FC7

The problem is only on these pop ups Properties menus so I can live with it for a while longer :-). if there is any I need to read then I just change the Windows text size and back again after. but mostly I know what is written there even though I can not see the text :-) just a little annoying mome...
by kennethnilsen69
Thu Dec 03, 2020 10:45 am
Forum: Flowcode V7
Topic: a problem with the text size in FC7
Replies: 9
Views: 8791

Re: a problem with the text size in FC7

After a lot of testing with various screen resolutions and text size, I have come to the conclusion that an FC does not support 3840 x 1080 with 100% text size. if I increase the text to 150% then it will be ok but then everything else will be too big so that way I can not have it. Do you have time ...
by kennethnilsen69
Fri Nov 27, 2020 3:25 am
Forum: Flowcode V7
Topic: a problem with the text size in FC7
Replies: 9
Views: 8791

Re: a problem with the text size in FC7

I suspect it has something to do with my screen resolution. I use a 49" gaming display with a resolution of 3840 x 1080. Is FC compatible with this resolution?

when I disconnect that screen I can read all the text on the other screen. but must disconnect for it to work
by kennethnilsen69
Tue Nov 24, 2020 11:49 pm
Forum: Flowcode V7
Topic: a problem with the text size in FC7
Replies: 9
Views: 8791

a problem with the text size in FC7

Hi I have got a problem with the text size in FC7 that I can not figure out. anyone know how to fix this?
The problem is only in FC7 so I do not think it is a windows problem.
Flowcode7 Text problems.JPG
Flowcode7 Text problems.JPG (37.25 KiB) Viewed 8791 times
by kennethnilsen69
Wed Dec 18, 2019 1:48 pm
Forum: Flowcode V7
Topic: Timer component
Replies: 3
Views: 3406

Re: Timer component

the latest update fixed the problem with Nano but not on the EPIO40P16
by kennethnilsen69
Wed Dec 18, 2019 12:27 pm
Forum: Flowcode V7
Topic: Timer component
Replies: 3
Views: 3406

Re: Timer component

for the Arduino Nano I can't use any Timer components. just by adding a Timer component on a blank project to Nano I get this error message: Launching the compiler... C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat atmega328p "C:\Users\Kenneth\DOCUME~1\Arduino\TimerTestNano.elf" ...
by kennethnilsen69
Wed Dec 18, 2019 11:09 am
Forum: Flowcode V7
Topic: Timer component
Replies: 3
Views: 3406

Timer component

Hi I have problems if I want to use more than 4 Timer components. I can not make the 5 Timer to work. In the Timer component, up to 9 Timers are available

Are there any restrictions or is this a bug?

I use:
FC7 and a EPIO40P16
by kennethnilsen69
Fri Sep 07, 2018 10:41 am
Forum: Flowcode V7
Topic: ECIO40P16 and Internal CAN truble
Replies: 16
Views: 8814

Re: ECIO40P16 and Internal CAN truble

Sorry Benj but no difference with the latest update
by kennethnilsen69
Thu Sep 06, 2018 10:14 pm
Forum: Flowcode V7
Topic: ECIO40P16 and Internal CAN truble
Replies: 16
Views: 8814

Re: ECIO40P16 and Internal CAN truble

And if I swap around Internal 1 and 2 i get this (only software swap)
CAN1AndCAN2 Internal1 and 2 Swap.JPG
CAN1AndCAN2 Internal1 and 2 Swap.JPG (44.49 KiB) Viewed 8689 times
ECIO40P16_CAN_BT_And_eeprom_Test.fcfx
(33.53 KiB) Downloaded 267 times
by kennethnilsen69
Thu Sep 06, 2018 9:58 pm
Forum: Flowcode V7
Topic: ECIO40P16 and Internal CAN truble
Replies: 16
Views: 8814

Re: ECIO40P16 and Internal CAN truble

Hello, I believe I may have now fixed the problem. In the initialisation of the DMA the channel 2 pointers were referring to the channel 1 pins. Hopefully should all be resolved for you now. Please copy the attached file into your "Flowcode 7/CAL/PIC16BIT" folder and let us know how you get on. PIC...
by kennethnilsen69
Thu Sep 06, 2018 9:35 pm
Forum: Flowcode V7
Topic: ECIO40P16 and Internal CAN truble
Replies: 16
Views: 8814

Re: ECIO40P16 and Internal CAN truble

Hello, Please can you confirm you are using FLowcode v7.3 and have applied the fixes from here. https://www.matrixtsl.com/mmforums/viewtopic.php?f=63&t=19743#p86234 There are some CAN related fixes in there. I'm just combing through the internal CAL code now to see if I can spot any problems. Yes, ...
by kennethnilsen69
Thu Sep 06, 2018 2:27 pm
Forum: Flowcode V7
Topic: ECIO40P16 and Internal CAN truble
Replies: 16
Views: 8814

Re: ECIO40P16 and Internal CAN truble

There is also another problem:
If I initialise CAN2, SetTxIdent and SetTxData do not work on CAN1
by kennethnilsen69
Sat Sep 01, 2018 5:13 pm
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 9749

Re: ECIO40P16 and AT24C32 eeprom

I have now moved it to D5 and D4 and here everything works :-)


Thanks for the help
by kennethnilsen69
Sat Sep 01, 2018 1:34 pm
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 9749

Re: ECIO40P16 and AT24C32 eeprom

Now I have moved them over to 3.3 volts and I now measure 3.2 volts on B7 and B6.

But it does not help on the problem :-( It still does not work.

I have also tested the ports with LED diodes and they work as they should and are not damaged by 3.7v for just a few seconds :-)
by kennethnilsen69
Sat Sep 01, 2018 1:22 pm
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 9749

Re: ECIO40P16 and AT24C32 eeprom

Even with pull-ups to 5V so there is only 3.7 volts on pin B7 and B6 so I do not think has been damaged by it.

I move them over to the 3.3v output but have my doubts that this is the reason why it does not work