Search found 24 matches

by Odox00
Tue Jul 09, 2013 11:37 am
Forum: General Programming
Topic: ARM for 64bit
Replies: 1
Views: 2060

ARM for 64bit

I can not find drivers for ECIO ARM for Windows 7 64bit to download. In the driver package there is 64bit drivers for 28 pin and 40 pin... but ARM... nope.

Only exe-file in the folder is "ECIOARM_Driver_Installer.exe".

/Jesper
by Odox00
Mon Jun 24, 2013 2:29 pm
Forum: Flowcode V4
Topic: I2C Compass GY-271
Replies: 6
Views: 7113

Re: I2C Compass GY-271

Hi I'm still struggling with my compass... :( Could someone give me a hint how to do the: Receive - data byte 0 Receive - data byte 1 Receive - data byte 2 coding? I looked at the examples of I2C but I was not any smarter... :oops: I would be pleased if anybody could give me a helping hand. Tanks
by Odox00
Wed Jun 05, 2013 11:38 pm
Forum: Flowcode V4
Topic: I2C Compass GY-271
Replies: 6
Views: 7113

Re: I2C Compass GY-271

Thanks John Sorry but I did not get it to work. I changed the values I could think had any similarity between the two modules. But no... Maybe I have to buy the same module as yours. A bit more expensive but has the tilt compensation. In Bens suggestion I'm not sure how to code the: Receive - data b...
by Odox00
Tue Jun 04, 2013 1:48 pm
Forum: Flowcode V4
Topic: I2C Compass GY-271
Replies: 6
Views: 7113

Re: I2C Compass GY-271

Thanks for your info Ben.
I have tried to make a code of your recommendations but without success. Is the attached code anything near how an I2C communication should look like?
by Odox00
Tue Jun 04, 2013 8:43 am
Forum: Flowcode V4
Topic: I2C Compass GY-271
Replies: 6
Views: 7113

I2C Compass GY-271

I struggle with getting my compass module GY-271, based on HMC5883L work. This is my first attempt to communicate via I2C but without success. Is there anyone here on the forum who has a working code for this module or know more than me how to code I2C? I use the "40 pin ARM 7 ECIO", but if someone ...
by Odox00
Wed Jan 30, 2013 3:04 pm
Forum: MIAC
Topic: MIAC powered with 24V
Replies: 1
Views: 3378

MIAC powered with 24V

I'm interesting in using a MIAC in a project at my work. Since I'm used to program in Flowcode. Thing is that all other equipment in the project will run on the industrial standard 24V. I noticed that MIAC power supply voltage is 12-16V. Will the MIAC unit blow if I feed it with 24V? If so, I have t...
by Odox00
Sun Jul 29, 2012 9:56 pm
Forum: Flowcode V4
Topic: No heading information in GPS Component
Replies: 6
Views: 5491

Re: No heading information in GPS Component

Think I solved it. I made some changes in the component file ARM_GPS.c. I more or less copied the lines for reading "GroundSpeed" and changed some values. :D Need to test it more.

Jeppe
by Odox00
Thu Jul 26, 2012 6:07 pm
Forum: Flowcode V4
Topic: No heading information in GPS Component
Replies: 6
Views: 5491

Re: No heading information in GPS Component

Thanks for your support. I will have a look at the file in FL for dsPIC to see if I can modify it for ARM. I know there is a workaround to calculate the CourceOverGround by using last and previous location data in a trigonometry function. But since the GPS data already has this iformation it would b...
by Odox00
Thu Jul 26, 2012 11:47 am
Forum: Flowcode V4
Topic: No heading information in GPS Component
Replies: 6
Views: 5491

Re: No heading information in GPS Component

