Skip to content
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

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

Open
mjs513 opened this issue Mar 31, 2025 · 2 comments
Open

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

mjs513 opened this issue Mar 31, 2025 · 2 comments

Comments

@mjs513
Copy link

mjs513 commented Mar 31, 2025

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!!
@mjs513
Copy link
Author

mjs513 commented Mar 31, 2025

Update:
Tried the GC2145 and OV7670 on the H7 and neither camera is working. Getting the same message:

Failed to set video format
Camera begin failed

tried at 12 and 10mhz. Have to investigate further.

@mjs513
Copy link
Author

mjs513 commented Mar 31, 2025

UPDATE 2:
Restested SDFAT on the giga with a different breadboard and its now working at 32 mhz

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
83.55,18138,6124,6127
83.56,19739,6124,6126

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
84.04,6094,6091,6092
84.04,6094,6091,6092

Done

At 50Mhz it looks like I am getting the same write./read speeds as at 32mhz. Its like the SPI clock is capped at 30 mhz?

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
83.54,22571,6124,6128
83.59,7139,6124,6125

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
84.03,6094,6091,6092
84.04,6094,6091,6092

Done

This signicantly slower than on the mbed verstion: https://forum.arduino.cc/t/sdfat-tests-on-giga-r1/1198629?_gl=1*14hq6nr*_up*MQ..*_ga*MTI2OTI0NTA3MS4xNzQzNDQ3ODc1*_ga_NEXN8H46L5*MTc0MzQ0Nzg3NC4xLjAuMTc0MzQ0Nzg3NC4wLjAuMjE0NTU0Mzc5OA..

Type is exFAT
Card size: 64.09 GB (GB = 1E9 bytes)

Manufacturer ID: 0X1B
OEM ID: SM
Product: EC1S5
Revision: 3.0
Serial number: 0X158D576A
Manufacturing date: 11/2020

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
387.99,16777,1310,1317
387.75,1632,1312,1318

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
392.53,1330,1289,1303
392.66,1328,1289,1302

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

No branches or pull requests

1 participant