Xsim howto simulate spi flash

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
mmar
Experienced Member
Posts: 122
Joined: Fri Jul 05, 2013 5:55 pm

Xsim howto simulate spi flash

Post by mmar »

I try search howto in simulator test code with
/* Connect to the FLASH */
if ( 0 != fl_connectToDevice(flash_ports, myFlashDevices, 4) ) return;

but default setup of simulator return from this if.

Exist any plugin or settings for this?


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

Post by Ross »

I'm not sure there is a plug-in to emulate this. You could write one or use the loopback plugin and emulate the flash in another core in the xcore?
Post Reply