Skip to content

ADI: Fix on chip flash minimal programmable unit size #6367

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

Merged
merged 1 commit into from
Mar 19, 2018
Merged

ADI: Fix on chip flash minimal programmable unit size #6367

merged 1 commit into from
Mar 19, 2018

Conversation

li-ho
Copy link

@li-ho li-ho commented Mar 15, 2018

Description

Pull request type

  • Fix

Step to reproduce

mbed test -t gcc_arm -m EV_COG_AD3029LZ -n mbed-os-features-nvstore-tests-nvstore-functionality,mbed-os-tests-mbed_drivers-flashiap,mbed-os-tests-mbed_hal-flash

- sector size is 0x800 bytes
- writeable unit size is 0x8 bytes
- flash start address is 0x0
- total ADuCM3029 on chip flash size is 0x40000 bytes
- total ADuCM4050 on chip flash size is 0x7F000 bytes
@li-ho
Copy link
Author

li-ho commented Mar 15, 2018

mbedgt: running 3 tests for platform 'EV_COG_AD3029LZ' and toolchain 'GCC_ARM'
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 0602000041114e4500633003b60f0023a6e1000097969900
mbedgt: test suite 'mbed-os-tests-mbed_drivers-flashiap' ............................................. OK in 16.84 sec
        test case: 'FlashIAP - init' ................................................................. OK in 0.05 sec
        test case: 'FlashIAP - program' .............................................................. OK in 0.12 sec
        test case: 'FlashIAP - program across sectors' ............................................... OK in 0.13 sec
        test case: 'FlashIAP - program errors' ....................................................... OK in 0.07 sec
mbedgt: test case summary: 4 passes, 0 failures
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 0602000041114e4500633003b60f0023a6e1000097969900
mbedgt: test suite 'mbed-os-tests-mbed_hal-flash' .................................................... OK in 20.65 sec
        test case: 'Flash - buffer alignment test' ................................................... OK in 0.08 sec
        test case: 'Flash - clock and cache test' .................................................... OK in 1.60 sec
        test case: 'Flash - erase sector' ............................................................ OK in 0.08 sec
        test case: 'Flash - init' .................................................................... OK in 1.60 sec
        test case: 'Flash - mapping alignment' ....................................................... OK in 0.08 sec
        test case: 'Flash - program page' ............................................................ OK in 0.09 sec
mbedgt: test case summary: 6 passes, 0 failures
mbedgt: mbed-host-test-runner: started
mbedgt: checking for GCOV data...
mbedgt: test on hardware with target id: 0602000041114e4500633003b60f0023a6e1000097969900
mbedgt: test suite 'mbed-os-features-nvstore-tests-nvstore-functionality' ............................ OK in 26.08 sec
        test case: 'NVStore: Basic functionality' .................................................... OK in 0.38 sec
        test case: 'NVStore: Multiple thread test' ................................................... OK in 7.77 sec
        test case: 'NVStore: Race test' .............................................................. OK in 0.28 sec
mbedgt: test case summary: 3 passes, 0 failures
mbedgt: all tests finished!
mbedgt: shuffle seed: 0.2700077981
mbedgt: test suite report:
+-------------------------+-----------------+------------------------------------------------------+--------+--------------------+-------------+
| target                  | platform_name   | test suite                                           | result | elapsed_time (sec) | copy_method |
+-------------------------+-----------------+------------------------------------------------------+--------+--------------------+-------------+
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-features-nvstore-tests-nvstore-functionality | OK     | 26.08              | default     |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_drivers-flashiap                  | OK     | 16.84              | default     |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | OK     | 20.65              | default     |
+-------------------------+-----------------+------------------------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 3 OK
mbedgt: test case report:
+-------------------------+-----------------+------------------------------------------------------+-----------------------------------+--------+--------+--------+--------------------+
| target                  | platform_name   | test suite                                           | test case                         | passed | failed | result | elapsed_time (sec) |
+-------------------------+-----------------+------------------------------------------------------+-----------------------------------+--------+--------+--------+--------------------+
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-features-nvstore-tests-nvstore-functionality | NVStore: Basic functionality      | 1      | 0      | OK     | 0.38               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-features-nvstore-tests-nvstore-functionality | NVStore: Multiple thread test     | 1      | 0      | OK     | 7.77               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-features-nvstore-tests-nvstore-functionality | NVStore: Race test                | 1      | 0      | OK     | 0.28               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_drivers-flashiap                  | FlashIAP - init                   | 1      | 0      | OK     | 0.05               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_drivers-flashiap                  | FlashIAP - program                | 1      | 0      | OK     | 0.12               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_drivers-flashiap                  | FlashIAP - program across sectors | 1      | 0      | OK     | 0.13               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_drivers-flashiap                  | FlashIAP - program errors         | 1      | 0      | OK     | 0.07               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - buffer alignment test     | 1      | 0      | OK     | 0.08               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - clock and cache test      | 1      | 0      | OK     | 1.6                |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - erase sector              | 1      | 0      | OK     | 0.08               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - init                      | 1      | 0      | OK     | 1.6                |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - mapping alignment         | 1      | 0      | OK     | 0.08               |
| EV_COG_AD3029LZ-GCC_ARM | EV_COG_AD3029LZ | mbed-os-tests-mbed_hal-flash                         | Flash - program page              | 1      | 0      | OK     | 0.09               |
+-------------------------+-----------------+------------------------------------------------------+-----------------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 13 OK
mbedgt: completed in 65.88 sec

@cmonr
Copy link
Contributor

cmonr commented Mar 16, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Mar 16, 2018

Build : SUCCESS

Build number : 1467
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6367/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Mar 16, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants