-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PwmOut on K64F does not work #158
Comments
Cc @0xc0170. Any idea why this would happen? |
ARM Internal Ref: IOTSFW-2112 |
Quick update, that we are investigating this failure. The online compiler is using armcc, thus I started with armcc. It works (debug, release), using application shield, d5 pwm channel and some others (d8, d9). gcc target however works only with a debug build, the release goes to hardfault. Here's a snippet from gdb bt:
I'll continue investigating tomorrow. |
Is uVisor active? If so, does that mean you haven't declared the PWM peripheral in your ACLs? cc @AlessandroA |
@hugovincent uVisor is disabled by default, and I don't think it has been enabled in this case. When uVisor is disabled the I've received the binaries from @0xc0170 and will be debugging them tomorrow. |
An update, we pinpointed that this is related to macros (from the stack trace above, this line @AlessandroA provided a local fix which solved this problem for the code snippet above. It should be fixed soon. |
Fixed in ARMmbed/uvisor-lib@9d0de31 A new version of uvisor-lib has been released (v1.0.13), containing the bug fix. Please update your dependencies with |
@janjongboom Please test, and report back . Plus close this issue if it's fixed. |
mbed Classic (works):
mbed OS, doesnt work:
This is kind of a real problem for me, as a bunch of things I need to demo on Monday require PWM...
The text was updated successfully, but these errors were encountered: