loading data files with dfu

Technical questions regarding the XTC tools and programming with XMOS.
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

loading data files with dfu

Post by genap »

I am using XS1-U8A in my usb audio project (based on a dj reference design).
I need to program few external devices using code on my custom module.
Due to memory size limitations I can't include the external devices program data into the upgrade image.
So I am going to program these data as data files and transfer these data to the second flash memory device connected to the custom module core.
I also need to be able to program configuration data to the main flash separately from the upgrade image.

So the questions are:
1. Is it possible to use DFU to program the image file along with 2 data files (each data file at a sector boundary).
2. Is it possible to use DFU to program just a data file at a sector boundary ?

Will highly appreciate any advice on this matter.

Gennady


User avatar
Ross
XCore Expert
Posts: 972
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Hi there,

The codebase doesn't support this "out of the box" I'm afraid - you will have to add this functionality. You will also have to extend the host side application to support this.