Need to add that I use FL for ARM v4.3.
I saw in the free version of ARM v5 that a "Course Over Ground" has been added.
(My boss don't allow me to buy v5 :( )

Jeppe
by Odox00
Thu Jul 26, 2012 9:37 am
Forum: Flowcode V4
Topic: No heading information in GPS Component
Replies: 6
Views: 5491

No heading information in GPS Component

Hi I'm using the GPS component in a project and I use the Longitude and Latitude data but I also need the heading data. In the Properties of the component I can select those data. Is_Data_Valid Read_Longitude Read_Latitude Read_Altitude Read_GroundSpeed Read_NumberOfSatellites Read_UTC_Time Read_UTC...
by Odox00
Fri Feb 24, 2012 12:28 am
Forum: Flowcode V4
Topic: Can't compile/download square root function
Replies: 5
Views: 3440

Re: Can't compile/download square root function

I just found that there is a separate FLOAT function for using modulo with Float numbers.
fmod( x , y ) - floating point modulus (remainder of x divided by y)
Problem solved.
by Odox00
Wed Feb 22, 2012 10:56 pm
Forum: Flowcode V4
Topic: Can't compile/download square root function
Replies: 5
Views: 3440

Re: Can't compile/download square root function

Thanks Benj. Regarding the MOD function. I found out that I can compile if I use INT-variables, but not with FLOAT. If I try compile <b = (v+360) MOD 360>, (v and b are FLOAT-variables) I get this: Launching the compiler... C:\Program Files\Matrix Multimedia\Flowcode ARM V4\Tools\MX_bats\arm7comp.ba...
by Odox00
Sun Feb 19, 2012 11:07 pm
Forum: Flowcode V4
Topic: Can't compile/download square root function
Replies: 5
Views: 3440

Re: Can't compile/download square root function

I also can't compile the MOD (modulo) function.
by Odox00
Sun Feb 19, 2012 7:56 pm
Forum: Flowcode V4
Topic: Can't compile/download square root function
Replies: 5
Views: 3440

Can't compile/download square root function

Hi I put a square root function into a calculation of float point numbers. It works in simulation mode but it fails when I try to compile and download it. I can read those lines. sqrt_fail.o: In function `main': sqrt_fail.c:(.text+0x9f0): undefined reference to `float32_sqrt' I use Flowcode ARM v.4....
by Odox00
Wed Feb 01, 2012 2:58 pm
Forum: Flowcode V4
Topic: Can't open a file created on a SDcard.
Replies: 3
Views: 2678

Re: Can't open a file created on a SDcard.

Thanks
It looks like the problem exists in the "create file" macro. If I create a blank file on my PC and store it on the SD card, I can then write to that file and also open it on my PC.
by Odox00
Wed Feb 01, 2012 11:16 am
Forum: Flowcode V4
Topic: Can't open a file created on a SDcard.
Replies: 3
Views: 2678

Can't open a file created on a SDcard.

Hi I'm trying to learn how to store a log file in to a SD-card. All is fine until I want to check the file on my PC (Win7). When I open the card I can see the file in explorer but if I try open the file my computer says that it can't find the file. The size of the file is 1kb so some information sho...
by Odox00
Mon Nov 14, 2011 12:25 pm
Forum: Flowcode V4
Topic: No EEPROM in FlowCode ARM v4
Replies: 6
Views: 3755

Re: No EEPROM in FlowCode ARM v4

Got it to work now. Don't know what I did wrong.
If I want the data to stay in the memory after power loss. So I can re-read the last stored values up on restart.
by Odox00
Fri Nov 11, 2011 1:56 pm
Forum: Flowcode V4
Topic: Tell us about your projects...
Replies: 29
Views: 61383

Autopilot model sailing boat

As a sailor and programmer (LabView) I had an idea of building an autopilot model sailing boat. Since I will use a pretty small yacht of about one meter long, a PC with a Labview application would be too big for the boat. So I started to look in to the world of microcontrollers. I'm to lacy to start...
by Odox00
Fri Nov 11, 2011 12:20 pm
Forum: Flowcode V4
Topic: No EEPROM in FlowCode ARM v4
Replies: 6
Views: 3755

Re: No EEPROM in FlowCode ARM v4

I't seems to work except the write function. Can't get it to change the value in an address. Every time I read I get the value of (byte)147. I tried many different addresses but still the same value. I attached the program I made to test the function. Am I doing something wrong?
by Odox00
Wed Nov 09, 2011 11:05 pm
Forum: Flowcode V4
Topic: No EEPROM in FlowCode ARM v4
Replies: 6
Views: 3755

Re: No EEPROM in FlowCode ARM v4

Tanks!
Think I'm little to much newbie in C (the reason I choose FC) to figure out how to implement those functions. A simple (if there are one) sample code would help me.
by Odox00
Wed Nov 09, 2011 4:06 pm
Forum: Flowcode V4
Topic: No EEPROM in FlowCode ARM v4
Replies: 6
Views: 3755

No EEPROM in FlowCode ARM v4

I cant find the EEPROM icon in the menu in FlowCode ARM v4. The bitmap picture is in the Component folder "ARM_EEPROM.bmp" but no c-file or ocx file are found there.
by Odox00
Mon Oct 31, 2011 12:03 pm
Forum: Flowcode V4
Topic: 10bit duty cycle operates in 8bit FL4-ARM
Replies: 6
Views: 3587

Re: 10bit duty cycle operates in 8bit FL4-ARM

Thanks it works, like you suggested in your last post.
I only had some permission issues with Win7 not allowing to change files in program files folder. Had to move the file to my desktop, make the changes, and move it back.

Not that I need it, but would it be possible to use 16bit resolution?
by Odox00
Fri Oct 28, 2011 1:42 pm
Forum: Flowcode V4
Topic: 10bit duty cycle operates in 8bit FL4-ARM
Replies: 6
Views: 3587

10bit duty cycle operates in 8bit FL4-ARM

Hi
I can't get PWM(0) on my ECIOARM to work in 10bit it is still in 8bit resolution even when I use "SetDutyCycle10bit".
I have to increase SetDutyCycle10bit (INT) by 8 to get a change in pulse length. Is it suppose to be like this or am I missing something?
by Odox00
Fri Oct 28, 2011 11:30 am
Forum: Flowcode V4
Topic: Can I connect to ECIOARM via USB
Replies: 1
Views: 1978

Can I connect to ECIOARM via USB

I have a ECIO-ARM that I want to use to collect some analouge values and transfer them into a Labview application.
Is this possible? I can't find any Serial USB in the FC4-ARM.