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

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

Merged
merged 1 commit into from Mar 19, 2018

Conversation

Projects
None yet
4 participants
@li-ho

li-ho commented Mar 15, 2018

Description

  • 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
  • #6318

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

li-ho li-ho
Fix on chip flash minimal programmable unit size
- 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

@0xc0170 0xc0170 added the needs: CI label Mar 15, 2018

@li-ho

This comment has been minimized.

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

This comment has been minimized.

Contributor

cmonr commented Mar 16, 2018

/morph build

@mbed-ci

This comment has been minimized.

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

This comment has been minimized.

@mbed-ci

This comment has been minimized.

@0xc0170 0xc0170 added ready for merge and removed needs: CI labels Mar 19, 2018

@cmonr cmonr merged commit 6659084 into ARMmbed:master Mar 19, 2018

19 checks passed

AWS-CI uVisor Build & Test Success
Details
ci-morph-build build completed
Details
ci-morph-exporter build completed
Details
ci-morph-mbed2-build build completed
Details
ci-morph-test test completed
Details
continuous-integration/jenkins/pr-head This commit looks good
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
travis-ci/docs Local docs testing has passed
Details
travis-ci/events Local events testing has passed
Details
travis-ci/littlefs Passed, code size is 10060B (+0.00%)
Details
travis-ci/mbed2-ATMEL Local mbed2-ATMEL testing has passed
Details
travis-ci/mbed2-MAXIM Local mbed2-MAXIM testing has passed
Details
travis-ci/mbed2-NORDIC Local mbed2-NORDIC testing has passed
Details
travis-ci/mbed2-NUVOTON Local mbed2-NUVOTON testing has passed
Details
travis-ci/mbed2-NXP Local mbed2-NXP testing has passed
Details
travis-ci/mbed2-RENESAS Local mbed2-RENESAS testing has passed
Details
travis-ci/mbed2-SILICON_LABS Local mbed2-SILICON_LABS testing has passed
Details
travis-ci/mbed2-STM Local mbed2-STM testing has passed
Details
travis-ci/tools Local tools testing has passed
Details

@cmonr cmonr removed the ready for merge label Mar 19, 2018

@li-ho li-ho deleted the li-ho:ev-cog-flash-api-fix branch Mar 25, 2018

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