How can this be solved? By setting the clock speed to 20MHz?
Error: Unable to successfully create 'delay_us' for target with clock freq 19660800 Hz
Error: Unavailable timing functions used!
delay_us error
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Hello Patrick,
I think you can solve this by using a 20MHz frequency instead.
The linker with BoostC will only produce microsecond delays if it can do them exactly. The older C2C compiler always made microsecond delay code, even if it was not accurate.
By the way, is this in your own code or is the "delay_us" call in the code for one of Flowcode's components? I thought I removed all "us" calls.
BoostC has an equivalent "delay_10us()" call which seems to compile with all clock settings - perhaps you could use this instead?
I think you can solve this by using a 20MHz frequency instead.
The linker with BoostC will only produce microsecond delays if it can do them exactly. The older C2C compiler always made microsecond delay code, even if it was not accurate.
By the way, is this in your own code or is the "delay_us" call in the code for one of Flowcode's components? I thought I removed all "us" calls.
BoostC has an equivalent "delay_10us()" call which seems to compile with all clock settings - perhaps you could use this instead?
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Hello Patrick,
I'm happy this problem is solved.
We updated the files for the mobile phone solution earlier this year and you may have old copies. If you want new files, please contact Ben on our support email address (support@matrixmultimedia.co.uk) and he will send the new files to you.
I'm happy this problem is solved.
We updated the files for the mobile phone solution earlier this year and you may have old copies. If you want new files, please contact Ben on our support email address (support@matrixmultimedia.co.uk) and he will send the new files to you.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
The Mobile phone example updates now available from the Download section.
Alternativly you can visit this link.
http://www.matrixmultimedia.com/faq_ans ... b08bc2c83f
Alternativly you can visit this link.
http://www.matrixmultimedia.com/faq_ans ... b08bc2c83f
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel