-
Notifications
You must be signed in to change notification settings - Fork 3k
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
NUCLEO_F429ZI Issues #2956
Comments
Some news: InterruptIn failures
AnalogIn failures
|
@bcostm Thanks for looking at these issues |
For the AnalogIn, the error comes from the test itself. The previous_value is initialized to 0 and sometimes the first convertion is also equal to 0... And the test is fail due to the assert who is checking that the current_value > previous_value... I kept the initial 15 sampling time, and after correcting the test:
|
@bcostm how did you correct the test? Mind providing code or submitting a PR against the CI Test shield? I assume you just initialized |
Concerning the InterruptIn, I understood the problem but it is not solved. It is because the same interrupt vector is used for GPIO pins Px_5 to Px_9 and another one for pins Px_10 to Px_15. |
I have created a uvision project using "mbed export" to debug the InterruptIn issue on Nucleo_F429ZI. But the program is waiting for something on the serial port (continuous loop in serial_readable function) and the tests are not executed. Someone has an idea how to debug these ci tests ? Is there something to enable ? |
@bcostm are you using Uvision 4 or 5? |
I use uvision 5 and this is what I thought. So, it's very difficult to debug this test case :( FYI I tried also on the NUCLEO_F411RE. Same fail on D3 pin (=PB_3) when it follows the test of D2 pin (PA_10). But in this case they are not using the same interrupt vector as on the F429. So the idea I add previously is not the good one unfortunately, there is something else... |
Hello @BlackstoneEngineering , @0xc0170 , @screamerbg |
Hi @adustm, I have some instructions for using a debugger with greentea here: https://github.com/ARMmbed/mbed-os/blob/master/docs/testing_mbed_OS_5.md#debugging-tests Please let me know if you have any issues! |
Hi, |
Where are you setting the breakpoint? And perhaps double check the debugger settings on uVision? |
Also another thought, do you know if its possible to use the debugger while also using the serial port on STLink devices? I know there are other interface firmwares out there that don't allow this (I think CMSIS-DAP was one of them) |
Hello @bridadan |
Hi, |
… ci-test-shield tests-api-interruptin to pass
Description
Interrupt failures (InterruptIn)
InterruptIn on D2 actually works
InterruptIn on D3 throws greentea error, I suspect that the test crashes
InterruptIn on D4-9 are skipped due to the error with InterruptIn on D3
Analog In failures (AnalogIn)
Analog Input on A0 (fails with GCC, but works with ARMCC)
## I2C failures with EEPROM (I2C)I2C - EEProm Read (fails with ARMCC, GCC)I2C - TMP102 Temperature Read (fails with GCC, works with ARMCC)Target
NUCLEO_F429ZI
Toolchain:
GCC_ARM+ARM
meed-os sha:
22ec73b Merge pull request #2948 from jamike/Fixed_iarm_debug_built_failed
Steps to reproduce
Tests available here https://github.com/armmbed/ci-test-shield
Hardware components here https://github.com/ARMmbed/mbed-HDK/tree/master/Production%20Design%20Projects/CITestShield
CC @adustm @bcostm
The text was updated successfully, but these errors were encountered: