I have been sucessfully using logomatic boards for datalogging for over 12 years. I thought it would be a good idea to try out some of the new sparkfun datalogging boards. I decided to use the SparkFun MicroMod Data Logging Carrier Board with SparkFun MicroMod STM32 Processor. My project is to build a magnetometer board. I have sucessfully designed and built several magnetometers using the RM3100 and the STM 32L152 Nucleo-64, with Arduino IDE. My issue with going via the STM32 micromod is that I am unable to get the processor to run the basic Blink program. I can download via DFU ok but nothing happens after download. NO BLUE LED BLINK. I will post the compiler message as there is a section I want to question.
***"Sketch uses 25132 bytes (2%) of program storage space. Maximum is 1048576 bytes.
Global variables use 4996 bytes (3%) of dynamic memory, leaving 126076 bytes for local variables. Maximum is 131072 bytes.
-------------------------------------------------------------------
STM32CubeProgrammer v2.16.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 BOOTLOADER
SN : 346C32613431
DFU protocol: 1.1
Board : --
Device ID : 0x0413
Device name : STM32F405xx/F407xx/F415xx/F417xx
Flash size : 1 MBytes (default)
Device type : MCU
Revision ID : --
Device CPU : Cortex-M4
Memory Programming ...
Opening and parsing file: Blink.ino.bin
File : Blink.ino.bin
Size : 24.96 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
sector 0000 does not exist
sector 0001 does not exist
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.186
RUNNING Program ...
Address: : 0x8000000
Start operation achieved successfully "
I found from a post on another forum that the message "sector 0000 does not exist
sector 0001 does not exist" indicates a problem. But that person didn't describe the fix. So I am wondering what next - how do I progress this issue?
I would also suggest for newbies (me included) that the info on the Cube programmer is rewritten so that we have a better idea of what it is doing, and what we don't need to do. I worried about it for many hours wondering whether I had to enter information to it. More examples would be good, especially on using SPI with the logger. Some of us oldies learn best by example!!
Thanks in advance.
Lockie (11873)
***"Sketch uses 25132 bytes (2%) of program storage space. Maximum is 1048576 bytes.
Global variables use 4996 bytes (3%) of dynamic memory, leaving 126076 bytes for local variables. Maximum is 131072 bytes.
-------------------------------------------------------------------
STM32CubeProgrammer v2.16.0
-------------------------------------------------------------------
USB speed : Full Speed (12MBit/s)
Manuf. ID : STMicroelectronics
Product ID : STM32 BOOTLOADER
SN : 346C32613431
DFU protocol: 1.1
Board : --
Device ID : 0x0413
Device name : STM32F405xx/F407xx/F415xx/F417xx
Flash size : 1 MBytes (default)
Device type : MCU
Revision ID : --
Device CPU : Cortex-M4
Memory Programming ...
Opening and parsing file: Blink.ino.bin
File : Blink.ino.bin
Size : 24.96 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
sector 0000 does not exist
sector 0001 does not exist
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.186
RUNNING Program ...
Address: : 0x8000000
Start operation achieved successfully "
I found from a post on another forum that the message "sector 0000 does not exist
sector 0001 does not exist" indicates a problem. But that person didn't describe the fix. So I am wondering what next - how do I progress this issue?
I would also suggest for newbies (me included) that the info on the Cube programmer is rewritten so that we have a better idea of what it is doing, and what we don't need to do. I worried about it for many hours wondering whether I had to enter information to it. More examples would be good, especially on using SPI with the logger. Some of us oldies learn best by example!!
Thanks in advance.
Lockie (11873)
Statistics: Posted by Lockie — Sun Jun 16, 2024 5:53 am