How to change clock frequency?

Discussions relating to the XK-EVK-XU316
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

Ah I see, thanks for pointing that out.

I'm now running a program with xrun directly, without using the flash. It seems that xrun does not have a --target / --target-file option https://www.xmos.com/documentation/XM-0 ... anual.html

How do I change the frequency in that case? Is using xflash mandatory in this case?
User avatar
Ross
Verified
XCore Legend
Posts: 1070
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

You don't need to specify target for xrun since the xn file (with the frequency) is "built" into the xe you're supplying. So just change the frequency the xn and rebuild.
Technical Director @ XMOS. Opinions expressed are my own
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

You're right. I tested it and it worked as expected.

However, I tested again with flash and using the --target-file option and it still seems to hang unfortunately.
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

As mentioned before, I can still reproduce the issue using this example https://github.com/xmos/ai_tools/tree/d ... ngle_model
andy-aic
Member++
Posts: 26
Joined: Thu Jun 27, 2024 3:38 pm

Post by andy-aic »

I've opened an issue for tracking: https://github.com/xmos/ai_tools/issues/917
mmar
XCore Addict
Posts: 131
Joined: Fri Jul 05, 2013 5:55 pm

Post by mmar »

xflash out or xe file took veeeery long with compresion enabled. Wait ...