Page 1 of 1

Problem with ARM EB031 and Led array in Flowcode V6.0.3

Posted: Tue Oct 22, 2013 3:03 am
by kmanng21
Hello everybody, sorry for my bad english
I have 2 problem:
1/ I have EB031 ARM board with EB034 ARM daughter board using AT91SAM7S128. I downloaded program to that board in Flowcode v5 for ARM and it worked OK. But when i download to that board in V6.0.3, when mloader programmer ask for connect ecio/arm, I connect ARM board to my PC and it return "The file format is not compatible with the device firmware. C:\Program Files\Flowcode 6\tools\mLoaderARM\mLoader.exe reported error code -1".

2/ about Led array, I created Led array with 8 LEDs and connect to port D, I write a simple program for PIC16F877A on my EB006 PIC programmer. My simple program use Flowcode V6: Begin -> While 1 -> Led array: all ON -> delay 500ms -> Led array: all OFF -> delay 500ms -> END. I run simulation and it was OK. But when I download to my board nothing happened, Leds don't blink or bright. I found 2 things:
- when I delete delay block, Begin -> While 1 -> Led array: all ON -> END, the code worked, all Leds bright.
-when I don't use macro of led array: Begin -> While 1 -> output 255 to port D -> delay 500ms -> output 0 to port D -> delay 500ms -> END, the code worked, all LED blink.

thank you very much!

Re: Problem with ARM EB031 and Led array in Flowcode V6.0.3

Posted: Tue Oct 22, 2013 11:48 am
by Benj
Hello,

I will investigate the ARM programming issue for you.

I have fixed the LED array component and it should work correctly on the hardware now. You can apply the changes by copying the file into your "Flowcode 6/Components" folder and restarting Flowcode.
led_array.fcpx
(8.81 KiB) Downloaded 277 times

Re: Problem with ARM EB031 and Led array in Flowcode V6.0.3

Posted: Tue Oct 22, 2013 12:11 pm
by Benj
Hello,

ARM programming working fine for me. Please can you confirm that you have selected ARM -> Misc -> EB031 for your target device.

The programmer settings should look like this.
ArmProg.jpg
ArmProg.jpg (79.97 KiB) Viewed 3483 times
If these all look correct on your system then can you take a screenshot of any errors that are produced.

Re: Problem with ARM EB031 and Led array in Flowcode V6.0.3

Posted: Thu Oct 24, 2013 10:50 am
by kmanng21
Dear Benj
Thanks for your reply, sorry for late reply. My mistake about ARM board because I choose AT91SAM7S128 on AT91 menu, not EB031 on Misc.The fcfx for LED array work very good, thank you very much.
Best Regard.