Unable to boot xvf3800 without flash, or on v3.1 Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
AnkhInnovationsLLC
Member++
Posts: 16
Joined: Mon Dec 25, 2023 12:19 am

Unable to boot xvf3800 without flash, or on v3.1

Post by AnkhInnovationsLLC »

Hello,

I'm unable to boot the ua (usb) version of the firmware via spi slave without a flash chip being installed... The intdev / i2c or spi versions boot fine with version 3.0 without flash installed, but not with version 3.1. I'm not able to boot any of the two (3.0 / 3.1) ua versions via xrun.

The development board I'm testing with is the SQ66, with it's flash chip de-soldered.
  • Version 3.0 -> i2c / spi control any geometry / sample rate boot fine, I see the green LED blink 3 times and can communicate over i2c
  • Version 3.0 -> ua, never boots when being run with xrun. xrun --dumpstate build/application_xvf3800_ua-io48-sqr.xe is blank
  • Version 3.1 -> i2c / spi control does not boot, when run with xrun
  • Also trying to boot via SPI from another MCU does work for the i2c / spi bin's produced with generate_image.py, but again not the ua version, haven't tried 3.1 i2c / spi
  • I tried modifying out the Boot and External Devices section of modules/fwk_xvf/modules/bsp/XK-VOICE-SQ66-EVK/xvf3800_qf60.xn, without any success

Any ideas?
View Solution
AnkhInnovationsLLC
Member++
Posts: 16
Joined: Mon Dec 25, 2023 12:19 am

Post by AnkhInnovationsLLC »

Setting the following in app_conf.h fixed it, at least for the 3.0 version. Haven't tried 3.1 yet.

#define DFU_CONTROL 0
User avatar
xhuw
Verified
Member++
Posts: 22
Joined: Wed May 22, 2024 2:36 pm

Post by xhuw »

Hey, nice work solving this one. There could be checks here to give more helpful feedback when the DFU and SPI boot features are enabled. Hopefully, this can be improved in future releases.
XMOS Software Engineer

Image