I am using the following version
PYB: soft reboot
Micro Python v1.3.3 on 2014-10-02; PYBv1.0 with STM32F405RG
Type "help()" for more information.
setting frequency gives me the following error
>>> import pyb
>>> pyb.freq(30000000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: function takes 0 positional arguments but 1 were given
>>>
What am i doing wrong?
Thank you
setting frequency??
Re: setting frequency??
I think that your firmware might be too old.
Code: Select all
Micro Python v1.3.8-9-g8a2cc1c on 2014-12-29; F4DISC with STM32F407
Type "help()" for more information.
>>> pyb.freq(30000000)
>>> pyb.freq()
(30000000, 30000000, 7500000, 15000000)
>>> pyb.freq(40000000)
>>> pyb.freq()
(40000000, 40000000, 10000000, 20000000)
Re: setting frequency??
As I ordered end Of december, I had hoped that I get a current Firmware version.
Sending out outdated firmware version to force people to do a firmware update seems to me
a little bit "odd".
ed
Sending out outdated firmware version to force people to do a firmware update seems to me
a little bit "odd".
ed
Re: setting frequency??
I checked the history and it look like the frequency stuff had some issues that were fixed in 1.3.6.
Since your firmware is earlier than that, that's why it isn't working.
I don't know how frequently Damien flashes the firmware for the boards, but I expect he does them in batches.
Since your firmware is earlier than that, that's why it isn't working.
I don't know how frequently Damien flashes the firmware for the boards, but I expect he does them in batches.
Re: setting frequency??
Thank you very much for your reply.
You are very helpfull and I apreciate that.
Yours
You are very helpfull and I apreciate that.
Yours
Re: setting frequency??
We program the boards in large batches and so their firmware is unfortunately not the very latest version. We also add features quite quickly so version numbers move fast. And It's not feasible to program the boards each day ; if we did this then all we would be doing is programming and would have no time for bug fixes and new features!eduardo wrote:As I ordered end Of december, I had hoped that I get a current Firmware version.
Sending out outdated firmware version to force people to do a firmware update seems to me
a little bit "odd".
ed
Hopefully that clarifies the situation.
Re: setting frequency??
Thank you very much for the explanation.
Yes; I prefer getting "bugfixes" over "delivered with actual firmware version".
As the product is new, I would need to reflash the board anyway sometime in the future.

Yes; I prefer getting "bugfixes" over "delivered with actual firmware version".
As the product is new, I would need to reflash the board anyway sometime in the future.
