xflash through programming?

Technical questions regarding the XTC tools and programming with XMOS.
kcfresher
Junior Member
Posts: 4
Joined: Wed Oct 19, 2016 4:15 am

xflash through programming?

Post by kcfresher »

Hi,
I am new to xcore.
I want to write binary (xe file) to flash through webpage. I mean I will create a webpage and upload the binary (xe file) and write that to flash boot partition. do we have any library available for this? I mean reading xe file and writing to flash boot partition.
Please help me.


Thanks!


henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Hi,

You can use libflash.

<https://www.xmos.com/download/private/l ... 34A%29.pdf>

Cheers,
Henk
kcfresher
Junior Member
Posts: 4
Joined: Wed Oct 19, 2016 4:15 am

Post by kcfresher »

Hi Henk,

Thank you for the help!
I think, I found the example.
https://github.com/xcore/sw_flashlib_ex ... programmer
And also the to convert xe to bin.
https://www.xcore.com/forum/viewtopic.php?f=26&t=4508
henk
Respected Member
Posts: 347
Joined: Wed Jan 27, 2016 5:21 pm

Post by henk »

Hi,

It is probably best to get the API etc from this page:

<https://www.xmos.com/support/tools/documentation>

Search on this page for libflash.

Cheers,
Henk