cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
8,549 Views
Registered: ‎11-07-2013

Download elf file to Microblaze from Android phone

Jump to solution
Hi, I have a microblaze based Artix 7 design with code that I'm able to run from the Xilinx SDK. Is it possible to download or run the elf file from the phone to the board through USB? I want the phone to behave as the PC. Thanks for any help you can provide
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Anonymous
Not applicable
15,902 Views

Re: Download elf file to Microblaze from Android phone

Jump to solution

You can set up the "phone" as a storage device. I use inverted comma's as the USB would just see the memory on your phone. 

 

So, you would need to add the AXI USB IP to your system. There is example driver code below to set up the storage device:

C:\Xilinx\SDK\2015.2\data\embeddedsw\XilinxProcessorIPLib\drivers\usb_v5_0\examples

 

You can use them. You would then just copy the elf into your memory on your phone, then use the USB driver to copy this from the memory into local memory. then you can reboot the microblaze.

boot_app = (int (*) (void)) XPAR_MICROBLAZE_0_BASE_VECTORS;    

boot_app();

 

View solution in original post

2 Replies
Highlighted
Anonymous
Not applicable
15,903 Views

Re: Download elf file to Microblaze from Android phone

Jump to solution

You can set up the "phone" as a storage device. I use inverted comma's as the USB would just see the memory on your phone. 

 

So, you would need to add the AXI USB IP to your system. There is example driver code below to set up the storage device:

C:\Xilinx\SDK\2015.2\data\embeddedsw\XilinxProcessorIPLib\drivers\usb_v5_0\examples

 

You can use them. You would then just copy the elf into your memory on your phone, then use the USB driver to copy this from the memory into local memory. then you can reboot the microblaze.

boot_app = (int (*) (void)) XPAR_MICROBLAZE_0_BASE_VECTORS;    

boot_app();

 

View solution in original post

Highlighted
Observer
Observer
8,345 Views
Registered: ‎11-07-2013

Re: Download elf file to Microblaze from Android phone

Jump to solution

That is amazing, thank you so much. You just opened the door for me, thanks again!

0 Kudos