Skip to content

0.3.0 Regression testing (GIGA and NANO 33 BLE SENSE v2) #91

@mjs513

Description

@mjs513

Not sure how you want me to document this stuff but made it an issue.

**Nano sense ble 33 rev2

=======================**
I2C:
Scanner: works
BMI270-BMM250 Dual sensor sketch:
Works again with the addition of atan2 to llext_exports.c

SPI
SDFat: 8mhz, cs pin 10

Type any character to start
Type is FAT32
Card size: 15.93 GB (GB = 1E9 bytes)

Manufacturer ID: 0X3
OEM ID: SD
Product: SL16G
Revision: 8.0
Serial number: 0XE32D48F9
Manufacturing date: 4/2017

FILE_SIZE_MB = 5
BUF_SIZE = 512 bytes
Starting write test, please wait.

write speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
109.54,15564,4638,4672
109.62,15747,4638,4669

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
112.15,4578,4547,4563
112.16,4578,4547,4563

Done

Threading:
thread_create: works
thread_define: fails

c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(USB.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(USB.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Print.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Print.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(main.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(main.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(threads.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(threads.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrCommon.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrCommon.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrSerial.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrSerial.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Common.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Common.cpp.o)
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Nano sense ble 33 rev2

I2C:
Scanner: works
BMI270-BMM250 Dual sensor sketch:
Works again with the addition of atan2 to llext_exports.c

SPI
SDFat: 8mhz, cs pin 10

Type any character to start
Type is FAT32
Card size: 15.93 GB (GB = 1E9 bytes)

Manufacturer ID: 0X3
OEM ID: SD
Product: SL16G
Revision: 8.0
Serial number: 0XE32D48F9
Manufacturing date: 4/2017

FILE_SIZE_MB = 5
BUF_SIZE = 512 bytes
Starting write test, please wait.

write speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
109.54,15564,4638,4672
109.62,15747,4638,4669

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
112.15,4578,4547,4563
112.16,4578,4547,4563

Done

Threading:
thread_create: works
thread_define: fails

c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(USB.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(USB.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Print.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Print.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(main.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(main.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(threads.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(threads.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrCommon.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrCommon.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrSerial.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(zephyrSerial.cpp.o)
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: error: C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/k_thread_define.ino_debug.elf uses VFP register arguments, C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Common.cpp.o) does not
c:/users/merli/appdata/local/arduino15/packages/zephyr/tools/arm-zephyr-eabi/0.16.8/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: failed to merge target specific data of file C:\Users\Merli\AppData\Local\arduino\sketches\EC68BAFA0BFC371C84BB1C90A7C244D1/core\core.a(Common.cpp.o)
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

==============================

GIGA R1

=================================

GC-2145
Still seeing same issue as in Issue

Threading:
Thread_create: works
thread_define: works
thread_nested_mutexes: works
thread_semaphore: works

CPP zephyr examples:
hello_cpp_world: fails

  �[1;32muart:~$ �[msketch
  [00:01:32.233,000] �[1;31m<err> llext: Undefined symbol with no entry in symbol table _ZNSt8ios_base4InitC1Ev, offset 16, link section 12�[0m
  [00:01:32.233,000] �[1;31m<err> elf: Could not find symbol _ZNSt8ios_base4InitC1Ev!�[0m
  [00:01:32.233,000] �[1;31m<err> llext: Failed to link, ret -61�[0m
  Failed to load sketch, rc -61

cpp_synchro: works

I2C:

  Scanning Wire...
  Device found at address 0x68  (ATECC608A, DS1307,DS3231,MPU6050,MPU9050,BMI270,ITG3200,ITG3701,LSM9DS0,L3G4200D)
  done

  Scanning Wire1...
  Device found at address 0x13  (VCNL4000,AK4558, BMM150)
  Device found at address 0x3C  (SSD1306,DigisparkOLED)
  Device found at address 0x60  (MPL3115,MCP4725,MCP4728,TEA5767,Si5351)
  done

BMI270 (sparkfun)/BMM150 (DFROBOT) dual sensor: looses com port just like nano:

  DEBUG MODE: 
  sketch
  [00:00:19.763,000] �[1;31m<err> llext: Undefined symbol with no entry in symbol table atan2, offset 56404, link section 13�[0m
  [00:00:19.763,000] �[1;31m<err> elf: Could not find symbol atan2!�[0m
  [00:00:19.763,000] �[1;31m<err> llext: Failed to link, ret -61�[0m

Added atan2 to llext_exports.c and BMI270 was recognized and sketch ran normally

SDRAM:
Write 8mb of SDRAM Test: passed

QSPI:
Works

qspi-nor-flash@90000000 SPI flash testing
==========================
Device Info:
Flash Size: 16777216
Expected: 16252928
Sector Test Offset: 0


Perform test on single sector
Test 1: Flash erase
Flash erase succeeded!

Test 2: Flash write
Attempting to write 4 bytes
Data read matches data written. Good!!

Perform test on multiple consecutive sectors
Test 1: Flash erase
Flash erase succeeded!

Test 2: Flash write
Attempting to write 4 bytes at offset 0x0
Data read matches data written. Good!!
Attempting to write 4 bytes at offset 0x1000
Data read matches data written. Good!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions