Hi everyone,
I am an engineer that works developing control algorithms in the field of robotics. Most of my work is developed in MATLAB/Simulink under Windows 7 (32 bit), which I use to simulate, design, and produce highly efficient C code for embedded controllers. I have been working with various evaluation boards from the DSpace brand, but now I am interested on scaling some designs into leaflabs maple boards (by recommendation of some colleagues).
We adquired a leaflabs maple r5 board, and I got all the procedure of using the maple ide, and flashing various examples. Therefore, I know that all the communication protocol throughout USB channel is properly working.
Now, I am interested on the possibility to flash code that is produce by MATLAB/Simulink. To test this, I have created some simple example, which I can easily simulate and compile with Keil µVision IDE. I do this, because the code produced by MATLAB/Simulink is not in the format MAPLE IDE. From Keil µVision IDE I can produce either *.bin files or *.hex files, by setting the compilation with start in the area 0x8005000 as I got from reading on this forum.
My problem now consists on flashing (transporting) this *.bin or *.hex file into my board, with a similar USB procedure as MAPLE IDE. I thought there would exist some easy tool in maple ide to do so, but I seem to be mistaken. I read around about the use of dfuse demo, and flash loader demo, but as I understand, they use different process than dfu-util.
I would thank very much if somebody could help me figure out how to solve this issue, which problably is rather easy for some of you who are more familiar with this hardware unit. I would like to be able to flash the code, but still been able to use the MAPLE IDE for simpler tasks.
I tried by the command line
dfu-util -d 0110:1001 -a 0 -D file.bin
under the windows cmd.exe, but I only get the message:
Lost device after reset, assuming prod_id was incremented by one
NO DFU capable USB device found
Thanks in advance
Dr. Pedro Xavier Miranda La Hera
Principal Research Engineer
==============================================
Umeå Universitet
Tillämpad fysik och elektronik
SE-90187 Umeå
Sweden
tel (office): +46 (0)90 - 786 97 22
facsimile: +46 (0)90 - 786 64 69
e-mail: xavier.lahera@tfe.umu.se