Adding quad flash usage into USB Audio 2.0 on XC-200 Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
expertsleepers
Member
Posts: 12
Joined: Thu Mar 03, 2016 4:28 pm

Adding quad flash usage into USB Audio 2.0 on XC-200

Post by expertsleepers »

I'm using the xCORE-200 MC Audio reference design.

I would like to add access to the quad SPI flash - at the very least, reading some configuration data at startup.

Where would be the best place to hook this in? Wherever I try I end up with

Suspended: Signal 'ET_ILLEGAL_RESOURCE' received. Description: Resource exception.

from fl_connectToDevice() or fl_connect().

I've got the DFU system to work, so clearly it is possible for this board to leverage the flash - I just can't figure out how to get this going myself.

Thanks for any assistance.


View Solution
expertsleepers
Member
Posts: 12
Joined: Thu Mar 03, 2016 4:28 pm

Post by expertsleepers »

Turns out it was basically working all along - but stepping through in the debugger was giving me the errors I mentioned.

So if anyone knows how to get the debugger to work without false exceptions, I'd love to hear about it.
peter
XCore Addict
Posts: 230
Joined: Wed Mar 10, 2010 12:46 pm

Post by peter »

Hi expertsleepers,

Sorry to hear that you're seeing this issue. Can you confirm what version of the tools you are using? We were definitely having issues with this in the debugger but they should have been resolved with the 14.2 tools release.

Regards,

Peter
expertsleepers
Member
Posts: 12
Joined: Thu Mar 03, 2016 4:28 pm

Post by expertsleepers »

I'm using 14.1.2. Sounds like I should upgrade?
peter
XCore Addict
Posts: 230
Joined: Wed Mar 10, 2010 12:46 pm

Post by peter »

Yes, this is an issue which should be fixed in the 14.2, so please do upgrade and let us know if that doesn't resolve your issues.

Regards,

Peter
expertsleepers
Member
Posts: 12
Joined: Thu Mar 03, 2016 4:28 pm

Post by expertsleepers »

Yes, that seems to fix it. Thanks.