Problem with firmware flashing
alexander.u at keepgo.com
Wed Feb 8 09:25:26 UTC 2017
Hi, our company bought two SIMtrace Hardware Kits. We want to use SIM
in our project. but have problem with flashing it to the board.
in one way I installed toolchain as described at
and made forwarder firmware - success1.
but any tries to flash it using dfu-util failed.
tries was next:
- from windows10 host using steps from
kii-dfu can`t flash it due to three dfu devices with NO serial numbers.
Try using dfu-util with -a0 flag gives same result as later cases - DFU
found, state idle, activate alternative=0 ... and nothing more. reruns not
helps. reconnects with or w/o BOOTLOADER button gives same result - nothing.
- same win10 host with vmWare Ubuntu16.04 VM. tries to install using
ubuntu. device shown on lsusb - dfu mode on. dfu-utils installed, toolchain
too, firmware made OK. simtrace made too.
experiment with simtrace gives output with wrong parsing of commands - may
be you have to open bug case to resolve it. same results with usb2 on vm
all tries to flash forwarder or reader to board failed on same place as
tried with button at connect and using -ao and w/o button and using -i
param (forgot number of interface for apps partition mb was -i1 ) - failed
- pure ubuntu 16.04 host. all above with same results. using usb3 port and
Now the time to tell about second way - SAM-BA . here is another problem:
<http://osmocom.org/projects/baseband/wiki/GnuArmToolchain>. as described
on toolchain <http://osmocom.org/projects/baseband/wiki/Toolchain> link,
included to PATH.
Trying to do:
git clone git://git.osmocom.org/openpcd.git
make -f Makefile.dfu BOARD=SIMTRACE
make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace
cat dfu.bin main_simtrace.bin > main_simtrace.samba
failed on 3rd string: make -f Makefile.dfu BOARD=SIMTRACE - arm-elf-gcc not
tries to rename arm-none-eabi gcc to arm-elf-gcc was not successful. so I
your dfu.bin to use samba (I made it with success) with
cat dfu.bin my_forwarder.bin > my_forwarder.samba
Also, at the string cat dfu.bin main_simtrace.bin > main_simtrace.samba we
see dfu.bin which is possibly dfu-boot-loader with wrong name which crashes
brain of google
so we have a BUG2:
- to rename produced dfu.bin filename to something relative i.e.
- to place link to binary of loader(s) at your instructions.
installed also crosstool-ng - but arm-elf-gcc not found too
So, we have fails using dfu-util and unmaking state of firmware which gives
use of SAM-BA impossible due to insufficient dfu-boot-loader-arm-SAM7.bin
This situation looks like failed "smoke test"...
Please help me to solve these issues.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the simtrace