cancel
Showing results for 
Search instead for 
Did you mean: 

Sensortile.box

peppea82
Associate II

I've bought a Sensortile.box and, aside from App usage with BLE, I'm having troubles in writing firmware. I have the following problems:

  • The onboard ST-LINK programmer (as stated in product brochure) is not detected, I'm correctly working with other products (Nucleo, Discovery of all kinds) and they work correctly but, aside from COM port, no programmer is detected so there is no way to upload a custom firmware;
  • Examples are bloated, where is a clean IOC (CubeMX file) ready for Sensortile.Box clean project start?

I would like to write a simple code, as usual, to access sensors and do some computations onboard before getting output through USART for a custom application, so it is vital to know where sensors are connected.

Thanks for your support.

4 REPLIES 4
Eleon BORLINI
ST Employee

Hi @peppea82​ ,

  • The onboard ST-LINK programmer (as stated in product brochure) is not detected, I'm correctly working with other products (Nucleo, Discovery of all kinds) and they work correctly but, aside from COM port, no programmer is detected so there is no way to upload a custom firmware;

--> which STLINK version are you using for the JTAG communication? ST-LINK/V2 or ST-LINK/V3?

  • Examples are bloated, where is a clean IOC (CubeMX file) ready for Sensortile.Box clean project start?

--> do you mean the FP-AI-SENSING1 FW examples? However, an IoC configurable file is intended to be ready soon.

Regards,

Eleon

Hi

@Eleon BORLINI​, i am quite on the same position as him/her

I have STLINK-V3set, and from some example i have found. I think i have managed to flash the FP-AI-SENSING1 to the SensorTile.Box, but how do i write programs for example i want to delete a certain feature in it or edit some feature in it and then upload it to the SensorTile.Box, how do i do it?

Some Documentations and/or Tutorials would be great.

Thanks and Sorry for the trouble

Hi @reokyouma​ , if you want to modify the FP-AI-SENSING1 package, you have to open it with a programming toolchain, such as STM32CubeIDE (based on Atollic) or IAR-EWARM, make your modification and then download on the SensoTile.box STM32 via STLINK-V3. However, please note that STLINK-V3set is 3.3V compatible and, as pointed out in the SensorTile.box user manual:

Note: Your ST-LINK must have the level shifter to function at 1.8 V (the SensorTile.box power supply)

This means that it is not so straightforward to debug your update FW on the SensorTile, and you could maybe generate the binary file of your app and upload it via dfu mode (boot0 button). Regards

0690X000009Z4XQQA0.png

Hi @Eleon BORLINI​ 

I thought based on the log of flashing of sensing1, that the STlink have output of 1.8V

Sorry that i forgot to say that i also have MB1440B attached in STLINK-V3SET for flashing

Thanks!