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!
Problem with ARM EB031 and Led array in Flowcode V6.0.3
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
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.
If these all look correct on your system then can you take a screenshot of any errors that are produced.
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.
If these all look correct on your system then can you take a screenshot of any errors that are produced.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Problem with ARM EB031 and Led array in Flowcode V6.0.3
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.
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.