Hello Benj,
I tried to load bootloader using SAM-BA and device is correctly recognized in Windows (Windows 7, 32 bit), but when I am running Flowcode and trying to execute code
getting following error.
File name: C:\Users\OLYMP\Desktop\Temp\ARM Test File.c
Generated by: Flowcode v4.3.8.64
Date: Tuesday, January 10, 2012 00:53:39
Licence: Professional
Registered to: Orbel Sevoyan
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode ARM V4\Tools\MX_bats\arm7comp.bat "ARM Test File" "C:\Users\OLYMP\Desktop\Temp"
In file included from ARM Test File.c:37:
C:/PROGRA~1/MATRIX~1/FLOWCO~1/Tools/MX_bats/../Global/OSstubs.c:192: warning: 'struct tms' declared inside parameter list
C:/PROGRA~1/MATRIX~1/FLOWCO~1/Tools/MX_bats/../Global/OSstubs.c:192: warning: its scope is only this definition or declaration, which is probably not what you want
ARM Test File.c: In function 'main':
ARM Test File.c:58: warning: return type of 'main' is not 'int'
Compilation successful!
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode ARM V4\Tools\MX_bats\arm7link.bat "ARM Test File" at91sam7s128
C:\Users\OLYMP\Desktop\Temp>arm-elf-gcc -mcpu=arm7tdmi -O2 -Wall "C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\MX_bats\..\Global\Cstartup.o" "ARM Test File".o -lm -aln="ARM Test File".lst --output "ARM Test File".elf -nostartfiles -T"C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\MX_bats\..\Global\at91sam7s128-ROM.ld" -L"C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\MX_bats\..\arm-elf\lib" -L"C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\MX_bats\..\lib\gcc\arm-elf\4.0.1"
C:\Users\OLYMP\Desktop\Temp>arm-elf-objcopy -O ihex "ARM Test File".elf "ARM Test File".hex
C:\Users\OLYMP\Desktop\Temp>arm-elf-objcopy -Osrec --srec-forceS3 "ARM Test File".elf "ARM Test File".s19
s19 file creation successful!
C:\Users\OLYMP\Desktop\Temp>hex2bin "ARM Test File".hex
hex2bin v1.0.1, Copyright (C) 1999 Jacques Pelletier
Lowest address = 00002000
Highest address = 0000589F
BIN file creation successful!
C:\Users\OLYMP\Desktop\Temp>arm-elf-readelf -s "ARM Test File".elf 1>"ARM Test File".fkt
ICD file creation successful!
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode ARM V4\Tools\mLoader\mLoader.exe "ARM Test File.s19"
mLoader version:2.0.4.0
Please connect the ECIO/ARM and put it into program mode, or click 'Cancel' to close.
The file format is not compatible with the device firmware. Your device firmware will now be updated...
...............................................................................................................................................................................................
Reading chip type...atm6124.Sys ATMEL AT91xxxxx Test Board()
..........................................................................................................................
Sending Program... C:\PROGRA~1\MATRIX~1\FLOWCO~1\Tools\mLoader\\Bootloader.bin
..............................................................................................................................................................................................
Send Failed
....
The device firmware update was unsuccessful. Please contact technical support.
Return code = 39
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
Looking forward to hear from you.
Orbel