Search found 128 matches

by George_B
Sat Feb 10, 2024 9:33 am
Forum: Bug reports
Topic: Attempted an unsupported operation while configuring Interrupts
Replies: 6
Views: 4289

Re: Attempted an unsupported operation while configuring Interrupts

Hi, After i recently formatted my pc with windows7, i installed my licenced Flowcode7 and applied the updated version from this link: https://matrixtsl.com/mmforums/viewtopic.php?f=63&t=19743 I am getting this error again. I have tried all the suggestions above(language override, re installation) an...
by George_B
Thu Jul 07, 2022 5:49 am
Forum: Flowcode V8
Topic: MQTT Using GSM
Replies: 1
Views: 2689

MQTT Using GSM

Hi! I am using Flowcode 9 and trying to implement a project using MQTT component. Combining the MQTT component and the Network Communication component, i managed to run a simple program successfully. I am able to publish and receive data from the broker properly. What i want to achieve is to use a G...
by George_B
Sat Jan 08, 2022 9:55 pm
Forum: Flowcode V6
Topic: UART with two differnt baudrates
Replies: 8
Views: 7387

Re: UART with two differnt baudrates

You don't need code for 1200 as that is not a custom rate, you just choose 1200 within UART properties. Just make sure the timings are correct with a one-sec flasher test first. thank you for your reply. I tried to set the baudrate at 1200 in UART properties but it is not working. Note that i want ...
by George_B
Sat Jan 08, 2022 5:09 pm
Forum: Flowcode V6
Topic: UART with two differnt baudrates
Replies: 8
Views: 7387

Re: UART with two differnt baudrates

Hello All! I am trying to use 4Mhz crystal on a 18F4523 and 1200 baud rate on UART and the code is not working correctly. I have successfully use custom baudrate of 1200 on the same device but the crystal frequency was 19.660800 Mhz and the C code at the beginning of the program was as below: TXSTAb...
by George_B
Mon Dec 13, 2021 1:19 pm
Forum: Flowcode V6
Topic: Sending a byte array as a string?
Replies: 3
Views: 7807

Re: Sending a byte array as a string?

Hello, Are any of your byte values 0? For a string variable the data bytes usually contain ASCII values e.g. 32 is a space, 48 is a '0' character etc. The 0 tells the function where the string data ends so we don't go off into an uninitialised part of the string variable or even worse off into unin...
by George_B
Thu Nov 04, 2021 1:25 pm
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hi Ben and thanks for the reply!

Yes i am running the updated version of flowcode 7.3.0.7

I add some bypass capacitors on the SD card module as well as pull up resistors on the data lines and it seems to run much better now.

I will try with flowcode 9 anyway and let you know.


Regards
George
by George_B
Wed Nov 03, 2021 9:39 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Today i tried to use another GPS module. With the same program i get the data as expected with the new module. One strange thing that is happening in hardware is that the SD card after some writes tend to fail. When i say fail i mean that the original txt file is corrupted and it can not be accessed...
by George_B
Tue Nov 02, 2021 10:38 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hello, I've found what might be causing the problem. The RMC message that contains the data validity flag is usually $GPRMC but in this case it is $G N RMC. I've updated the component to allow for this and hopefully that should solve the problem for you. The other messages all seem to be ok so fing...
by George_B
Tue Oct 12, 2021 7:05 am
Forum: Bug reports
Topic: Attempted an unsupported operation while configuring Interrupts
Replies: 6
Views: 4289

Re: Attempted an unsupported operation while configuring Interrupts

Steve wrote:
Mon Oct 11, 2021 4:37 pm
If neither of the above work, then perhaps you need to uninstall and reinstall Flowcode.


This did the job! Now works again fine.


Thanks for the support!


George
by George_B
Mon Oct 11, 2021 12:06 pm
Forum: Bug reports
Topic: Attempted an unsupported operation while configuring Interrupts
Replies: 6
Views: 4289

Re: Attempted an unsupported operation while configuring Interrupts

Hi, thank you for your reply.

The device i am using is 18 F4680 .

Today i used my laptop to load the same project file into FC7 and it is working fine. I can not find the reason that is not working on my desktop!


by George_B
Sat Oct 09, 2021 2:08 pm
Forum: Bug reports
Topic: Attempted an unsupported operation while configuring Interrupts
Replies: 6
Views: 4289

Attempted an unsupported operation while configuring Interrupts

Hello, I am facing a problem with Flowcode V7. When i use the interrupt icon in the program and trying to configure the interrupt properties i get an error window like below. 1.jpg After i select Ok on this window.. another message window pops ups like below. 2.jpg Could you please advise for a poss...
by George_B
Thu Jun 17, 2021 11:59 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

