I would like to get an Arduino bootloader onto Application Board 3.0 to make it easier to work with. It *should* be able to run as an Arduino - there are other Arduinos based on the NRF28450. The sensors work over I2C. I have not yet been able to build a Nicla bootloader. There are not enough instructions on how to build with "task", and what environment variables need to be given. Otherwise it looks like it will work. The "task" approach with Taskfile.yml is interesting and quite advanced. This is new to me. It does a lot of things, like downloads docker containers and such. Apparently, I had all the prerequisites. (golang, Docker, etc. on Ubuntu 22.04) I just had to install task as a snap. It requires these flags: (from DistTasks.yml) # * DIST_DIR: the folder that will contain the final binaries and packages
# * PROJECT_NAME: the name of the project, used in package name
# * VERSION: the version of the project, used in package name and checksum file
# * LD_FLAGS: flags used at build time The LD_FLAGS is the one I need to clarify. Maybe the Adafruit Feather NRF28450 can give some clues. I can build Adafruit Feather NRF28450 boot loader, no problem. And once it's built, I suppose I can flash it with the programming / JTAG header using OpenOCD? (I have Olimex OpenOCD adaptor) I think I still need to remap the reset button. Has anyone tried this?
... View more
I have a Nicla Sense ME, and I found this useful software inside the Nicla firmware GitHub repository: https://github.com/arduino/nicla-sense-me-fw Under tools there is bhy tool. I am using it to run the web server on my host PC, which connects to the Nicla and plots the output. (but I had the same result with a basic Arduino sketch to give serial output) Here's the plot below which is the output shown from ./bhy webserver I tried some experiments with it: - putting myself in a small room with the door closed. (no change) - putting some acetic acid next to the Nicla board - blowing some butane at the Nicla board In each case, I could observe no change in the readings. What could be the problem?
... View more
I've been playing around with BMP581. I did manage to capture some logs using the Android app. Feedback about the Android app: - It doesn't need to ask me my name, age, gender, height, weight, location, nationality, and experience in order to create a user, also making all those fields mandatory. A user is not needed. Android devices usually have only 1 user. + It does actually connect to the Application Board via Bluetooth, and it does trigger the board to start taking logs. - I could not find where the logs were on the Android phone, or if they were even there. (I found them on the Application Board) It seemed to try to upload the logs onto the phone, but I don't know. Feedback about COINES - I found nothing for BMP581 in COINES (it's quite new) + I could find out how to flash the Application Board and get it working. + The python script in COINES at /COINES/v2.7.0/libraries/generic-logging-protocol/Decoder/GLP_Decoder did actually create me a CSV file, which was easy to read and process. Feedback about the Application Board - MTP seems kind of flaky. It sometimes connects, sometimes doesn't. Sometimes waiting for 5-10 minutes helps, or unmounting / remounting. Once it works, I see a filesystem on the device, and I can copy over the files. Feature request: I would like to have a live data feed over USB serial port or Bluetooth. In this case I am only interested in the actual data. (not timestamps or packet numbers) Attached is a graph of a log from the BMP581 sensor being raised and lowered 3 times by about 1m with my arm (air pressure in hPa). That thing is sensitive!
... View more