(my application is based on a dj usb audio reference design)
In flash_interface.c I have functions
Code: Select all
int flash_init_exchange(void)
{
DFUCustomFlashEnable();
flash_cmd_enable_ports();
return 0;
}
int flash_deinit_exchange(void)
{
DFUCustomFlashDisable();
flash_cmd_disable_ports();
return 0;
}
void flash_read_exchange(unsigned int address, unsigned int amt, unsigned char flbuf[])
{
fl_readData(address,amt,flbuf);
}
Code: Select all
void front_flash_exchange(void)
{
unsigned char fl_buffer[16];
flash_init_exchange();
flash_read_exchange(0x0000, 16, fl_buffer);
Print_buffer(fl_buffer, 16);
flash_deinit_exchange();
}
then flag is set and all the cores start executing.
The data reading works fine, but then an exception "Signal 'ET_ELLEGAL_RESOURCE' received" is
raised on ConfigAudioPorts() / configure_out_port().
Probably because audio ports are multiplexed with flash access ports.
I have no idea how to deal with this issue.