Problem with ARM EB031 and Led array in Flowcode V6.0.3
Posted: Tue Oct 22, 2013 3:03 am
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!
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!