Search found 190 matches

by Mantas
Mon Jul 16, 2012 1:37 pm
Forum: Flowcode V5
Topic: ARM and GPS EB056
Replies: 11
Views: 6692

Re: ARM and GPS EB056

But I am still struggling to connect the GPS board to the ARM board correctly, could you help me with that?

Best regards,
Mantas
by Mantas
Sat Jul 14, 2012 9:29 am
Forum: Flowcode V5
Topic: ARM and GPS EB056
Replies: 11
Views: 6692

Re: ARM and GPS EB056

I managed to fix the ARM_CAL_UART.c the port naming was incorrect, here are the changes: line number 362 AT91F_PIO_CfgPeriph(AT91C_BASE_PIOA, AT91C_PA21_RXD0 | AT91C_PA22_TXD0, 0); changed to AT91F_PIO_CfgPeriph(AT91C_BASE_PIOA, AT91C_PA5_RXD0 | AT91C_PA6_TXD0, 0); //manually modified to ARM datashe...
by Mantas
Sat Jul 14, 2012 9:12 am
Forum: Flowcode V5
Topic: ARM and GPS EB056
Replies: 11
Views: 6692

ARM and GPS EB056

Hello, I need assistance connecting GPS EB056 board to an ARM board. How to patch and why. I set the jumpers at D(J5) and 3(J7), the J2 is set to 3V3, plus installed the 2032 battery. I was trying for about an hour, and gave up:) Tried everything, and nothing. Tied both A (RX - PA5, TX-PA6) and C (R...
by Mantas
Thu Jul 05, 2012 7:55 pm
Forum: Flowcode V5 Issues
Topic: ARM V5 error compiling floor function
Replies: 6
Views: 4243

Re: ARM V5 error compiling floor function

Yes I used macro import function. I tried creating new project and do the calculations in the calc box, and it worked fine, just that v4 project is still not working, and the flowcode crashes...very strange :?

Regards,
Mantas
by Mantas
Wed Jul 04, 2012 6:09 pm
Forum: Flowcode V5 Issues
Topic: ARM V5 error compiling floor function
Replies: 6
Views: 4243

Re: ARM V5 error compiling floor function

Unfortunately when I imported the macro, i get windows error, "program stopped working correctly, bla bla bla"...i will try to use the other workarounds for now, but I am waiting for a fix update.

Best regards,
Mantas
by Mantas
Tue Jul 03, 2012 9:55 pm
Forum: Flowcode V5 Issues
Topic: ARM V5 error compiling floor function
Replies: 6
Views: 4243

ARM V5 error compiling floor function

Hello support, just got my hands on new version, and imported a project from v4 ARM. When I am trying to simulate or compile I get an error saying "unknown or missing function: floor". Crearly the function is there in the list and it is writen (used) correctly, it was working in v4. Maybe you can in...
by Mantas
Fri Jun 29, 2012 4:46 am
Forum: Flowcode V4
Topic: ARM PWM Channels
Replies: 2
Views: 3387

Re: ARM PWM Channels

So will anyone post a reply to my question? I need to run 4 DC motors using PWM for my ROV project.

Mantas
by Mantas
Mon Jun 25, 2012 5:05 pm
Forum: Flowcode V4
Topic: ARM PWM Channels
Replies: 2
Views: 3387

ARM PWM Channels

Hello support team, As I know the SAM7 devices have four PWM channels on port A (PWM0,1,2,3) and each channel can run at different clocks (according to AT91SAM7S128 manual), but the flowcode 4 for ARM only allows to select 2 channels, and both running at the same clock speed. Any advices how to enab...
by Mantas
Thu Jun 14, 2012 7:40 pm
Forum: Article Discussion
Topic: MX003 - Look-up tables
Replies: 16
Views: 34300

Re: MX003 - Look-up tables

Another possibility, if all the individual arrays are the same size and type, might be the use of a single, 2-dimensional array (I am not currently able to test this): const double L[x][y] = { {1,2,3,4,.,.,.,.,.}, {.,.,.,.,.,.,.,.,.,.,.,.,.,.}, : : : {.,.,.,.,.,.,.,.,.,.,.,.,.,.} }; where x is the ...
by Mantas
Thu Jun 14, 2012 7:34 pm
Forum: Article Discussion
Topic: MX003 - Look-up tables
Replies: 16
Views: 34300

Re: MX003 - Look-up tables

I was thinking about 2dimentional arrays, but considering my poor knowladge of C :oops: , I got around this problem like this: see attached file. Its not very elegant, but it should work :mrgreen:
by Mantas
Thu Jun 14, 2012 5:09 pm
Forum: Article Discussion
Topic: MX003 - Look-up tables
Replies: 16
Views: 34300

Re: MX003 - Look-up tables

One more question Sean, If I have several different LUT's and I would like to get data from one of those LUT's but using one macro. For egzample: const double L0i_Ai[]={175347046,3341656,34894,3497,3418,3136,2676,2343,1324,1273,1199,990,902,857,780,753,505,492,357,317,284,271,243,206,205,202,156,132...
by Mantas
Wed Jun 13, 2012 9:31 pm
Forum: Article Discussion
Topic: MX003 - Look-up tables
Replies: 16
Views: 34300

Re: MX003 - Look-up tables

Thank you Sean for such a quick reply. Will make the changes in Retval data type.
by Mantas
Wed Jun 13, 2012 7:16 pm
Forum: Article Discussion
Topic: MX003 - Look-up tables
Replies: 16
Views: 34300

Re: MX003 - Look-up tables

Hello Sean, Is it allowed to change the variable type from char to double in case you want to store big numbers in the LUT? Egzample: const char L0i_Ai[]={175347046,3341656,34894,3497,3418,3136,2676,2343,1324,1273,1199,990,902,857,780,753,505,492,357,317,284,271,243,206,205,202,156,132,126,115,103,1...
by Mantas
Tue May 22, 2012 6:08 pm
Forum: Flowcode V4
Topic: ARM region CODE is full error
Replies: 2
Views: 2623

Re: ARM region CODE is full error

That makes sence now...

Thank You Ben!
by Mantas
Mon May 21, 2012 9:32 pm
Forum: Flowcode V4
Topic: ARM region CODE is full error
Replies: 2
Views: 2623

ARM region CODE is full error

Hello support Team. I was developing a code and I came to a dead end. The problem occured when I added a C block with a gcvt function to display floating point number to display it on LCD. I am using an ARM Pro v4 and the target board EB031. If I delete the C block, the code compiles correctly and i...