will let you know the results the soonest.


Finger crossed.



Many thanks!
by George_B
Thu Jun 17, 2021 11:02 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hi,


I am using two Li-ion 3.7V in series and a switching step down (3A maX) to power the hardaware.

Have you ever tried to read the L76X GPS module with the current flowcode GPS component?
by George_B
Mon Jun 14, 2021 7:20 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hello Ben, The crystal speed is configures correctly in flowcode at 19.6608MHz. If i use a different GPS module from another manufacturer the same program works fine but then i have accuracy issues. I would like to build a device that it will track a route and keep a log with the gps position every ...
by George_B
Wed Jun 02, 2021 11:41 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hello,

still i am trying to find a solution for gps module L76X but no success with the flowcode.


Would it be possible to check the attached txt file and see the reason that the flowcode component can not get the right information ?


Thanks in advance
George
by George_B
Mon May 17, 2021 12:39 pm
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hello Ben note that this program works with anothe gps module that i have which unfortunately gives me totaly wrong coordinates in relation to when i am at that point. I couldn't read data from the L76X GPS module(which gives me correct data) using the attached program. Can you check and let me know...
by George_B
Wed May 12, 2021 12:15 pm
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

Hi, For a project it is required to log GPS positioning data in an SD card every few seconds. I have a few GPS modules available for testings but i get correct and valid position only with L76X module using U-center software. Unfortunately i can not read the module's data when i try to write a simpl...
by George_B
Sat May 01, 2021 7:57 pm
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

Re: FAT SD Card Data Logger

I just figure out that the problem has to do with the string variable in the program. The string "filestring" could not hold the sum of all other strings that i wanted. I made a small change in the structure of the program and now i am able to write the way i want in SD. Here is the solution for me....
by George_B
Sat May 01, 2021 12:52 am
Forum: 8-Bit PIC
Topic: FAT SD Card Data Logger
Replies: 28
Views: 34421

FAT SD Card Data Logger

Hello ! I would like to use the SD componet. I read in the forum a few topics for reading from and writing to sd card and based on the examples i implement a data logger with gps data. The simulator working good. The created file in the PC does contain the correct data as i want to be desplayed. The...
by George_B
Sat Mar 20, 2021 2:06 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 13631

Re: Look Up Table - Size of elements

I focused on the solution to my problem and not so much on how to write huge tables in the microcontroller. Therefore i am wondering if it is good idea to use an external EEPROM chip to do the job. With what characteristics should i choose the EEPROM chip in order to be able to holt the amount of da...
by George_B
Fri Mar 19, 2021 9:58 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 13631

Re: Look Up Table - Size of elements

This doesn’t make sense. If you have 4000 elements of 1 byte (let alone a larger integer) you need 4000 memory locations to store those values. None of the memory allocations in your output has 6 times 4000 elements = 24000 elements allocated. My guess is the lookup tables are truncated or the opti...
by George_B
Fri Mar 19, 2021 9:20 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 13631

Re: Look Up Table - Size of elements

just an update after some time trying different things.. I created 6 LUT droping 6 different components in my project's panel. I then paste on each table the 4000 values. So in total i have 25000 values in those 6 LUT ! I compile the project and the result of the used space was amazingly vesy small!...
by George_B
Fri Mar 19, 2021 2:40 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 13631

Re: Look Up Table - Size of elements

The amount of elements you can add to a LUT depends on the microcontroller you want to use. For 8 bit pic 50000 would be a huge amount and I don’t thing it can be done. For int alone that would be 100000 flash positions in flash. Thanks for your comment. I checked the LUT component again using larg...
by George_B
Fri Mar 19, 2021 2:19 pm
Forum: 8-Bit PIC
Topic: Look Up Table - Size of elements
Replies: 6
Views: 13631

Look Up Table - Size of elements

Hi, I have a question about the size of LUT in FC7. Would it be possible to store large quantities of data such as 50000 elements as integers in first LUT and another 50000 as float in a second LUT. :? At the moment as far as i tested the component, it accepts approximately 6000 values. Best Regards...
by George_B
Fri Mar 19, 2021 11:14 am
Forum: 8-Bit PIC
Topic: convert two Int to one Float
Replies: 7
Views: 8775

Re: convert two Int to one Float

hi Benj Thank you very much for your reply. This is the Union as you said. In my case ineed to do the "Seperation" from one Float to two Integers. Would it be the same as it is for bytes? Temp.AsByte[0] = FCV_BYTE0; Temp.AsByte[1] = FCV_BYTE1; Temp.AsByte[2] = FCV_BYTE2; Temp.AsByte[3] = FCV_BYTE3; ...