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

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
kmanng21
Posts: 7
Joined: Tue Aug 27, 2013 10:44 am
Has thanked: 1 time
Been thanked: 1 time

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

Post 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!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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 264 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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 3272 times
If these all look correct on your system then can you take a screenshot of any errors that are produced.

kmanng21
Posts: 7
Joined: Tue Aug 27, 2013 10:44 am
Has thanked: 1 time
Been thanked: 1 time

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

Post 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.

Post Reply